Infusion rituals
This commit is contained in:
parent
1e4b7377f2
commit
bdf3d0afb1
9 changed files with 68 additions and 4 deletions
|
@ -29,6 +29,7 @@ public class InfusionPedestal extends BlockPedestal {
|
|||
|
||||
@Override
|
||||
public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) {
|
||||
if (world.isClient || !state.isOf(this)) return ActionResult.CONSUME;
|
||||
BlockEntity blockEntity = world.getBlockEntity(pos);
|
||||
InfusionPedestalEntity pedestal = null;
|
||||
if (blockEntity instanceof InfusionPedestalEntity) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue