Class TagCache
java.lang.Object
org.geysermc.geyser.session.cache.TagCache
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanis(ItemTag tag, GeyserItemStack itemStack) booleanvoidloadPacket(GeyserSession session, org.geysermc.mcprotocollib.protocol.packet.common.clientbound.ClientboundUpdateTagsPacket packet)
-
Field Details
-
ALL_BLOCK_TAGS
-
ALL_ITEM_TAGS
-
-
Constructor Details
-
TagCache
public TagCache()
-
-
Method Details
-
loadPacket
public void loadPacket(GeyserSession session, org.geysermc.mcprotocollib.protocol.packet.common.clientbound.ClientboundUpdateTagsPacket packet) -
is
- Returns:
- true if the block tag is present and contains this block mapping's Java ID.
-
is
- Returns:
- true if the item tag is present and contains this item stack's Java ID.
-
is
- Returns:
- true if the item tag is present and contains this item's Java ID.
-