-
-
Notifications
You must be signed in to change notification settings - Fork 205
copper statues are solid #1376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.0
Are you sure you want to change the base?
copper statues are solid #1376
Conversation
|
Minecraft itself doesn't see them as solid, is there are any reason for marking them as solid? |
Solid because that's what makes sense, it has almost the same collision box as happy ghast, which is marked solid, not to mention solid=true is what works with grim |
|
No, it doesn't make sense, these flags are copied from vanilla Why is this required for grim? The solid state isn't really used client-side as far as I know |
https://github.com/GrimAnticheat/Grim/blob/1b47e31776cd4c4386fd7667f72701d00f4a1156/common/src/main/java/ac/grim/grimac/utils/collisions/CollisionData.java#L1149 seems like issolid is what grim uses to determine whether a given material has collision |
|
@ManInMyVan thoughts? |
add an override |
maybe not better to use isBlocking() or something instead of another if statement? IsSolid iirc is used by minecraft to determine whether a given block can be built on, not if it has collisions |
|
@booky10 how are these block thingies generated? because for hanging signs in NMS they have .noCollision(), but no flag seems in packet events: public static final Block BAMBOO_WALL_HANGING_SIGN = register(
"bamboo_wall_hanging_sign",
properties -> new WallHangingSignBlock(WoodType.BAMBOO, properties),
wallVariant(BAMBOO_HANGING_SIGN, true)
.mapColor(MapColor.COLOR_YELLOW)
.forceSolidOn()
.instrument(NoteBlockInstrument.BASS)
.noCollision()
.strength(1.0F)
.ignitedByLava()
);if this flag were exposed in packetevents it'd make things easier |
No description provided.