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
ID_TAG, owner, PROPERTIES_TAG -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBlockStateMixin(net.minecraft.world.level.block.Block owner, net.minecraft.world.level.block.state.properties.Property<?>[] propertyKeys, Comparable<?>[] propertyValues) -
Method Summary
Modifier and TypeMethodDescription@NonNull net.minecraft.world.InteractionResultuseWithoutItem(@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, canBeReplaced, canBeReplaced, canBeReplaced, canOcclude, canSurvive, copyProperty, emissiveRendering, entityCanStandOn, entityCanStandOnFace, entityInside, getAnalogOutputSignal, getBlock, getBlockSupportShape, getCloneItemStack, getCollisionShape, getCollisionShape, getDestroyProgress, getDestroySpeed, getDirectSignal, getDrops, getEntityInsideCollisionShape, getFaceOcclusionShape, getFluidState, getInteractionShape, getLightDampening, getLightEmission, getMapColor, getMenuProvider, getOcclusionShape, getOffset, getOwnSignal, getPistonPushReaction, getPostProcessPos, getRenderShape, getSeed, getShadeBrightness, getShape, getShape, getSignal, getSoundType, getTicker, getVisualShape, handleNeighborChanged, hasAnalogOutputSignal, hasBlockEntity, hasLargeCollisionShape, hasOffsetFunction, ignitedByLava, initCache, instrument, is, isAir, isCollisionShapeFullBlock, isFaceSturdy, isFaceSturdy, isLightPermeable, isPathfindable, isRandomlyTicking, isRedstoneConductor, isSignalSource, isSolid, isSolidRender, isSuffocating, isValidSpawn, isViewBlocking, liquid, mirror, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, randomTick, requiresCorrectToolForDrops, rotate, shouldChangedStateKeepBlockEntity, shouldRedstoneWireConnectTo, shouldSpawnTerrainParticles, showAsInteractableInSpectatorMode, skipRendering, spawnAfterBreak, tick, triggerEvent, typeHolder, updateIndirectNeighbourShapes, updateIndirectNeighbourShapes, updateNeighbourShapes, updateNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.StateHolder
codec, cycle, equals, findNextInCollection, getOptionalValue, getProperties, getValue, getValueOrElse, getValues, hashCode, hasProperty, isSingletonState, setValue, toString, trySetValueMethods 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:
useWithoutItemin classnet.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
-