Record Class WoodFamilies
java.lang.Object
java.lang.Record
tech.anonymoushacker1279.immersiveweapons.data.recipes.families.WoodFamilies
public record WoodFamilies(Supplier<? extends net.minecraft.world.level.block.Block> planks, Supplier<? extends net.minecraft.world.level.block.SlabBlock> slab, Supplier<? extends net.minecraft.world.level.block.StairBlock> stairs, Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock> pressurePlate, Supplier<? extends net.minecraft.world.level.block.ButtonBlock> button, Supplier<? extends net.minecraft.world.level.block.FenceBlock> fence, Supplier<? extends net.minecraft.world.level.block.FenceGateBlock> fenceGate, Supplier<? extends net.minecraft.world.level.block.DoorBlock> door, Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock> trapdoor, Supplier<? extends net.minecraft.world.level.block.StandingSignBlock> standingSign, Supplier<? extends net.minecraft.world.level.block.WallSignBlock> wallSign, Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock> ceilingHangingSign, Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock> wallHangingSign, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> log, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedLog, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> wood, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedWood, @Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock> leaves, @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock> sapling, Supplier<? extends CustomBoatItem> boat, Supplier<? extends CustomBoatItem> chestBoat, net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> logsBlockTag, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> logsItemTag)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WoodFamiliesstatic final Collection<WoodFamilies>static final WoodFamilies -
Constructor Summary
ConstructorsConstructorDescriptionWoodFamilies(Supplier<? extends net.minecraft.world.level.block.Block> planks, Supplier<? extends net.minecraft.world.level.block.SlabBlock> slab, Supplier<? extends net.minecraft.world.level.block.StairBlock> stairs, Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock> pressurePlate, Supplier<? extends net.minecraft.world.level.block.ButtonBlock> button, Supplier<? extends net.minecraft.world.level.block.FenceBlock> fence, Supplier<? extends net.minecraft.world.level.block.FenceGateBlock> fenceGate, Supplier<? extends net.minecraft.world.level.block.DoorBlock> door, Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock> trapdoor, Supplier<? extends net.minecraft.world.level.block.StandingSignBlock> standingSign, Supplier<? extends net.minecraft.world.level.block.WallSignBlock> wallSign, Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock> ceilingHangingSign, Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock> wallHangingSign, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> log, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedLog, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> wood, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedWood, @Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock> leaves, @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock> sapling, Supplier<? extends CustomBoatItem> boat, Supplier<? extends CustomBoatItem> chestBoat, net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> logsBlockTag, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> logsItemTag) Creates an instance of aWoodFamiliesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends CustomBoatItem>boat()Returns the value of theboatrecord component.Supplier<? extends net.minecraft.world.level.block.ButtonBlock>button()Returns the value of thebuttonrecord component.Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock>Returns the value of theceilingHangingSignrecord component.Supplier<? extends CustomBoatItem>Returns the value of thechestBoatrecord component.Supplier<? extends net.minecraft.world.level.block.DoorBlock>door()Returns the value of thedoorrecord component.final booleanIndicates whether some other object is "equal to" this one.Supplier<? extends net.minecraft.world.level.block.FenceBlock>fence()Returns the value of thefencerecord component.Supplier<? extends net.minecraft.world.level.block.FenceGateBlock>Returns the value of thefenceGaterecord component.final inthashCode()Returns a hash code value for this object.@Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock>leaves()Returns the value of theleavesrecord component.Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>log()Returns the value of thelogrecord component.net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>Returns the value of thelogsBlockTagrecord component.net.minecraft.tags.TagKey<net.minecraft.world.item.Item>Returns the value of thelogsItemTagrecord component.Supplier<? extends net.minecraft.world.level.block.Block>planks()Returns the value of theplanksrecord component.Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock>Returns the value of thepressurePlaterecord component.@Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock>sapling()Returns the value of thesaplingrecord component.Supplier<? extends net.minecraft.world.level.block.SlabBlock>slab()Returns the value of theslabrecord component.Supplier<? extends net.minecraft.world.level.block.StairBlock>stairs()Returns the value of thestairsrecord component.Supplier<? extends net.minecraft.world.level.block.StandingSignBlock>Returns the value of thestandingSignrecord component.Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>Returns the value of thestrippedLogrecord component.Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>Returns the value of thestrippedWoodrecord component.final StringtoString()Returns a string representation of this record class.Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock>trapdoor()Returns the value of thetrapdoorrecord component.Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock>Returns the value of thewallHangingSignrecord component.Supplier<? extends net.minecraft.world.level.block.WallSignBlock>wallSign()Returns the value of thewallSignrecord component.Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>wood()Returns the value of thewoodrecord component.
-
Field Details
-
BURNED_OAK
-
STARDUST
-
FAMILIES
-
-
Constructor Details
-
WoodFamilies
public WoodFamilies(Supplier<? extends net.minecraft.world.level.block.Block> planks, Supplier<? extends net.minecraft.world.level.block.SlabBlock> slab, Supplier<? extends net.minecraft.world.level.block.StairBlock> stairs, Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock> pressurePlate, Supplier<? extends net.minecraft.world.level.block.ButtonBlock> button, Supplier<? extends net.minecraft.world.level.block.FenceBlock> fence, Supplier<? extends net.minecraft.world.level.block.FenceGateBlock> fenceGate, Supplier<? extends net.minecraft.world.level.block.DoorBlock> door, Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock> trapdoor, Supplier<? extends net.minecraft.world.level.block.StandingSignBlock> standingSign, Supplier<? extends net.minecraft.world.level.block.WallSignBlock> wallSign, Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock> ceilingHangingSign, Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock> wallHangingSign, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> log, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedLog, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> wood, Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedWood, @Nullable @Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock> leaves, @Nullable @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock> sapling, Supplier<? extends CustomBoatItem> boat, Supplier<? extends CustomBoatItem> chestBoat, net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> logsBlockTag, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> logsItemTag) Creates an instance of aWoodFamiliesrecord class.- Parameters:
planks- the value for theplanksrecord componentslab- the value for theslabrecord componentstairs- the value for thestairsrecord componentpressurePlate- the value for thepressurePlaterecord componentbutton- the value for thebuttonrecord componentfence- the value for thefencerecord componentfenceGate- the value for thefenceGaterecord componentdoor- the value for thedoorrecord componenttrapdoor- the value for thetrapdoorrecord componentstandingSign- the value for thestandingSignrecord componentwallSign- the value for thewallSignrecord componentceilingHangingSign- the value for theceilingHangingSignrecord componentwallHangingSign- the value for thewallHangingSignrecord componentlog- the value for thelogrecord componentstrippedLog- the value for thestrippedLogrecord componentwood- the value for thewoodrecord componentstrippedWood- the value for thestrippedWoodrecord componentleaves- the value for theleavesrecord componentsapling- the value for thesaplingrecord componentboat- the value for theboatrecord componentchestBoat- the value for thechestBoatrecord componentlogsBlockTag- the value for thelogsBlockTagrecord componentlogsItemTag- the value for thelogsItemTagrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
planks
Returns the value of theplanksrecord component.- Returns:
- the value of the
planksrecord component
-
slab
Returns the value of theslabrecord component.- Returns:
- the value of the
slabrecord component
-
stairs
Returns the value of thestairsrecord component.- Returns:
- the value of the
stairsrecord component
-
pressurePlate
Returns the value of thepressurePlaterecord component.- Returns:
- the value of the
pressurePlaterecord component
-
button
Returns the value of thebuttonrecord component.- Returns:
- the value of the
buttonrecord component
-
fence
Returns the value of thefencerecord component.- Returns:
- the value of the
fencerecord component
-
fenceGate
Returns the value of thefenceGaterecord component.- Returns:
- the value of the
fenceGaterecord component
-
door
Returns the value of thedoorrecord component.- Returns:
- the value of the
doorrecord component
-
trapdoor
Returns the value of thetrapdoorrecord component.- Returns:
- the value of the
trapdoorrecord component
-
standingSign
Returns the value of thestandingSignrecord component.- Returns:
- the value of the
standingSignrecord component
-
wallSign
Returns the value of thewallSignrecord component.- Returns:
- the value of the
wallSignrecord component
-
ceilingHangingSign
public Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock> ceilingHangingSign()Returns the value of theceilingHangingSignrecord component.- Returns:
- the value of the
ceilingHangingSignrecord component
-
wallHangingSign
Returns the value of thewallHangingSignrecord component.- Returns:
- the value of the
wallHangingSignrecord component
-
log
Returns the value of thelogrecord component.- Returns:
- the value of the
logrecord component
-
strippedLog
Returns the value of thestrippedLogrecord component.- Returns:
- the value of the
strippedLogrecord component
-
wood
Returns the value of thewoodrecord component.- Returns:
- the value of the
woodrecord component
-
strippedWood
Returns the value of thestrippedWoodrecord component.- Returns:
- the value of the
strippedWoodrecord component
-
leaves
Returns the value of theleavesrecord component.- Returns:
- the value of the
leavesrecord component
-
sapling
@Nullable public @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock> sapling()Returns the value of thesaplingrecord component.- Returns:
- the value of the
saplingrecord component
-
boat
Returns the value of theboatrecord component.- Returns:
- the value of the
boatrecord component
-
chestBoat
Returns the value of thechestBoatrecord component.- Returns:
- the value of the
chestBoatrecord component
-
logsBlockTag
public net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> logsBlockTag()Returns the value of thelogsBlockTagrecord component.- Returns:
- the value of the
logsBlockTagrecord component
-
logsItemTag
public net.minecraft.tags.TagKey<net.minecraft.world.item.Item> logsItemTag()Returns the value of thelogsItemTagrecord component.- Returns:
- the value of the
logsItemTagrecord component
-