Class BevelCogWheelPart
java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.orthogonal.BevelCogWheelPart
- All Implemented Interfaces:
petrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart,petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
- Direct Known Subclasses:
BevelCogWheelPart.Cog,BevelCogWheelPart.Shaft
public abstract sealed class BevelCogWheelPart
extends Object
implements petrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart
permits BevelCogWheelPart.Cog, BevelCogWheelPart.Shaft
-
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
ConstructorsConstructorDescriptionBevelCogWheelPart(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
-
BevelCogWheelPart
public BevelCogWheelPart(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
-
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
-
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
-
itemRequirement
public com.simibubi.create.content.schematics.requirement.ItemRequirement itemRequirement()- Specified by:
itemRequirementin interfacepetrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart
-