public class TagCache extends Object
ServerDeclareTagsPacket. If that packet is not sent, all lists here
will remain empty, matching Java Edition behavior.| Constructor and Description |
|---|
TagCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
isFlower(ItemEntry itemEntry) |
boolean |
isWool(BlockMapping blockMapping) |
void |
loadPacket(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDeclareTagsPacket packet) |
boolean |
shouldPiglinAdmire(ItemEntry itemEntry) |
public void loadPacket(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDeclareTagsPacket packet)
public void clear()
public boolean isFlower(ItemEntry itemEntry)
public boolean shouldPiglinAdmire(ItemEntry itemEntry)
public boolean isWool(BlockMapping blockMapping)
Copyright © 2021 GeyserMC. All rights reserved.