Enum Class InWorldProcessing.Type
java.lang.Object
java.lang.Enum<InWorldProcessing.Type>
com.simibubi.create.content.contraptions.processing.InWorldProcessing.Type
- All Implemented Interfaces:
Serializable,Comparable<InWorldProcessing.Type>,Constable
- Enclosing class:
- InWorldProcessing
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaffectEntity(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level level) static InWorldProcessing.TypebyBlock(net.minecraft.world.level.BlockGetter reader, net.minecraft.core.BlockPos pos) abstract booleancanProcess(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) abstract voidspawnParticlesForProcessing(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos) static InWorldProcessing.TypeReturns the enum constant of this class with the specified name.static InWorldProcessing.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPLASHING
-
SMOKING
-
HAUNTING
-
BLASTING
-
NONE
-
-
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
-
canProcess
public abstract boolean canProcess(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) -
spawnParticlesForProcessing
public abstract void spawnParticlesForProcessing(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos) -
affectEntity
public abstract void affectEntity(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level level) -
byBlock
public static InWorldProcessing.Type byBlock(net.minecraft.world.level.BlockGetter reader, net.minecraft.core.BlockPos pos)
-