Package net.minecraft
Record Class class_9597.class_9598
java.lang.Object
java.lang.Record
net.minecraft.class_9597.class_9598
- Record Components:
level-blocks-biome-
- All Implemented Interfaces:
Iterable<BlockPos>,BlockRenderView,BlockView,HeightLimitView
- Enclosing class:
class_9597
@Environment(CLIENT)
public static record class_9597.class_9598(World level, class_9514 blocks, RegistryEntry<Biome> biome)
extends Record
implements BlockRenderView, Iterable<BlockPos>
- Mappings:
Namespace Name official fhu$aintermediary net/minecraft/class_9597$class_9598named net/minecraft/class_9597$class_9598official aintermediary comp_2606named levelofficial bintermediary comp_2607named blocksofficial cintermediary comp_2608named biome
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome> The field for thebiomerecord component.private final class_9514The field for theblocksrecord component.private final WorldThe field for thelevelrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9598(World world, class_9514 class_9514, RegistryEntry<Biome> registryEntry) -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.blocks()Returns the value of theblocksrecord component.final booleanIndicates whether some other object is "equal to" this one.getBlockEntity(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.intfinal inthashCode()Returns a hash code value for this object.iterator()level()Returns the value of thelevelrecord component.booleanstatic class_9597.class_9598method_59311(class_9596 class_9596) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
Constructor Details
-
class_9598
-
-
Method Details
-
method_59311
- Mappings:
Namespace Name Mixin selector official aLfhu$a;a(Lfht;)Lfhu$a;intermediary method_59311Lnet/minecraft/class_9597$class_9598;method_59311(Lnet/minecraft/class_9596;)Lnet/minecraft/class_9597$class_9598;named method_59311Lnet/minecraft/class_9597$class_9598;method_59311(Lnet/minecraft/class_9596;)Lnet/minecraft/class_9597$class_9598;
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLdbd;a(Liw;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fnamed getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
-
getLightingProvider
- Specified by:
getLightingProviderin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official y_Ldbd;y_()Leot;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
getColor
- Specified by:
getColorin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLdbd;a(Lir;Ldbl;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Inamed getColorLnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)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 official c_Ldbg;c_(Lir;)Ldqc;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockState
Returns the block state atpos.- Specified by:
getBlockStatein interfaceBlockView- Returns:
- the block state at
pos - Mappings:
Namespace Name Mixin selector official a_Ldbg;a_(Lir;)Ldtc;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
Returns the fluid state atpos.- Specified by:
getFluidStatein interfaceBlockView- Returns:
- the fluid state at
pos - Mappings:
Namespace Name Mixin selector official b_Ldbg;b_(Lir;)Lepe;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
method_58798
public boolean method_58798()- Specified by:
method_58798in interfaceBlockView- Mappings:
Namespace Name Mixin selector official z_Ldbg;z_()Zintermediary method_58798Lnet/minecraft/class_1922;method_58798()Znamed method_58798Lnet/minecraft/world/BlockView;method_58798()Z
-
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 official K_Ldcc;K_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()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 official J_Ldcc;J_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()I
-
iterator
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
blocks
Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
biome
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-