Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

Community Reputation

0 Neutral

About SettingDust

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. But when I want to modify the hotbar size, It seems I have to override it? I try to extend. But the slot I add that id bigger than 45(The offhand) cant put item. I cant search anything about 45 in IDEA. The container & inventory are my class alright
  2. But the joinWorld never called by server, just once.
  3. @Mod.EventBusSubscriber(modid = CustomInGameGui.MOD_ID) public class InventoryHandler { @SubscribeEvent public static void onJoin(EntityJoinWorldEvent event) throws IllegalAccessException { if (!(event.getEntity() instanceof EntityPlayer)) return; EntityPlayerSP player = Minecraft.getMinecraft().player; if (!event.getEntity().equals(player)) return; player.inventory = new CustomInventoryPlayer(player); player.inventoryContainer = new CustomContainerPlayer(player.inventory, player); } } It's cannot modify the server(or logical server?).
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.