mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
46 files changed
+149
-141
No files matched your search
@@ -193,7 +193,7 @@ public class ItemHandlerHelper
|
||||
{
|
||||
ItemEntity entityitem = new ItemEntity(world, player.posX, player.posY + 0.5, player.posZ, remainder);
|
||||
entityitem.setPickupDelay(40);
|
||||
entityitem.func_213317_d(entityitem.func_213322_ci().func_216372_d(0, 1, 0));
|
||||
entityitem.setMotion(entityitem.getMotion().mul(0, 1, 0));
|
||||
|
||||
world.func_217376_c(entityitem);
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ public class ItemStackHandler implements IItemHandler, IItemHandlerModifiable, I
|
||||
}
|
||||
}
|
||||
CompoundNBT nbt = new CompoundNBT();
|
||||
nbt.func_218657_a("Items", nbtTagList);
|
||||
nbt.put("Items", nbtTagList);
|
||||
nbt.putInt("Size", stacks.size());
|
||||
return nbt;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user