Schnittstelle EngineBlockStateBehavior
- Alle Superschnittstellen:
EngineInterface<net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase>
- Alle bekannten Implementierungsklassen:
BlockStateBaseMixin
public interface EngineBlockStateBehavior
extends EngineInterface<net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase>
Configures block state behavior properties such as light emission, destroy speed, and tool requirements.
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungdefault voidengine$setDestroySpeed(float speed) Sets the destroy speed of this block state.default voidengine$setLightEmission(int emission) Sets the light emission level for this block state.default voidengine$setRequiresTool(boolean requiresTool) Sets whether this block state requires a tool to drop.Von Schnittstelle geerbte Methoden EngineInterface
engine$self
-
Methodendetails
-
engine$setLightEmission
default void engine$setLightEmission(int emission) Sets the light emission level for this block state. -
engine$setDestroySpeed
default void engine$setDestroySpeed(float speed) Sets the destroy speed of this block state. -
engine$setRequiresTool
default void engine$setRequiresTool(boolean requiresTool) Sets whether this block state requires a tool to drop.
-