Interface EngineBlockStateBehavior

All Superinterfaces:
EngineInterface<net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase>
All Known Implementing Classes:
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.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Sets the destroy speed of this block state.
    default void
    Sets the light emission level for this block state.
    default void
    engine$setRequiresTool(boolean requiresTool)
    Sets whether this block state requires a tool to drop.

    Methods inherited from interface EngineInterface

    engine$self
  • Method Details

    • 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.