Package alexiil.mc.lib.net.impl
Class McNetworkStack
java.lang.Object
alexiil.mc.lib.net.impl.McNetworkStack
Holder for everything related to a normal minecraft connection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParentNetIdSingle<net.minecraft.block.entity.BlockEntity>static final NetObjectCache<net.minecraft.item.ItemStack>static final ParentNetIdSingle<net.minecraft.screen.ScreenHandler>Deprecated.static final ParentNetIdSingle<net.minecraft.entity.Entity>static final ParentNetIdThe root parent - everything must use as it's parent (somewhere up the chain) or it can never be written out to a minecraft connection.static final ParentNetIdSingle<net.minecraft.screen.ScreenHandler> -
Method Summary
-
Field Details
-
ROOT
The root parent - everything must use as it's parent (somewhere up the chain) or it can never be written out to a minecraft connection. -
BLOCK_ENTITY
-
ENTITY
-
SCREEN_HANDLER
-
CONTAINER
Deprecated.UseSCREEN_HANDLERinstead, due to the yarn name change. -
CACHE_ITEMS_WITHOUT_AMOUNT
-
SCREEN_HANDLERinstead, due to the yarn name change.