Jump to content

MarioErmando

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

MarioErmando's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello, I've been trying to put bones to a vanilla mob. I did some research, and tried this: @ForgeSubscribe public void playerKilledSheep(LivingDropsEvent event) { System.out.println("Killed something"); if(event.entityLiving instanceof EntitySheep) { System.out.println("Killed a Sheep"); event.entityLiving.dropItem(Item.bone.shiftedIndex, 1); } } I have an error on the "shiftedIndex" part, but it doesn't even post something in the console, means it doesn't even detect if I killed something or not. Please help. Best regards, MarioErmando
×
×
  • Create New...

Important Information

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