Class BlockStateBaseMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.world.BlockStateBaseMixin
- All Implemented Interfaces:
EngineInterface<net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase>, EngineBlockStateBehavior
Implements
EngineBlockStateBehavior on BlockStateBase via accessor mixins.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidengine$setDestroySpeed(float speed) Sets the destroy speed of this block state.abstract voidengine$setLightEmission(int emission) Sets the light emission level for this block state.abstract voidengine$setRequiresTool(boolean requiresTool) Sets whether this block state requires a tool to drop.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EngineInterface
engine$self
-
Constructor Details
-
BlockStateBaseMixin
public BlockStateBaseMixin()
-
-
Method Details
-
engine$setLightEmission
public abstract void engine$setLightEmission(int emission) Description copied from interface:EngineBlockStateBehaviorSets the light emission level for this block state.- Specified by:
engine$setLightEmissionin interfaceEngineBlockStateBehavior
-
engine$setDestroySpeed
public abstract void engine$setDestroySpeed(float speed) Description copied from interface:EngineBlockStateBehaviorSets the destroy speed of this block state.- Specified by:
engine$setDestroySpeedin interfaceEngineBlockStateBehavior
-
engine$setRequiresTool
public abstract void engine$setRequiresTool(boolean requiresTool) Description copied from interface:EngineBlockStateBehaviorSets whether this block state requires a tool to drop.- Specified by:
engine$setRequiresToolin interfaceEngineBlockStateBehavior
-