Jump to content

duke_Frans

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

duke_Frans's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I am changing to the chest to a custom 2D sprite for a client mod I am making for a server
  2. Hey I am trying to change the chest block to render as a 2D item sprite. I have my tick handler all setup, I am just stuck with doing the above Either code or a general direction would be helpful! Thanks!
  3. Thanks! I implemented the Connections handler and it worked!
  4. This is my code @Override public void onPlayerLogin(EntityPlayer player) { EntityPlayer player1 = ((EntityPlayer)MinecraftServer.getServer().getConfigurationManager().playerEntityList.get(0)); player1.inventory.addItemStackToInventory(new ItemStack(Item.arrow,1)); }
  5. Well creating a new world, I will look in the PlayerTracker, thanks!
  6. Hey there I am trying to give the player an item when he logs in/creates a new world. I have posted my code below @Override public void onPlayerLogin(EntityPlayer player) { EntityPlayer player1 = ((EntityPlayer)MinecraftServer.getServer().getConfigurationManager().playerEntityList.get(0)); player1.inventory.addItemStackToInventory(new ItemStack(Item.arrow,1)); } This is not working, I have put it in my Savehandler, tickhandler and my main mod file with no sucsess Anyway I could do that? IF you can reply with the answer, thanks in advance!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.