This commit is contained in:
Camotoy 2024-05-25 20:55:05 -04:00
parent d5fdbeb49c
commit 5f7a31a1d8
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ public class InteractionEntity extends Entity {
} }
public void setHeight(FloatEntityMetadata height) { public void setHeight(FloatEntityMetadata height) {
setBoundingBoxHeight(height.getPrimitiveValue()); // Bedrock does *not* like high values being placed here
// https://gist.github.com/Owen1212055/f5d59169d3a6a5c32f0c173d57eb199d recommend(s/ed) using the tactic
// https://github.com/GeyserMC/Geyser/issues/4688
setBoundingBoxHeight(Math.min(height.getPrimitiveValue(), 64f));
} }
public void setResponse(BooleanEntityMetadata response) { public void setResponse(BooleanEntityMetadata response) {