Class McNetworkStack

java.lang.Object
alexiil.mc.lib.net.impl.McNetworkStack

public final class McNetworkStack extends Object
Holder for everything related to a normal minecraft connection.
  • Field Details

    • ROOT

      public static final ParentNetId 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

      public static final ParentNetIdSingle<net.minecraft.block.entity.BlockEntity> BLOCK_ENTITY
    • ENTITY

      public static final ParentNetIdSingle<net.minecraft.entity.Entity> ENTITY
    • SCREEN_HANDLER

      public static final ParentNetIdSingle<net.minecraft.screen.ScreenHandler> SCREEN_HANDLER
    • CONTAINER

      @Deprecated public static final ParentNetIdSingle<net.minecraft.screen.ScreenHandler> CONTAINER
      Deprecated.
      Use SCREEN_HANDLER instead, due to the yarn name change.
    • CACHE_ITEMS_WITHOUT_AMOUNT

      public static final NetObjectCache<net.minecraft.item.ItemStack> CACHE_ITEMS_WITHOUT_AMOUNT