Timeline for How do i make all torches have fire aspect?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8 at 11:09 | history | edited | CommunityBot |
replaced http://minecraft.gamepedia.com/ with https://minecraft.wiki/w/
|
|
Nov 17, 2015 at 23:31 | comment | added | Skylinerw | @MBraedley Unfortunately any invalid Damage values will be given the "not found" texture (black & purple boxes), which is the case with torches. I'm not sure if that can be remedied with resource packs; at the time the invalid textures were implemented for invalid Damage values, it wasn't possible to use resource packs to fix that. I haven't kept up with resource packs, though. | |
Nov 17, 2015 at 22:11 | comment | added | MBraedley |
"unless you also set another tag to a non-default value for the custom torches" Change the damage value and then check for the default (0). I don't know for sure if that'll work, and currently have no way to test it, but I have a feeling it'll do exactly what's desired. Stick a stats command on it to say how many torches were cleared. Then it's just a matter of giving that many torches back, which admittedly isn't easy, but is certainly doable.
|
|
Nov 17, 2015 at 2:43 | comment | added | Skylinerw |
@MBraedley /clear takes dataTags, but you cannot cause it to remove non-custom items because they don't have any extra NBT data to detect. You'd just as well be clearing the custom items provided since you cannot use a NOT operator within dataTags. Counting custom and default items is easy, the replacement part (as OP requested) is just not feasible due to that limitation, which is why I stated /clear is not helpful for the end result.
|
|
Nov 17, 2015 at 1:42 | comment | added | MBraedley | You are aware that clear takes a data tag, right? You can easily count the total as well as the custom torches, and the difference gives you the default number of torches. Mind you, this doesn't do you much good since you can't clear just the default ones, unless you also set another tag to a non-default value for the custom torches. | |
Nov 16, 2015 at 18:59 | history | answered | Skylinerw | CC BY-SA 3.0 |