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