Class BlockStateMixin

java.lang.Object
net.minecraft.state.State<net.minecraft.block.Block,net.minecraft.block.BlockState>
net.minecraft.block.AbstractBlock.AbstractBlockState
meteordevelopment.meteorclient.mixin.BlockStateMixin

public abstract class BlockStateMixin extends net.minecraft.block.AbstractBlock.AbstractBlockState
  • Field Summary

    Fields inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState

    shapeCache

    Fields inherited from class net.minecraft.state.State

    codec, NAME, owner, PROPERTIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockStateMixin(net.minecraft.block.Block block, com.google.common.collect.ImmutableMap<net.minecraft.state.property.Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<net.minecraft.block.BlockState> mapCodec)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.util.ActionResult
    onUse(net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.util.hit.BlockHitResult hit)
     

    Methods inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState

    allowsSpawning, asBlockState, calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, exceedsCube, getAmbientOcclusionLightLevel, getBlock, getBlockEntityTicker, getCameraCollisionShape, getCollisionShape, getCollisionShape, getComparatorOutput, getCullingFace, getCullingShape, getDroppedStacks, getFluidState, getHardness, getLuminance, getMapColor, getMaterial, getModelOffset, getOffsetType, getOpacity, getOutlineShape, getOutlineShape, getPistonBehavior, getRaycastShape, getRegistryEntry, getRenderingSeed, getRenderType, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasBlockBreakParticles, hasBlockEntity, hasComparatorOutput, hasEmissiveLighting, hasRandomTicks, hasSidedTransparency, hasSolidTopSurface, initShapeCache, isAir, isFullCube, isIn, isIn, isIn, isOf, isOpaque, isOpaqueFullCube, isReplaceable, isSideInvisible, isSideSolid, isSideSolidFullSquare, isSolidBlock, isSolidSurface, isToolRequired, isTranslucent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, prepare, randomTick, rotate, scheduledTick, shouldBlockVision, shouldPostProcess, shouldSuffocate, streamTags, updateNeighbors, updateNeighbors

    Methods inherited from class net.minecraft.state.State

    contains, createCodec, createWithTable, cycle, get, getEntries, getNext, getOrEmpty, getProperties, toString, with, withIfExists

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BlockStateMixin

      public BlockStateMixin(net.minecraft.block.Block block, com.google.common.collect.ImmutableMap<net.minecraft.state.property.Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<net.minecraft.block.BlockState> mapCodec)
  • Method Details

    • onUse

      public net.minecraft.util.ActionResult onUse(net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.util.hit.BlockHitResult hit)
      Overrides:
      onUse in class net.minecraft.block.AbstractBlock.AbstractBlockState