Record Class ChainRestrictedNeighborUpdater.StateReplacementEntry

java.lang.Object
java.lang.Record
net.minecraft.world.block.ChainRestrictedNeighborUpdater.StateReplacementEntry
Record Components:
direction -
neighborState -
pos -
neighborPos -
updateFlags -
updateLimit -
All Implemented Interfaces:
ChainRestrictedNeighborUpdater.Entry
Enclosing class:
ChainRestrictedNeighborUpdater

private static record ChainRestrictedNeighborUpdater.StateReplacementEntry(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) extends Record implements ChainRestrictedNeighborUpdater.Entry
Mappings:
Namespace Name
named net/minecraft/world/block/ChainRestrictedNeighborUpdater$StateReplacementEntry
intermediary net/minecraft/class_7159$class_7272
official eoz$d
named direction
intermediary comp_666
official a
named neighborState
intermediary comp_667
official b
named pos
intermediary comp_668
official c
named neighborPos
intermediary comp_669
official d
named updateFlags
intermediary comp_670
official e
named updateLimit
intermediary comp_1344
official f
  • Field Details

    • direction

      private final Direction direction
      The field for the direction record component.
    • neighborState

      private final BlockState neighborState
      The field for the neighborState record component.
    • pos

      private final BlockPos pos
      The field for the pos record component.
    • neighborPos

      private final BlockPos neighborPos
      The field for the neighborPos record component.
    • updateFlags

      private final int updateFlags
      The field for the updateFlags record component.
    • updateLimit

      private final int updateLimit
      The field for the updateLimit record component.
  • Constructor Details

  • Method Details

    • update

      public boolean update(World world)
      Specified by:
      update in interface ChainRestrictedNeighborUpdater.Entry
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater$Entry;update(Lnet/minecraft/world/World;)Z
      intermediary method_41707 Lnet/minecraft/class_7159$class_7162;method_41707(Lnet/minecraft/class_1937;)Z
      official a Leoz$c;a(Ldca;)Z
    • 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.
    • direction

      public Direction direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component
    • neighborState

      public BlockState neighborState()
      Returns the value of the neighborState record component.
      Returns:
      the value of the neighborState record component
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • neighborPos

      public BlockPos neighborPos()
      Returns the value of the neighborPos record component.
      Returns:
      the value of the neighborPos record component
    • updateFlags

      public int updateFlags()
      Returns the value of the updateFlags record component.
      Returns:
      the value of the updateFlags record component
    • updateLimit

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