Package net.minecraft.world.block
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 - official - dye$d- intermediary - net/minecraft/class_7159$class_7272- named - net/minecraft/world/block/ChainRestrictedNeighborUpdater$StateReplacementEntry- official - a- intermediary - comp_666- named - direction- official - b- intermediary - comp_667- named - neighborState- official - c- intermediary - comp_668- named - pos- official - d- intermediary - comp_669- named - neighborPos- official - e- intermediary - comp_670- named - updateFlags- official - f- intermediary - comp_1344- named - updateLimit
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DirectionThe field for thedirectionrecord component.private final BlockPosThe field for theneighborPosrecord component.private final BlockStateThe field for theneighborStaterecord component.private final BlockPosThe field for theposrecord component.private final intThe field for theupdateFlagsrecord component.private final intThe field for theupdateLimitrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionStateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theneighborPosrecord component.Returns the value of theneighborStaterecord component.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.booleanintReturns the value of theupdateFlagsrecord component.intReturns the value of theupdateLimitrecord component.
- 
Field Details- 
directionThe field for thedirectionrecord component.
- 
neighborStateThe field for theneighborStaterecord component.
- 
posThe field for theposrecord component.
- 
neighborPosThe field for theneighborPosrecord component.
- 
updateFlagsprivate final int updateFlagsThe field for theupdateFlagsrecord component.
- 
updateLimitprivate final int updateLimitThe field for theupdateLimitrecord component.
 
- 
- 
Constructor Details- 
StateReplacementEntryStateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) 
 
- 
- 
Method Details- 
update- Specified by:
- updatein interface- ChainRestrictedNeighborUpdater.Entry
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldye$c;a(Lcmm;)Z- intermediary - method_41707- Lnet/minecraft/class_7159$class_7162;method_41707(Lnet/minecraft/class_1937;)Z- named - update- Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater$Entry;update(Lnet/minecraft/world/World;)Z
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
directionReturns the value of thedirectionrecord component.- Returns:
- the value of the directionrecord component
 
- 
neighborStateReturns the value of theneighborStaterecord component.- Returns:
- the value of the neighborStaterecord component
 
- 
posReturns the value of theposrecord component.- Returns:
- the value of the posrecord component
 
- 
neighborPosReturns the value of theneighborPosrecord component.- Returns:
- the value of the neighborPosrecord component
 
- 
updateFlagspublic int updateFlags()Returns the value of theupdateFlagsrecord component.- Returns:
- the value of the updateFlagsrecord component
 
- 
updateLimitpublic int updateLimit()Returns the value of theupdateLimitrecord component.- Returns:
- the value of the updateLimitrecord component
 
 
-