Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-24 23:30:22 +01:00
Remove unnecessary version check for minecart furnace icon information
All supported protocols are now 1.17.30 or later.
Dieser Commit ist enthalten in:
Ursprung
9ba1efaa30
Commit
af8c26a4a5
@ -465,9 +465,7 @@ public class ItemRegistryPopulator {
|
||||
|
||||
NbtMapBuilder componentBuilder = NbtMap.builder();
|
||||
// Conveniently, as of 1.16.200, the furnace minecart has a texture AND translation string already.
|
||||
// 1.17.30 moves the icon to the item properties section
|
||||
(palette.getValue().protocolVersion() >= Bedrock_v465.V465_CODEC.getProtocolVersion() ?
|
||||
itemProperties : componentBuilder).putCompound("minecraft:icon", NbtMap.builder()
|
||||
itemProperties.putCompound("minecraft:icon", NbtMap.builder()
|
||||
.putString("texture", "minecart_furnace")
|
||||
.putString("frame", "0.000000")
|
||||
.putInt("frame_version", 1)
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren