Class Dismounting

java.lang.Object
net.minecraft.entity.Dismounting

public class Dismounting extends Object
Mappings:
Namespace Name
official bpc
intermediary net/minecraft/class_5275
named net/minecraft/entity/Dismounting
  • Constructor Details

    • Dismounting

      public Dismounting()
  • Method Details

    • getDismountOffsets

      public static int[][] getDismountOffsets(Direction movementDirection)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpc;a(Lgm;)[[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 Lbpc;a(D)Z
      intermediary method_27932 Lnet/minecraft/class_5275;method_27932(D)Z
      named canDismountInBlock Lnet/minecraft/entity/Dismounting;canDismountInBlock(D)Z
    • canPlaceEntityAt

      public static boolean canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpc;a(Lbzg;Laxa;Ldnu;)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 Lbpc;a(Lbzg;Ldnz;Laxa;Laxm;)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

      public static VoxelShape getCollisionShape(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpc;a(Lbzc;Lgh;)Ldos;
      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 Lbpc;a(Lgh;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 Lbpc;a(Lawq;Lbzg;Lgh;Z)Ldnz;
      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;