Class MovingBlockRenderState
java.lang.Object
net.minecraft.client.render.block.MovingBlockRenderState
- All Implemented Interfaces:
BlockRenderView,BlockView,HeightLimitView
- Direct Known Subclasses:
BreakingBlockRenderState
- Mappings:
Namespace Name named net/minecraft/client/render/block/MovingBlockRenderStateintermediary net/minecraft/class_11791official hhj
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.getBlockState(BlockPos pos) Returns the block state atpos.intReturns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded) intgetColor(BlockPos pos, ColorResolver colorResolver) getFluidState(BlockPos pos) Returns the fluid state atpos.intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
fallingBlockPos
- Mappings:
Namespace Name Mixin selector named fallingBlockPosLnet/minecraft/client/render/block/MovingBlockRenderState;fallingBlockPos:Lnet/minecraft/util/math/BlockPos;intermediary field_62245Lnet/minecraft/class_11791;field_62245:Lnet/minecraft/class_2338;official aLhhj;a:Lja;
-
entityBlockPos
- Mappings:
Namespace Name Mixin selector named entityBlockPosLnet/minecraft/client/render/block/MovingBlockRenderState;entityBlockPos:Lnet/minecraft/util/math/BlockPos;intermediary field_62246Lnet/minecraft/class_11791;field_62246:Lnet/minecraft/class_2338;official bLhhj;b:Lja;
-
blockState
- Mappings:
Namespace Name Mixin selector named blockStateLnet/minecraft/client/render/block/MovingBlockRenderState;blockState:Lnet/minecraft/block/BlockState;intermediary field_62247Lnet/minecraft/class_11791;field_62247:Lnet/minecraft/class_2680;official cLhhj;c:Lejm;
-
biome
- Mappings:
Namespace Name Mixin selector named biomeLnet/minecraft/client/render/block/MovingBlockRenderState;biome:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_62248Lnet/minecraft/class_11791;field_62248:Lnet/minecraft/class_6880;official dLhhj;d:Ljk;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/client/render/block/MovingBlockRenderState;world:Lnet/minecraft/world/BlockRenderView;intermediary field_62249Lnet/minecraft/class_11791;field_62249:Lnet/minecraft/class_1920;official eLhhj;e:Ldqr;
-
-
Constructor Details
-
MovingBlockRenderState
public MovingBlockRenderState()
-
-
Method Details
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fofficial aLdqr;a(Ljg;Z)F
-
getLightingProvider
- Specified by:
getLightingProviderin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;official E_Ldqr;E_()Lffp;
-
getColor
- Specified by:
getColorin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Iofficial aLdqr;a(Lja;Ldra;)I
-
getBlockEntity
Returns the block entity atpos, ornullif there is none.- Specified by:
getBlockEntityin interfaceBlockView- Returns:
- the block entity at
pos, ornullif there is none - Mappings:
Namespace Name Mixin selector named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;official c_Ldqu;c_(Lja;)Legg;
-
getBlockState
Returns the block state atpos.- Specified by:
getBlockStatein interfaceBlockView- Returns:
- the block state at
pos - Implementation Note:
- This returns the block state for
Blocks.VOID_AIRif the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;official a_Ldqu;a_(Lja;)Lejm;
-
getFluidState
Returns the fluid state atpos.- Specified by:
getFluidStatein interfaceBlockView- Returns:
- the fluid state at
pos - Implementation Note:
- This returns the fluid state for
Fluids.EMPTYif the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;official b_Ldqu;b_(Lja;)Lfga;
-
getHeight
public int getHeight()Returns the difference in the minimum and maximum height.This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.
- Specified by:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/world/HeightLimitView;getHeight()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Iofficial N_Ldrs;N_()I
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- See Also:
- Mappings:
Namespace Name Mixin selector named getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Iofficial M_Ldrs;M_()I
-