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

    Fields
    Modifier and Type
    Field
    Description
    static final WoodFamilies
     
    static final Collection<WoodFamilies>
     
    static final WoodFamilies
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    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)
    Creates an instance of a WoodFamilies record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the boat record component.
    Supplier<? extends net.minecraft.world.level.block.ButtonBlock>
    Returns the value of the button record component.
    Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock>
    Returns the value of the ceilingHangingSign record component.
    Returns the value of the chestBoat record component.
    Supplier<? extends net.minecraft.world.level.block.DoorBlock>
    Returns the value of the door record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Supplier<? extends net.minecraft.world.level.block.FenceBlock>
    Returns the value of the fence record component.
    Supplier<? extends net.minecraft.world.level.block.FenceGateBlock>
    Returns the value of the fenceGate record component.
    final int
    Returns a hash code value for this object.
    @Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock>
    Returns the value of the leaves record component.
    Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>
    log()
    Returns the value of the log record component.
    net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>
    Returns the value of the logsBlockTag record component.
    net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Returns the value of the logsItemTag record component.
    Supplier<? extends net.minecraft.world.level.block.Block>
    Returns the value of the planks record component.
    Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock>
    Returns the value of the pressurePlate record component.
    @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock>
    Returns the value of the sapling record component.
    Supplier<? extends net.minecraft.world.level.block.SlabBlock>
    Returns the value of the slab record component.
    Supplier<? extends net.minecraft.world.level.block.StairBlock>
    Returns the value of the stairs record component.
    Supplier<? extends net.minecraft.world.level.block.StandingSignBlock>
    Returns the value of the standingSign record component.
    Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>
    Returns the value of the strippedLog record component.
    Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>
    Returns the value of the strippedWood record component.
    final String
    Returns a string representation of this record class.
    Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock>
    Returns the value of the trapdoor record component.
    Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock>
    Returns the value of the wallHangingSign record component.
    Supplier<? extends net.minecraft.world.level.block.WallSignBlock>
    Returns the value of the wallSign record component.
    Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock>
    Returns the value of the wood record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • 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 a WoodFamilies record class.
      Parameters:
      planks - the value for the planks record component
      slab - the value for the slab record component
      stairs - the value for the stairs record component
      pressurePlate - the value for the pressurePlate record component
      button - the value for the button record component
      fence - the value for the fence record component
      fenceGate - the value for the fenceGate record component
      door - the value for the door record component
      trapdoor - the value for the trapdoor record component
      standingSign - the value for the standingSign record component
      wallSign - the value for the wallSign record component
      ceilingHangingSign - the value for the ceilingHangingSign record component
      wallHangingSign - the value for the wallHangingSign record component
      log - the value for the log record component
      strippedLog - the value for the strippedLog record component
      wood - the value for the wood record component
      strippedWood - the value for the strippedWood record component
      leaves - the value for the leaves record component
      sapling - the value for the sapling record component
      boat - the value for the boat record component
      chestBoat - the value for the chestBoat record component
      logsBlockTag - the value for the logsBlockTag record component
      logsItemTag - the value for the logsItemTag record component
  • Method Details

    • 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 o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • planks

      public Supplier<? extends net.minecraft.world.level.block.Block> planks()
      Returns the value of the planks record component.
      Returns:
      the value of the planks record component
    • slab

      public Supplier<? extends net.minecraft.world.level.block.SlabBlock> slab()
      Returns the value of the slab record component.
      Returns:
      the value of the slab record component
    • stairs

      public Supplier<? extends net.minecraft.world.level.block.StairBlock> stairs()
      Returns the value of the stairs record component.
      Returns:
      the value of the stairs record component
    • pressurePlate

      public Supplier<? extends net.minecraft.world.level.block.PressurePlateBlock> pressurePlate()
      Returns the value of the pressurePlate record component.
      Returns:
      the value of the pressurePlate record component
    • button

      public Supplier<? extends net.minecraft.world.level.block.ButtonBlock> button()
      Returns the value of the button record component.
      Returns:
      the value of the button record component
    • fence

      public Supplier<? extends net.minecraft.world.level.block.FenceBlock> fence()
      Returns the value of the fence record component.
      Returns:
      the value of the fence record component
    • fenceGate

      public Supplier<? extends net.minecraft.world.level.block.FenceGateBlock> fenceGate()
      Returns the value of the fenceGate record component.
      Returns:
      the value of the fenceGate record component
    • door

      public Supplier<? extends net.minecraft.world.level.block.DoorBlock> door()
      Returns the value of the door record component.
      Returns:
      the value of the door record component
    • trapdoor

      public Supplier<? extends net.minecraft.world.level.block.TrapDoorBlock> trapdoor()
      Returns the value of the trapdoor record component.
      Returns:
      the value of the trapdoor record component
    • standingSign

      public Supplier<? extends net.minecraft.world.level.block.StandingSignBlock> standingSign()
      Returns the value of the standingSign record component.
      Returns:
      the value of the standingSign record component
    • wallSign

      public Supplier<? extends net.minecraft.world.level.block.WallSignBlock> wallSign()
      Returns the value of the wallSign record component.
      Returns:
      the value of the wallSign record component
    • ceilingHangingSign

      public Supplier<? extends net.minecraft.world.level.block.CeilingHangingSignBlock> ceilingHangingSign()
      Returns the value of the ceilingHangingSign record component.
      Returns:
      the value of the ceilingHangingSign record component
    • wallHangingSign

      public Supplier<? extends net.minecraft.world.level.block.WallHangingSignBlock> wallHangingSign()
      Returns the value of the wallHangingSign record component.
      Returns:
      the value of the wallHangingSign record component
    • log

      public Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> log()
      Returns the value of the log record component.
      Returns:
      the value of the log record component
    • strippedLog

      public Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedLog()
      Returns the value of the strippedLog record component.
      Returns:
      the value of the strippedLog record component
    • wood

      public Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> wood()
      Returns the value of the wood record component.
      Returns:
      the value of the wood record component
    • strippedWood

      public Supplier<? extends net.minecraft.world.level.block.RotatedPillarBlock> strippedWood()
      Returns the value of the strippedWood record component.
      Returns:
      the value of the strippedWood record component
    • leaves

      @Nullable public @Nullable Supplier<? extends net.minecraft.world.level.block.LeavesBlock> leaves()
      Returns the value of the leaves record component.
      Returns:
      the value of the leaves record component
    • sapling

      @Nullable public @Nullable Supplier<? extends net.minecraft.world.level.block.SaplingBlock> sapling()
      Returns the value of the sapling record component.
      Returns:
      the value of the sapling record component
    • boat

      public Supplier<? extends CustomBoatItem> boat()
      Returns the value of the boat record component.
      Returns:
      the value of the boat record component
    • chestBoat

      public Supplier<? extends CustomBoatItem> chestBoat()
      Returns the value of the chestBoat record component.
      Returns:
      the value of the chestBoat record component
    • logsBlockTag

      public net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> logsBlockTag()
      Returns the value of the logsBlockTag record component.
      Returns:
      the value of the logsBlockTag record component
    • logsItemTag

      public net.minecraft.tags.TagKey<net.minecraft.world.item.Item> logsItemTag()
      Returns the value of the logsItemTag record component.
      Returns:
      the value of the logsItemTag record component