Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void read(
- BlockState state,
- CompoundNBT nbt) {
- super.read(state,nbt);
- capability.readNBT(inv, Direction.NORTH, nbt);
- }
- @Nonnull
- @Override
- public CompoundNBT write(
- CompoundNBT compound) {
- super.write(compound);
- capability.writeNBT(inv, Direction.NORTH);
- return compound;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement