Class DiagonalBevelCogWheelPart
java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.DiagonalBevelCogWheelPart
- All Implemented Interfaces:
petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart,petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
- Direct Known Subclasses:
DiagonalBevelCogWheelPart.Cog,DiagonalBevelCogWheelPart.ShaftHalf
public abstract sealed class DiagonalBevelCogWheelPart
extends Object
implements petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart
permits DiagonalBevelCogWheelPart.Cog, DiagonalBevelCogWheelPart.ShaftHalf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.level.ItemLikeprotected final Supplier<com.simibubi.create.content.schematics.requirement.ItemRequirement> protected final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> protected final net.minecraft.world.phys.shapes.VoxelShape -
Constructor Summary
ConstructorsConstructorDescriptionDiagonalBevelCogWheelPart(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot, net.minecraft.world.level.ItemLike item) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackcloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) com.simibubi.create.content.schematics.requirement.ItemRequirementnet.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot()net.minecraft.world.phys.shapes.VoxelShapeshape()
-
Field Details
-
shape
protected final net.minecraft.world.phys.shapes.VoxelShape shape -
loot
protected final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot -
item
protected final net.minecraft.world.level.ItemLike item -
itemRequirement
protected final Supplier<com.simibubi.create.content.schematics.requirement.ItemRequirement> itemRequirement
-
-
Constructor Details
-
DiagonalBevelCogWheelPart
public DiagonalBevelCogWheelPart(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot, net.minecraft.world.level.ItemLike item)
-
-
Method Details
-
shape
public net.minecraft.world.phys.shapes.VoxelShape shape()- Specified by:
shapein interfacepetrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
-
loot
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot()- Specified by:
lootin interfacepetrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
-
cloneItemStack
public net.minecraft.world.item.ItemStack cloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) - Specified by:
cloneItemStackin interfacepetrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
-
itemRequirement
public com.simibubi.create.content.schematics.requirement.ItemRequirement itemRequirement()- Specified by:
itemRequirementin interfacepetrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart
-