Class BlockStateMixin

java.lang.Object
net.minecraft.world.level.block.state.StateHolder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState>
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
meteordevelopment.meteorclient.mixin.BlockStateMixin
All Implemented Interfaces:
net.minecraft.core.TypedInstance<net.minecraft.world.level.block.Block>

public abstract class BlockStateMixin extends net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.state.StateHolder

    NAME_TAG, owner, PROPERTIES_TAG
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BlockStateMixin(net.minecraft.world.level.block.Block owner, net.minecraft.world.level.block.state.properties.Property<?>[] propertyKeys, Comparable<?>[] propertyValues)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull net.minecraft.world.InteractionResult
    useWithoutItem(@NonNull net.minecraft.world.level.Level level, @NonNull net.minecraft.world.entity.player.Player player, @NonNull net.minecraft.world.phys.BlockHitResult hitResult)
     

    Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase

    affectNeighborsAfterRemoval, asState, attack, blocksMotion, canBeReplaced, canBeReplaced, canBeReplaced, canOcclude, canSurvive, emissiveRendering, entityCanStandOn, entityCanStandOnFace, entityInside, getAnalogOutputSignal, getBlock, getBlockSupportShape, getCloneItemStack, getCollisionShape, getCollisionShape, getDestroyProgress, getDestroySpeed, getDirectSignal, getDrops, getEntityInsideCollisionShape, getFaceOcclusionShape, getFluidState, getInteractionShape, getLightDampening, getLightEmission, getMapColor, getMenuProvider, getOcclusionShape, getOffset, getPistonPushReaction, getPostProcessPos, getRenderShape, getSeed, getShadeBrightness, getShape, getShape, getSignal, getSoundType, getTicker, getVisualShape, handleNeighborChanged, hasAnalogOutputSignal, hasBlockEntity, hasLargeCollisionShape, hasOffsetFunction, ignitedByLava, initCache, instrument, is, isAir, isCollisionShapeFullBlock, isFaceSturdy, isFaceSturdy, isPathfindable, isRandomlyTicking, isRedstoneConductor, isSignalSource, isSolid, isSolidRender, isSuffocating, isValidSpawn, isViewBlocking, liquid, mirror, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, randomTick, requiresCorrectToolForDrops, rotate, shouldChangedStateKeepBlockEntity, shouldSpawnTerrainParticles, skipRendering, spawnAfterBreak, tick, triggerEvent, typeHolder, updateIndirectNeighbourShapes, updateIndirectNeighbourShapes, updateNeighbourShapes, updateNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion

    Methods inherited from class net.minecraft.world.level.block.state.StateHolder

    codec, cycle, equals, findNextInCollection, getOptionalValue, getProperties, getValue, getValueOrElse, getValues, hashCode, hasProperty, isSingletonState, setValue, toString, trySetValue

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.core.TypedInstance

    is, is, is, is, is, tags
  • Constructor Details

    • BlockStateMixin

      protected BlockStateMixin(net.minecraft.world.level.block.Block owner, net.minecraft.world.level.block.state.properties.Property<?>[] propertyKeys, Comparable<?>[] propertyValues)
  • Method Details

    • useWithoutItem

      public @NonNull net.minecraft.world.InteractionResult useWithoutItem(@NonNull net.minecraft.world.level.Level level, @NonNull net.minecraft.world.entity.player.Player player, @NonNull net.minecraft.world.phys.BlockHitResult hitResult)
      Overrides:
      useWithoutItem in class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase