Posted April 20, 20223 yr I want to add my custom portal block, and when I look into NetherPortalBlock and EndPortalBlock, I mentioned the line in EnderPortalBlock: Shapes.joinIsNotEmpty(Shapes.create(paramEntity.getBoundingBox().move(-paramBlockPos.getX(), -paramBlockPos.getY(), -paramBlockPos.getZ())), paramBlockState.getShape((BlockGetter)paramLevel, paramBlockPos), BooleanOp.AND) which does not exist in NetherPortalBlock.entityInside method. What does the code do? And do I need to add this line to my custom portal block?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.