Class ExperimentalMinecartShapeContext

java.lang.Object
net.minecraft.block.EntityShapeContext
net.minecraft.block.ExperimentalMinecartShapeContext
All Implemented Interfaces:
ShapeContext

public class ExperimentalMinecartShapeContext extends EntityShapeContext
Mappings:
Namespace Name
named net/minecraft/block/ExperimentalMinecartShapeContext
intermediary net/minecraft/class_10140
official fcl
  • Field Details

    • belowPos

      @Nullable private @Nullable BlockPos belowPos
      Mappings:
      Namespace Name Mixin selector
      named belowPos Lnet/minecraft/block/ExperimentalMinecartShapeContext;belowPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_53824 Lnet/minecraft/class_10140;field_53824:Lnet/minecraft/class_2338;
      official b Lfcl;b:Ljh;
    • ascendingPos

      @Nullable private @Nullable BlockPos ascendingPos
      Mappings:
      Namespace Name Mixin selector
      named ascendingPos Lnet/minecraft/block/ExperimentalMinecartShapeContext;ascendingPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_53825 Lnet/minecraft/class_10140;field_53825:Lnet/minecraft/class_2338;
      official c Lfcl;c:Ljh;
  • Constructor Details

    • ExperimentalMinecartShapeContext

      protected ExperimentalMinecartShapeContext(AbstractMinecartEntity minecart, boolean collidesWithFluid)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/ExperimentalMinecartShapeContext;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;Z)V
      intermediary <init> Lnet/minecraft/class_10140;<init>(Lnet/minecraft/class_1688;Z)V
      official <init> Lfcl;<init>(Lcrv;Z)V
  • Method Details

    • setIgnoredPositions

      private void setIgnoredPositions(AbstractMinecartEntity minecart)
      Mappings:
      Namespace Name Mixin selector
      named setIgnoredPositions Lnet/minecraft/block/ExperimentalMinecartShapeContext;setIgnoredPositions(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)V
      intermediary method_62879 Lnet/minecraft/class_10140;method_62879(Lnet/minecraft/class_1688;)V
      official a Lfcl;a(Lcrv;)V
    • getCollisionShape

      public VoxelShape getCollisionShape(BlockState state, CollisionView world, BlockPos pos)
      Specified by:
      getCollisionShape in interface ShapeContext
      Overrides:
      getCollisionShape in class EntityShapeContext
      Mappings:
      Namespace Name Mixin selector
      named getCollisionShape Lnet/minecraft/block/ShapeContext;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_62878 Lnet/minecraft/class_3726;method_62878(Lnet/minecraft/class_2680;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      official a Lfcc;a(Ldxu;Ldgq;Ljh;)Lfcr;