Enum Class RedstoneTransmissionPart
java.lang.Object
java.lang.Enum<RedstoneTransmissionPart>
petrolpark.mc.petrolsparts.content.kinetics.redstoneTransmission.RedstoneTransmissionPart
- All Implemented Interfaces:
Serializable,Comparable<RedstoneTransmissionPart>,Constable,petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart,petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
public enum RedstoneTransmissionPart
extends Enum<RedstoneTransmissionPart>
implements petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<net.minecraft.core.Direction.Axis, RedstoneTransmissionPart> protected final booleanstatic final Map<net.minecraft.core.Direction, RedstoneTransmissionPart> protected final com.mojang.datafixers.util.Either<net.minecraft.core.Direction, net.minecraft.core.Direction.Axis> static final Map<net.minecraft.core.Direction.Axis, RedstoneTransmissionPart> protected final net.minecraft.world.phys.shapes.VoxelShapestatic final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> -
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()static RedstoneTransmissionPartReturns the enum constant of this class with the specified name.static RedstoneTransmissionPart[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH_COG
-
SOUTH_COG
-
EAST_COG
-
WEST_COG
-
UP_COG
-
DOWN_COG
-
X_COG
-
Y_COG
-
Z_COG
-
X_SHAFT
-
Y_SHAFT
-
Z_SHAFT
-
-
Field Details
-
TRANSMISSION_SHAFT_LOOT
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> TRANSMISSION_SHAFT_LOOT -
FACIAL_COGS
-
AXIAL_COGS
-
SHAFTS
-
cog
protected final boolean cog -
place
protected final com.mojang.datafixers.util.Either<net.minecraft.core.Direction,net.minecraft.core.Direction.Axis> place -
shape
protected final net.minecraft.world.phys.shapes.VoxelShape shape
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
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.multiPart.CreateMultiPartBlock.ICreatePart
-