From 12c58a41f2518526e2b53a6bf9383262a601c9ab Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Tue, 18 Jan 2022 06:24:09 +0900 Subject: [PATCH] Rename Entity#inanimate (#2922) * Rename Entity#inanimate * Fix javadoc * Rename to intersectionChecked --- mappings/net/minecraft/entity/Entity.mapping | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mappings/net/minecraft/entity/Entity.mapping b/mappings/net/minecraft/entity/Entity.mapping index 05fdf06143..cc0591c647 100644 --- a/mappings/net/minecraft/entity/Entity.mapping +++ b/mappings/net/minecraft/entity/Entity.mapping @@ -6,7 +6,19 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity FIELD field_18276 velocity Lnet/minecraft/class_243; FIELD field_22467 pos Lnet/minecraft/class_243; FIELD field_22468 blockPos Lnet/minecraft/class_2338; - FIELD field_23807 inanimate Z + FIELD field_23807 intersectionChecked Z + COMMENT Whether the entity should be included in intersection checks. + COMMENT + COMMENT

An intersection check is used to prevent block placement or + COMMENT mob spawning within the bounding box. + COMMENT + COMMENT @implNote Intersection is always checked for + COMMENT {@link net.minecraft.entity.vehicle.BoatEntity}, + COMMENT {@link net.minecraft.entity.vehicle.AbstractMinecartEntity}, {@link TntEntity}, + COMMENT {@link net.minecraft.entity.decoration.EndCrystalEntity}, + COMMENT {@link FallingBlockEntity}, and {@link LivingEntity}. + COMMENT Intersection with {@link net.minecraft.entity.decoration.ArmorStandEntity} is checked if + COMMENT it is not a {@link net.minecraft.entity.decoration.ArmorStandEntity#isMarker marker}. FIELD field_25599 submergedFluidTag Lnet/minecraft/class_3494; FIELD field_25750 trackedPosition Lnet/minecraft/class_243; FIELD field_26994 lastChimeAge I