Package net.minecraft.entity
Class Dismounting
java.lang.Object
net.minecraft.entity.Dismounting
- Mappings:
Namespace Name official cai
intermediary net/minecraft/class_5275
named net/minecraft/entity/Dismounting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canDismountInBlock
(double height) static boolean
canPlaceEntityAt
(CollisionView world, LivingEntity entity, Box targetBox) static boolean
canPlaceEntityAt
(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose) findRespawnPos
(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static double
getCeilingHeight
(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) static VoxelShape
getCollisionShape
(BlockView world, BlockPos pos) static int[][]
getDismountOffsets
(Direction movementDirection)
-
Constructor Details
-
Dismounting
public Dismounting()
-
-
Method Details
-
getDismountOffsets
- Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lha;)[[I
intermediary method_27934
Lnet/minecraft/class_5275;method_27934(Lnet/minecraft/class_2350;)[[I
named getDismountOffsets
Lnet/minecraft/entity/Dismounting;getDismountOffsets(Lnet/minecraft/util/math/Direction;)[[I
-
canDismountInBlock
public static boolean canDismountInBlock(double height) - Mappings:
Namespace Name Mixin selector official a
Lcai;a(D)Z
intermediary method_27932
Lnet/minecraft/class_5275;method_27932(D)Z
named canDismountInBlock
Lnet/minecraft/entity/Dismounting;canDismountInBlock(D)Z
-
canPlaceEntityAt
- Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lclu;Lbfx;Ledv;)Z
intermediary method_27933
Lnet/minecraft/class_5275;method_27933(Lnet/minecraft/class_1941;Lnet/minecraft/class_1309;Lnet/minecraft/class_238;)Z
named canPlaceEntityAt
Lnet/minecraft/entity/Dismounting;canPlaceEntityAt(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Box;)Z
-
canPlaceEntityAt
public static boolean canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose) - Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lclu;Leea;Lbfx;Lbgj;)Z
intermediary method_33353
Lnet/minecraft/class_5275;method_33353(Lnet/minecraft/class_1941;Lnet/minecraft/class_243;Lnet/minecraft/class_1309;Lnet/minecraft/class_4050;)Z
named canPlaceEntityAt
Lnet/minecraft/entity/Dismounting;canPlaceEntityAt(Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EntityPose;)Z
-
getCollisionShape
- Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lclq;Lgu;)Leet;
intermediary method_30341
Lnet/minecraft/class_5275;method_30341(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
named getCollisionShape
Lnet/minecraft/entity/Dismounting;getCollisionShape(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getCeilingHeight
public static double getCeilingHeight(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) - Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lgu;ILjava/util/function/Function;)D
intermediary method_30343
Lnet/minecraft/class_5275;method_30343(Lnet/minecraft/class_2338;ILjava/util/function/Function;)D
named getCeilingHeight
Lnet/minecraft/entity/Dismounting;getCeilingHeight(Lnet/minecraft/util/math/BlockPos;ILjava/util/function/Function;)D
-
findRespawnPos
@Nullable public static @Nullable Vec3d findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) - Mappings:
Namespace Name Mixin selector official a
Lcai;a(Lbfl;Lclu;Lgu;Z)Leea;
intermediary method_30769
Lnet/minecraft/class_5275;method_30769(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_243;
named findRespawnPos
Lnet/minecraft/entity/Dismounting;findRespawnPos(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/util/math/Vec3d;
-