Package net.minecraft.entity
Class Dismounting
java.lang.Object
net.minecraft.entity.Dismounting
public class Dismounting extends Object
- Mappings:
Namespace Name official bjx
intermediary net/minecraft/class_5275
named net/minecraft/entity/Dismounting
-
Constructor Summary
Constructors Constructor Description Dismounting()
-
Method Summary
Modifier and Type Method Description static boolean
canDismountInBlock(double height)
static boolean
canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox)
static boolean
canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose)
static @Nullable Vec3d
findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean bool)
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
Lbjx;a(Lgc;)[[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
Lbjx;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
Lbjx;a(Lbtz;Lasb;Ldki;)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
Lbjx;a(Lbtz;Ldkn;Lasb;Lasm;)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
Lbjx;a(Lbtu;Lfx;)Ldlg;
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
Lbjx;a(Lfx;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 bool)- Mappings:
Namespace Name Mixin selector official a
Lbjx;a(Lars;Lbtz;Lfx;Z)Ldkn;
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;
-