Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ItemStack getStack() {
- return stack;
- }
- public void setStack(ItemStack stack) {
- this.stack = stack;
- markDirty();
- if (worldObj != null) {
- IBlockState state = worldObj.getBlockState(getPos());
- worldObj.notifyBlockUpdate(getPos(), state, state, 3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment