Package net.minecraft
Record Class class_9515
java.lang.Object
java.lang.Record
net.minecraft.class_9515
- Record Components:
blocks-mask-minPos-engines-
public record class_9515(class_9514 blocks, LongSet mask, BlockPos minPos, int engines)
extends Record
- Mappings:
Namespace Name official cpcintermediary net/minecraft/class_9515named net/minecraft/class_9515official aintermediary comp_2571named blocksofficial bintermediary comp_2572named maskofficial cintermediary comp_2573named minPosofficial dintermediary comp_2574named engines
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_9514The field for theblocksrecord component.private final intThe field for theenginesrecord component.private static final Direction[]private final LongSetThe field for themaskrecord component.private final BlockPosThe field for theminPosrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9515(class_9514 class_9514, LongSet longSet, BlockPos blockPos, int int2) -
Method Summary
Modifier and TypeMethodDescriptionblocks()Returns the value of theblocksrecord component.intengines()Returns the value of theenginesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mask()Returns the value of themaskrecord component.voidmethod_58988(World world) static @Nullable class_9515method_58990(World world, BlockPos blockPos, Direction direction) private static booleanmethod_58991(BlockState blockState, Direction direction) private static booleanmethod_58992(Direction direction, VoxelShape voxelShape, VoxelShape voxelShape2) private static booleanmethod_58993(Direction direction, VoxelShape voxelShape, VoxelShape voxelShape2, BlockState blockState, BlockState blockState2) private voidmethod_58994(Consumer<BlockPos> consumer) private static booleanmethod_58996(BlockState blockState, Direction direction) minPos()Returns the value of theminPosrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
blocks
The field for theblocksrecord component. -
mask
The field for themaskrecord component. -
minPos
The field for theminPosrecord component. -
engines
private final int enginesThe field for theenginesrecord component. -
field_50526
- Mappings:
Namespace Name Mixin selector official eLcpc;e:[Liw;intermediary field_50526Lnet/minecraft/class_9515;field_50526:[Lnet/minecraft/class_2350;named field_50526Lnet/minecraft/class_9515;field_50526:[Lnet/minecraft/util/math/Direction;
-
-
Constructor Details
-
class_9515
-
-
Method Details
-
method_58990
@Nullable public static @Nullable class_9515 method_58990(World world, BlockPos blockPos, Direction direction) - Mappings:
Namespace Name Mixin selector official aLcpc;a(Ldca;Lir;Liw;)Lcpc;intermediary method_58990Lnet/minecraft/class_9515;method_58990(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_9515;named method_58990Lnet/minecraft/class_9515;method_58990(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/class_9515;
-
method_58993
private static boolean method_58993(Direction direction, VoxelShape voxelShape, VoxelShape voxelShape2, BlockState blockState, BlockState blockState2) - Mappings:
Namespace Name Mixin selector official aLcpc;a(Liw;Lexn;Lexn;Ldtc;Ldtc;)Zintermediary method_58993Lnet/minecraft/class_9515;method_58993(Lnet/minecraft/class_2350;Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Znamed method_58993Lnet/minecraft/class_9515;method_58993(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z
-
method_58992
private static boolean method_58992(Direction direction, VoxelShape voxelShape, VoxelShape voxelShape2) - Mappings:
Namespace Name Mixin selector official aLcpc;a(Liw;Lexn;Lexn;)Zintermediary method_58992Lnet/minecraft/class_9515;method_58992(Lnet/minecraft/class_2350;Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Znamed method_58992Lnet/minecraft/class_9515;method_58992(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Z
-
method_58991
- Mappings:
Namespace Name Mixin selector official aLcpc;a(Ldtc;Liw;)Zintermediary method_58991Lnet/minecraft/class_9515;method_58991(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed method_58991Lnet/minecraft/class_9515;method_58991(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
method_58996
- Mappings:
Namespace Name Mixin selector official bLcpc;b(Ldtc;Liw;)Zintermediary method_58996Lnet/minecraft/class_9515;method_58996(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed method_58996Lnet/minecraft/class_9515;method_58996(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
method_58988
- Mappings:
Namespace Name Mixin selector official aLcpc;a(Ldca;)Vintermediary method_58988Lnet/minecraft/class_9515;method_58988(Lnet/minecraft/class_1937;)Vnamed method_58988Lnet/minecraft/class_9515;method_58988(Lnet/minecraft/world/World;)V
-
method_58994
- Mappings:
Namespace Name Mixin selector official aLcpc;a(Ljava/util/function/Consumer;)Vintermediary method_58994Lnet/minecraft/class_9515;method_58994(Ljava/util/function/Consumer;)Vnamed method_58994Lnet/minecraft/class_9515;method_58994(Ljava/util/function/Consumer;)V
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
blocks
Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
mask
Returns the value of themaskrecord component.- Returns:
- the value of the
maskrecord component
-
minPos
Returns the value of theminPosrecord component.- Returns:
- the value of the
minPosrecord component
-
engines
public int engines()Returns the value of theenginesrecord component.- Returns:
- the value of the
enginesrecord component
-