Package net.minecraft.world
Class RayTraceResult
java.lang.Object
net.minecraft.world.RayTraceResult
public class RayTraceResult extends Object
- Mappings:
Namespace Name official amcintermediary net/minecraft/class_380named net/minecraft/world/RayTraceResult
-
Field Summary
Fields Modifier and Type Field Description private BlockEntityblockEntityprivate booleangotBlockEntityprivate BlockPosposprivate BlockStatestateprivate booleanstateRequiredprivate Worldworld -
Constructor Summary
Constructors Constructor Description RayTraceResult(World world, BlockPos pos, boolean stateRequired) -
Method Summary
Modifier and Type Method Description static Predicate<RayTraceResult>filterByState(Predicate<BlockState> stateFilter)BlockEntitygetBlockEntity()BlockStategetBlockState()BlockPosgetPos()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official aLamc;a:Ladm;intermediary field_1510Lnet/minecraft/class_380;field_1510:Lnet/minecraft/class_99;named worldLnet/minecraft/world/RayTraceResult;world:Lnet/minecraft/world/World;
-
pos
- Mappings:
Namespace Name Mixin selector official bLamc;b:Lcj;intermediary field_1511Lnet/minecraft/class_380;field_1511:Lnet/minecraft/class_1372;named posLnet/minecraft/world/RayTraceResult;pos:Lnet/minecraft/util/math/BlockPos;
-
stateRequired
private final boolean stateRequired- Mappings:
Namespace Name Mixin selector official cLamc;c:Zintermediary field_1512Lnet/minecraft/class_380;field_1512:Znamed stateRequiredLnet/minecraft/world/RayTraceResult;stateRequired:Z
-
state
- Mappings:
Namespace Name Mixin selector official dLamc;d:Lalz;intermediary field_1513Lnet/minecraft/class_380;field_1513:Lnet/minecraft/class_376;named stateLnet/minecraft/world/RayTraceResult;state:Lnet/minecraft/block/BlockState;
-
blockEntity
- Mappings:
Namespace Name Mixin selector official eLamc;e:Lakw;intermediary field_1514Lnet/minecraft/class_380;field_1514:Lnet/minecraft/class_348;named blockEntityLnet/minecraft/world/RayTraceResult;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
-
gotBlockEntity
private boolean gotBlockEntity- Mappings:
Namespace Name Mixin selector official fLamc;f:Zintermediary field_1515Lnet/minecraft/class_380;field_1515:Znamed gotBlockEntityLnet/minecraft/world/RayTraceResult;gotBlockEntity:Z
-
-
Constructor Details
-
RayTraceResult
- Mappings:
Namespace Name Mixin selector official <init>Lamc;<init>(Ladm;Lcj;Z)Vintermediary <init>Lnet/minecraft/class_380;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Z)Vnamed <init>Lnet/minecraft/world/RayTraceResult;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector official aLamc;a()Lalz;intermediary method_1237Lnet/minecraft/class_380;method_1237()Lnet/minecraft/class_376;named getBlockStateLnet/minecraft/world/RayTraceResult;getBlockState()Lnet/minecraft/block/BlockState;
-
getBlockEntity
- Mappings:
Namespace Name Mixin selector official bLamc;b()Lakw;intermediary method_1239Lnet/minecraft/class_380;method_1239()Lnet/minecraft/class_348;named getBlockEntityLnet/minecraft/world/RayTraceResult;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
-
getPos
- Mappings:
Namespace Name Mixin selector official dLamc;d()Lcj;intermediary method_1240Lnet/minecraft/class_380;method_1240()Lnet/minecraft/class_1372;named getPosLnet/minecraft/world/RayTraceResult;getPos()Lnet/minecraft/util/math/BlockPos;
-
filterByState
- Mappings:
Namespace Name Mixin selector official aLamc;a(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;intermediary method_1238Lnet/minecraft/class_380;method_1238(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;named filterByStateLnet/minecraft/world/RayTraceResult;filterByState(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
-