Package net.minecraft.entity
Class Dismounting
java.lang.Object
net.minecraft.entity.Dismounting
- Mappings:
Namespace Name official caiintermediary net/minecraft/class_5275named net/minecraft/entity/Dismounting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanDismountInBlock(double height) static booleancanPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox) static booleancanPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose) findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static doublegetCeilingHeight(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) static VoxelShapegetCollisionShape(BlockView world, BlockPos pos) static int[][]getDismountOffsets(Direction movementDirection)
-
Constructor Details
-
Dismounting
public Dismounting()
-
-
Method Details
-
getDismountOffsets
- Mappings:
Namespace Name Mixin selector official aLcai;a(Lha;)[[Iintermediary method_27934Lnet/minecraft/class_5275;method_27934(Lnet/minecraft/class_2350;)[[Inamed getDismountOffsetsLnet/minecraft/entity/Dismounting;getDismountOffsets(Lnet/minecraft/util/math/Direction;)[[I
-
canDismountInBlock
public static boolean canDismountInBlock(double height) - Mappings:
Namespace Name Mixin selector official aLcai;a(D)Zintermediary method_27932Lnet/minecraft/class_5275;method_27932(D)Znamed canDismountInBlockLnet/minecraft/entity/Dismounting;canDismountInBlock(D)Z
-
canPlaceEntityAt
- Mappings:
Namespace Name Mixin selector official aLcai;a(Lclu;Lbfx;Ledv;)Zintermediary method_27933Lnet/minecraft/class_5275;method_27933(Lnet/minecraft/class_1941;Lnet/minecraft/class_1309;Lnet/minecraft/class_238;)Znamed canPlaceEntityAtLnet/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 aLcai;a(Lclu;Leea;Lbfx;Lbgj;)Zintermediary method_33353Lnet/minecraft/class_5275;method_33353(Lnet/minecraft/class_1941;Lnet/minecraft/class_243;Lnet/minecraft/class_1309;Lnet/minecraft/class_4050;)Znamed canPlaceEntityAtLnet/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 aLcai;a(Lclq;Lgu;)Leet;intermediary method_30341Lnet/minecraft/class_5275;method_30341(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCollisionShapeLnet/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 aLcai;a(Lgu;ILjava/util/function/Function;)Dintermediary method_30343Lnet/minecraft/class_5275;method_30343(Lnet/minecraft/class_2338;ILjava/util/function/Function;)Dnamed getCeilingHeightLnet/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 aLcai;a(Lbfl;Lclu;Lgu;Z)Leea;intermediary method_30769Lnet/minecraft/class_5275;method_30769(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_243;named findRespawnPosLnet/minecraft/entity/Dismounting;findRespawnPos(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/util/math/Vec3d;
-