Package net.minecraft.tag
Interface TagManager
public interface TagManager
-
Field Summary
Fields Modifier and Type Field Description static TagManagerEMPTY -
Method Summary
Modifier and Type Method Description default voidapply()static TagManagercreate(TagGroup<Block> blocks, TagGroup<Item> items, TagGroup<Fluid> fluids, TagGroup<EntityType<?>> entityTypes)static TagManagerfromPacket(PacketByteBuf buf)TagGroup<Block>getBlocks()TagGroup<EntityType<?>>getEntityTypes()TagGroup<Fluid>getFluids()TagGroup<Item>getItems()default voidtoPacket(PacketByteBuf buf)
-
Field Details
-
EMPTY
-
-
Method Details
-
getBlocks
-
getItems
-
getFluids
-
getEntityTypes
TagGroup<EntityType<?>> getEntityTypes() -
apply
default void apply() -
toPacket
-
fromPacket
-
create
static TagManager create(TagGroup<Block> blocks, TagGroup<Item> items, TagGroup<Fluid> fluids, TagGroup<EntityType<?>> entityTypes)
-