Class Dismounting

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

public class Dismounting extends Object
Mappings:
Namespace Name
official cai
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 Lcai;a(Lgz;)[[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

      public static boolean canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox)
      Mappings:
      Namespace Name Mixin selector
      official a Lcai;a(Lcls;Lbfx;Lecz;)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(Lcls;Lede;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

      public static VoxelShape getCollisionShape(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcai;a(Lclo;Lgt;)Ledx;
      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(Lgt;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;Lcls;Lgt;Z)Lede;
      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;