Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void onFoodEaten(ItemStack item, World world, EntityPlayer player){
- {
- super.onFoodEaten(item, world, player);
- if(!world.isRemote){
- player.dropItem(Items.emerald, 1);
- MinecraftServer.getServer().getConfigurationManager().sendChatMsg(new ChatComponentText(player.getDisplayName() + " successfully completed the 'Poop Eating Challenge' and was rewarded an emerald!!"));
Advertisement
Add Comment
Please, Sign In to add comment