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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract net.minecraft.world.level.block.state.BlockStateasState()abstract voidkjs$setDestroySpeed(float v) abstract voidkjs$setLightEmission(int v) abstract voidkjs$setRequiresTool(boolean v) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.core.BlockStateKJS
kjs$asHolder, kjs$getId, kjs$getKey, kjs$getRegistry, kjs$getRegistryId, kjs$getWebIconURL, kjs$randomTickOverride, kjs$toString, replaceThisWithMethods inherited from interface dev.latvian.mods.kubejs.core.RegistryObjectKJS
kjs$getIdLocation, kjs$getMod, kjs$getTagKeys, kjs$getTags, kjs$hasTag, specialEquals
-
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$setDestroySpeedin interfaceBlockStateKJS
-
kjs$setRequiresTool
public abstract void kjs$setRequiresTool(boolean v) - Specified by:
kjs$setRequiresToolin interfaceBlockStateKJS
-
kjs$setLightEmission
public abstract void kjs$setLightEmission(int v) - Specified by:
kjs$setLightEmissionin interfaceBlockStateKJS
-