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 cpc
intermediary net/minecraft/class_9515
named net/minecraft/class_9515
official a
intermediary comp_2571
named blocks
official b
intermediary comp_2572
named mask
official c
intermediary comp_2573
named minPos
official d
intermediary comp_2574
named engines
  • Field Details

    • blocks

      private final class_9514 blocks
      The field for the blocks record component.
    • mask

      private final LongSet mask
      The field for the mask record component.
    • minPos

      private final BlockPos minPos
      The field for the minPos record component.
    • engines

      private final int engines
      The field for the engines record component.
    • field_50526

      private static final Direction[] field_50526
      Mappings:
      Namespace Name Mixin selector
      official e Lcpc;e:[Liw;
      intermediary field_50526 Lnet/minecraft/class_9515;field_50526:[Lnet/minecraft/class_2350;
      named field_50526 Lnet/minecraft/class_9515;field_50526:[Lnet/minecraft/util/math/Direction;
  • Constructor Details

  • Method Details

    • method_58990

      @Nullable public static @Nullable class_9515 method_58990(World world, BlockPos blockPos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpc;a(Ldca;Lir;Liw;)Lcpc;
      intermediary method_58990 Lnet/minecraft/class_9515;method_58990(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_9515;
      named method_58990 Lnet/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 a Lcpc;a(Liw;Lexn;Lexn;Ldtc;Ldtc;)Z
      intermediary method_58993 Lnet/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;)Z
      named method_58993 Lnet/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 a Lcpc;a(Liw;Lexn;Lexn;)Z
      intermediary method_58992 Lnet/minecraft/class_9515;method_58992(Lnet/minecraft/class_2350;Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Z
      named method_58992 Lnet/minecraft/class_9515;method_58992(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Z
    • method_58991

      private static boolean method_58991(BlockState blockState, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpc;a(Ldtc;Liw;)Z
      intermediary method_58991 Lnet/minecraft/class_9515;method_58991(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      named method_58991 Lnet/minecraft/class_9515;method_58991(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • method_58996

      private static boolean method_58996(BlockState blockState, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpc;b(Ldtc;Liw;)Z
      intermediary method_58996 Lnet/minecraft/class_9515;method_58996(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      named method_58996 Lnet/minecraft/class_9515;method_58996(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • method_58988

      public void method_58988(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpc;a(Ldca;)V
      intermediary method_58988 Lnet/minecraft/class_9515;method_58988(Lnet/minecraft/class_1937;)V
      named method_58988 Lnet/minecraft/class_9515;method_58988(Lnet/minecraft/world/World;)V
    • method_58994

      private void method_58994(Consumer<BlockPos> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpc;a(Ljava/util/function/Consumer;)V
      intermediary method_58994 Lnet/minecraft/class_9515;method_58994(Ljava/util/function/Consumer;)V
      named method_58994 Lnet/minecraft/class_9515;method_58994(Ljava/util/function/Consumer;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • blocks

      public class_9514 blocks()
      Returns the value of the blocks record component.
      Returns:
      the value of the blocks record component
    • mask

      public LongSet mask()
      Returns the value of the mask record component.
      Returns:
      the value of the mask record component
    • minPos

      public BlockPos minPos()
      Returns the value of the minPos record component.
      Returns:
      the value of the minPos record component
    • engines

      public int engines()
      Returns the value of the engines record component.
      Returns:
      the value of the engines record component