Custom EntityPlayer

Discussion in 'Plugin Development' started by darkmage0252, Nov 9, 2012.

Thread Status:
Not open for further replies.
  1. Offline


    Hello i have never created a custom entity but im trying to create a custom EntityPlayer.

    I have a class called CustomPlayer that extends net.minecraft.server.EntityPlayer

    I can spawn it fine. But when i try to make it hold an item it just throws an error about being null.

    The way im trying to set its current held item is by Overriding the broadCastCarriedItem();

    I have it set to send the packet as always an apple.

    Am i missing something here? Do i need to add this Custom Player to some kind of array/list?
Thread Status:
Not open for further replies.

Share This Page