-
Notifications
You must be signed in to change notification settings - Fork 0
Blocks
cakoyo edited this page May 15, 2019
·
3 revisions
This class contains some useful for Blocks
getSecondHalfChest can get another side of a DoubleChest, if it not a chest or not a DoubleChest, will return null;
Block anotherOneChest = Blocks.getSecondHalfChest(aChestBlock);getAttached can get a block attached block.(e.g Sign attached Block, Hopper attached Chest)
If no attached block founded, it will return null.
Block attachedBlock = Blocks.getAttached(wantCheckBlock);