-
Bug
-
Resolution: Unresolved
-
None
-
1.19.4, 1.20 Pre-release 1, 1.20.6, 1.21 Pre-Release 1
-
None
-
Confirmed
-
Textures and models
The bug
The models for tripwire contains planes which coincide. If a custom texture is applied to tripwire using a resource pack, this can result in z-fighting, which is undesirable.
How to reproduce
A debug texture pack is attached to this ticket which changes tripwire's texture to a debug texture.
- Create a plus shape by placing five tripwire
- Look closely at the very center of this cross
Expected results
There would not be any z-fighting visible.
Actual results
There is.
How to fix
There are two fixes attached to this resource pack - a "discreet fix" and a "pixel consistent fix". See MC-262600 for a description of each fix.
To fix this issue, the following model files will need to be deleted from the vanilla assets/minecraft/models/block directory:
- tripwire_n.json
- tripwire_ne.json
- tripwire_ns.json
- tripwire_nse.json
- tripwire_nsew.json
- tripwire_attached_n.json
- tripwire_attached_ne.json
- tripwire_attached_ns.json
- tripwire_attached_nse.json
- tripwire_attached_nsew.json
The model files included in one of the two resource packs should then be placed into the assets/minecraft/models/block directory, and the tripwire.json in the resource pack's assets/minecraft/blockstates directory should replace Minecraft's current tripwire.json in its assets/minecraft/blockstates directory.
I give Mojang my full permission, and strong encouragement, to use the assets of whichever of the two fixes it desires in vanilla Minecraft.
- relates to
-
MC-262600 Tripwire texture can rotate unexpectedly when neighbouring connections change / is mapped inconsistently
- Open