Record Class AssemblageSet
java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.assemblage.AssemblageSet
public record AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis,AssemblagePart> shaftParts, Map<net.minecraft.core.Direction,AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis, AssemblagePart> shaftParts, Map<net.minecraft.core.Direction, AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) Creates an instance of aAssemblageSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> Returns the value of theblockEntityrecord component.com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> Returns the value of thecoaxialCogItemrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of thecoaxialCogLootrecord component.Map<net.minecraft.core.Direction, AssemblagePart> Returns the value of thecoaxialCogWheelPartsrecord component.Map<net.minecraft.core.Direction, AssemblagePart> Returns the value of thecogWheelPartsrecord component.Returns the value of thedescriptionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> Returns the value of theequivalentLargeCogBlockrecord component.Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> Returns the value of theequivalentSmallCogBlockrecord component.net.minecraft.world.level.block.state.BlockStategetEquivalent(net.minecraft.world.level.block.state.BlockState state) getTargetedPart(net.minecraft.world.item.context.BlockPlaceContext context) final inthashCode()Returns a hash code value for this object.net.minecraft.resources.ResourceLocationid()Returns the value of theidrecord component.com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> Returns the value of thelargeCoaxialCogItemrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of thelargeCoaxialCogLootrecord component.Map<net.minecraft.core.Direction, AssemblagePart> Returns the value of thelargeCoaxialCogWheelPartsrecord component.com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> Returns the value of thelargeCogItemrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of thelargeCogLootrecord component.Map<net.minecraft.core.Direction, AssemblagePart> Returns the value of thelargeCogWheelPartsrecord component.Map<net.minecraft.core.Direction.Axis, AssemblagePart> Returns the value of themiddleCoaxialCogWheelPartsrecord component.Map<net.minecraft.core.Direction.Axis, AssemblagePart> Returns the value of themiddleCogWheelPartsrecord component.Map<net.minecraft.core.Direction.Axis, AssemblagePart> Returns the value of themiddleLargeCoaxialCogWheelPartsrecord component.Map<net.minecraft.core.Direction.Axis, AssemblagePart> Returns the value of themiddleLargeCogWheelPartsrecord component.com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> Returns the value of theseparateShaftsAssemblageBlockrecord component.com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> Returns the value of theshaftBlockrecord component.com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> Returns the value of theshaftHalfItemrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of theshaftHalfLootrecord component.Map<net.minecraft.core.Direction, AssemblagePart> Returns the value of theshaftHalfPartsrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of theshaftLootrecord component.Map<net.minecraft.core.Direction.Axis, AssemblagePart> Returns the value of theshaftPartsrecord component.com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> Returns the value of thesingleShaftAssemblageBlockrecord component.com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> Returns the value of thesmallCogItemrecord component.net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> Returns the value of thesmallCogLootrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
VANILLA
-
-
Constructor Details
-
AssemblageSet
public AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) -
AssemblageSet
public AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) -
AssemblageSet
public AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis, AssemblagePart> shaftParts, Map<net.minecraft.core.Direction, AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis, AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction, AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) Creates an instance of aAssemblageSetrecord class.- Parameters:
id- the value for theidrecord componentdescriptionId- the value for thedescriptionIdrecord componentsingleShaftAssemblageBlock- the value for thesingleShaftAssemblageBlockrecord componentseparateShaftsAssemblageBlock- the value for theseparateShaftsAssemblageBlockrecord componentblockEntity- the value for theblockEntityrecord componentshaftHalfItem- the value for theshaftHalfItemrecord componentsmallCogItem- the value for thesmallCogItemrecord componentlargeCogItem- the value for thelargeCogItemrecord componentcoaxialCogItem- the value for thecoaxialCogItemrecord componentlargeCoaxialCogItem- the value for thelargeCoaxialCogItemrecord componentshaftLoot- the value for theshaftLootrecord componentshaftHalfLoot- the value for theshaftHalfLootrecord componentsmallCogLoot- the value for thesmallCogLootrecord componentlargeCogLoot- the value for thelargeCogLootrecord componentcoaxialCogLoot- the value for thecoaxialCogLootrecord componentlargeCoaxialCogLoot- the value for thelargeCoaxialCogLootrecord componentshaftParts- the value for theshaftPartsrecord componentshaftHalfParts- the value for theshaftHalfPartsrecord componentmiddleCogWheelParts- the value for themiddleCogWheelPartsrecord componentcogWheelParts- the value for thecogWheelPartsrecord componentmiddleLargeCogWheelParts- the value for themiddleLargeCogWheelPartsrecord componentlargeCogWheelParts- the value for thelargeCogWheelPartsrecord componentmiddleCoaxialCogWheelParts- the value for themiddleCoaxialCogWheelPartsrecord componentcoaxialCogWheelParts- the value for thecoaxialCogWheelPartsrecord componentmiddleLargeCoaxialCogWheelParts- the value for themiddleLargeCoaxialCogWheelPartsrecord componentlargeCoaxialCogWheelParts- the value for thelargeCoaxialCogWheelPartsrecord componentshaftBlock- the value for theshaftBlockrecord componentequivalentSmallCogBlock- the value for theequivalentSmallCogBlockrecord componentequivalentLargeCogBlock- the value for theequivalentLargeCogBlockrecord component
-
-
Method Details
-
getEquivalent
public net.minecraft.world.level.block.state.BlockState getEquivalent(net.minecraft.world.level.block.state.BlockState state) -
getTargetedPart
@Nullable public AssemblagePart getTargetedPart(net.minecraft.world.item.context.BlockPlaceContext context) -
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). -
id
public net.minecraft.resources.ResourceLocation id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
descriptionId
Returns the value of thedescriptionIdrecord component.- Returns:
- the value of the
descriptionIdrecord component
-
singleShaftAssemblageBlock
public com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock()Returns the value of thesingleShaftAssemblageBlockrecord component.- Returns:
- the value of the
singleShaftAssemblageBlockrecord component
-
separateShaftsAssemblageBlock
public com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock()Returns the value of theseparateShaftsAssemblageBlockrecord component.- Returns:
- the value of the
separateShaftsAssemblageBlockrecord component
-
blockEntity
public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity()Returns the value of theblockEntityrecord component.- Returns:
- the value of the
blockEntityrecord component
-
shaftHalfItem
Returns the value of theshaftHalfItemrecord component.- Returns:
- the value of the
shaftHalfItemrecord component
-
smallCogItem
public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem()Returns the value of thesmallCogItemrecord component.- Returns:
- the value of the
smallCogItemrecord component
-
largeCogItem
public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem()Returns the value of thelargeCogItemrecord component.- Returns:
- the value of the
largeCogItemrecord component
-
coaxialCogItem
public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem()Returns the value of thecoaxialCogItemrecord component.- Returns:
- the value of the
coaxialCogItemrecord component
-
largeCoaxialCogItem
public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem()Returns the value of thelargeCoaxialCogItemrecord component.- Returns:
- the value of the
largeCoaxialCogItemrecord component
-
shaftLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot()Returns the value of theshaftLootrecord component.- Returns:
- the value of the
shaftLootrecord component
-
shaftHalfLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot()Returns the value of theshaftHalfLootrecord component.- Returns:
- the value of the
shaftHalfLootrecord component
-
smallCogLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot()Returns the value of thesmallCogLootrecord component.- Returns:
- the value of the
smallCogLootrecord component
-
largeCogLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot()Returns the value of thelargeCogLootrecord component.- Returns:
- the value of the
largeCogLootrecord component
-
coaxialCogLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot()Returns the value of thecoaxialCogLootrecord component.- Returns:
- the value of the
coaxialCogLootrecord component
-
largeCoaxialCogLoot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot()Returns the value of thelargeCoaxialCogLootrecord component.- Returns:
- the value of the
largeCoaxialCogLootrecord component
-
shaftParts
Returns the value of theshaftPartsrecord component.- Returns:
- the value of the
shaftPartsrecord component
-
shaftHalfParts
Returns the value of theshaftHalfPartsrecord component.- Returns:
- the value of the
shaftHalfPartsrecord component
-
middleCogWheelParts
Returns the value of themiddleCogWheelPartsrecord component.- Returns:
- the value of the
middleCogWheelPartsrecord component
-
cogWheelParts
Returns the value of thecogWheelPartsrecord component.- Returns:
- the value of the
cogWheelPartsrecord component
-
middleLargeCogWheelParts
Returns the value of themiddleLargeCogWheelPartsrecord component.- Returns:
- the value of the
middleLargeCogWheelPartsrecord component
-
largeCogWheelParts
Returns the value of thelargeCogWheelPartsrecord component.- Returns:
- the value of the
largeCogWheelPartsrecord component
-
middleCoaxialCogWheelParts
Returns the value of themiddleCoaxialCogWheelPartsrecord component.- Returns:
- the value of the
middleCoaxialCogWheelPartsrecord component
-
coaxialCogWheelParts
Returns the value of thecoaxialCogWheelPartsrecord component.- Returns:
- the value of the
coaxialCogWheelPartsrecord component
-
middleLargeCoaxialCogWheelParts
Returns the value of themiddleLargeCoaxialCogWheelPartsrecord component.- Returns:
- the value of the
middleLargeCoaxialCogWheelPartsrecord component
-
largeCoaxialCogWheelParts
Returns the value of thelargeCoaxialCogWheelPartsrecord component.- Returns:
- the value of the
largeCoaxialCogWheelPartsrecord component
-
shaftBlock
public com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock()Returns the value of theshaftBlockrecord component.- Returns:
- the value of the
shaftBlockrecord component
-
equivalentSmallCogBlock
public Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock()Returns the value of theequivalentSmallCogBlockrecord component.- Returns:
- the value of the
equivalentSmallCogBlockrecord component
-
equivalentLargeCogBlock
public Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock()Returns the value of theequivalentLargeCogBlockrecord component.- Returns:
- the value of the
equivalentLargeCogBlockrecord component
-