Class BlockStateBaseMixin

java.lang.Object
dev.latvian.mods.kubejs.core.mixin.BlockStateBaseMixin
All Implemented Interfaces:
BlockStateKJS, RegistryObjectKJS<net.minecraft.world.level.block.Block>, Replaceable, dev.latvian.mods.rhino.util.SpecialEquality

@RemapPrefixForJS("kjs$") public abstract class BlockStateBaseMixin extends Object implements BlockStateKJS
  • Constructor Details

    • BlockStateBaseMixin

      public BlockStateBaseMixin()
  • Method Details

    • asState

      protected abstract net.minecraft.world.level.block.state.BlockState asState()
    • kjs$setDestroySpeed

      public abstract void kjs$setDestroySpeed(float v)
      Specified by:
      kjs$setDestroySpeed in interface BlockStateKJS
    • kjs$setRequiresTool

      public abstract void kjs$setRequiresTool(boolean v)
      Specified by:
      kjs$setRequiresTool in interface BlockStateKJS
    • kjs$setLightEmission

      public abstract void kjs$setLightEmission(int v)
      Specified by:
      kjs$setLightEmission in interface BlockStateKJS