-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By Yekaterinna · Posted
I can now!!!! Thank you so much! I did what you say of putting more time to join and i delete cache (just in case) and i can now, thank you so much 😭 -
Here's my solution, based on entity.isColliding(). You can just pass your block's VoxelShape in as shape; this block is directional so it needs a reference to the map. This method returns 'true' if the hitbox of the entity in question intersects the provided shape, in this case the shape of a non-colliding block. private boolean isColliding(BlockPos pos, BlockState state, Entity entity) { VoxelShape shape = SHAPE_MAP.get(state.getValue(FACING)); VoxelShape positionedShape = shape.move((double)pos.getX(), (double)pos.getY(), (double)pos.getZ()); return Shapes.joinIsNotEmpty(positionedShape, Shapes.create(entity.getBoundingBox()), BooleanOp.AND); }
-
See: https://forums.minecraftforge.net/topic/113178-better-minecraft-forge-125-exit-code-1/
-
By Yekaterinna · Posted
And yeah, about the 1 minute, I thought that too but I tell to my friend who can join, to take a cronometer and see how much it takes for him to join to the server and he said me that the time was exactly 1 minute, but for me is exactly 1 minute to get the error.
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
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.