Package net.minecraft.block
Record Class PointedDripstoneBlock.DrippingFluid
java.lang.Object
java.lang.Record
net.minecraft.block.PointedDripstoneBlock.DrippingFluid
- Record Components:
- pos-
- fluid-
- sourceState-
- Enclosing class:
- PointedDripstoneBlock
static record PointedDripstoneBlock.DrippingFluid(BlockPos pos, Fluid fluid, BlockState sourceState)
extends Record
- Mappings:
- Namespace - Name - official - cvd$a- intermediary - net/minecraft/class_5689$class_7381- named - net/minecraft/block/PointedDripstoneBlock$DrippingFluid- official - a- intermediary - comp_709- named - pos- official - b- intermediary - comp_710- named - fluid- official - c- intermediary - comp_711- named - sourceState
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final FluidThe field for thefluidrecord component.private final BlockPosThe field for theposrecord component.private final BlockStateThe field for thesourceStaterecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fluid()Returns the value of thefluidrecord component.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.Returns the value of thesourceStaterecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
posThe field for theposrecord component.
- 
fluidThe field for thefluidrecord component.
- 
sourceStateThe field for thesourceStaterecord component.
 
- 
- 
Constructor Details- 
DrippingFluidDrippingFluid(BlockPos blockPos, Fluid fluid, BlockState blockState) 
 
- 
- 
Method Details- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
posReturns the value of theposrecord component.- Returns:
- the value of the posrecord component
 
- 
fluidReturns the value of thefluidrecord component.- Returns:
- the value of the fluidrecord component
 
- 
sourceStateReturns the value of thesourceStaterecord component.- Returns:
- the value of the sourceStaterecord component
 
 
-