Package net.minecraft
Record Class class_11897
java.lang.Object
java.lang.Record
net.minecraft.class_11897
- Record Components:
blockStatesStrategy-defaultBlockState-blockStatesContainerCodec-biomeStrategy-defaultBiome-biomeContainerCodec-
public record class_11897(PaletteProvider<BlockState> blockStatesStrategy, BlockState defaultBlockState, com.mojang.serialization.Codec<PalettedContainer<BlockState>> blockStatesContainerCodec, PaletteProvider<RegistryEntry<Biome>> biomeStrategy, RegistryEntry<Biome> defaultBiome, com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> biomeContainerCodec)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11897intermediary net/minecraft/class_11897official elhnamed blockStatesStrategyintermediary comp_4785official anamed defaultBlockStateintermediary comp_4786official bnamed blockStatesContainerCodecintermediary comp_4787official cnamed biomeStrategyintermediary comp_4788official dnamed defaultBiomeintermediary comp_4789official enamed biomeContainerCodecintermediary comp_4790official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> The field for thebiomeContainerCodecrecord component.private final PaletteProvider<RegistryEntry<Biome>> The field for thebiomeStrategyrecord component.private final com.mojang.serialization.Codec<PalettedContainer<BlockState>> The field for theblockStatesContainerCodecrecord component.private final PaletteProvider<BlockState> The field for theblockStatesStrategyrecord component.private final RegistryEntry<Biome> The field for thedefaultBiomerecord component.private final BlockStateThe field for thedefaultBlockStaterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11897(PaletteProvider<BlockState> paletteProvider, BlockState blockState, com.mojang.serialization.Codec<PalettedContainer<BlockState>> codec, PaletteProvider<RegistryEntry<Biome>> paletteProvider2, RegistryEntry<Biome> registryEntry, com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> codec2) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> Returns the value of thebiomeContainerCodecrecord component.Returns the value of thebiomeStrategyrecord component.com.mojang.serialization.Codec<PalettedContainer<BlockState>> Returns the value of theblockStatesContainerCodecrecord component.Returns the value of theblockStatesStrategyrecord component.Returns the value of thedefaultBiomerecord component.Returns the value of thedefaultBlockStaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_11897method_74159(DynamicRegistryManager dynamicRegistryManager) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
blockStatesStrategy
The field for theblockStatesStrategyrecord component. -
defaultBlockState
The field for thedefaultBlockStaterecord component. -
blockStatesContainerCodec
private final com.mojang.serialization.Codec<PalettedContainer<BlockState>> blockStatesContainerCodecThe field for theblockStatesContainerCodecrecord component. -
biomeStrategy
The field for thebiomeStrategyrecord component. -
defaultBiome
The field for thedefaultBiomerecord component. -
biomeContainerCodec
private final com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> biomeContainerCodecThe field for thebiomeContainerCodecrecord component.
-
-
Constructor Details
-
class_11897
public class_11897(PaletteProvider<BlockState> paletteProvider, BlockState blockState, com.mojang.serialization.Codec<PalettedContainer<BlockState>> codec, PaletteProvider<RegistryEntry<Biome>> paletteProvider2, RegistryEntry<Biome> registryEntry, com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> codec2)
-
-
Method Details
-
method_74159
- Mappings:
Namespace Name Mixin selector named method_74159Lnet/minecraft/class_11897;method_74159(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/class_11897;intermediary method_74159Lnet/minecraft/class_11897;method_74159(Lnet/minecraft/class_5455;)Lnet/minecraft/class_11897;official aLelh;a(Ljy;)Lelh;
-
method_74158
- Mappings:
Namespace Name Mixin selector named method_74158Lnet/minecraft/class_11897;method_74158()Lnet/minecraft/world/chunk/PalettedContainer;intermediary method_74158Lnet/minecraft/class_11897;method_74158()Lnet/minecraft/class_2841;official aLelh;a()Lelg;
-
method_74160
- Mappings:
Namespace Name Mixin selector named method_74160Lnet/minecraft/class_11897;method_74160()Lnet/minecraft/world/chunk/PalettedContainer;intermediary method_74160Lnet/minecraft/class_11897;method_74160()Lnet/minecraft/class_2841;official bLelh;b()Lelg;
-
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). -
blockStatesStrategy
Returns the value of theblockStatesStrategyrecord component.- Returns:
- the value of the
blockStatesStrategyrecord component
-
defaultBlockState
Returns the value of thedefaultBlockStaterecord component.- Returns:
- the value of the
defaultBlockStaterecord component
-
blockStatesContainerCodec
Returns the value of theblockStatesContainerCodecrecord component.- Returns:
- the value of the
blockStatesContainerCodecrecord component
-
biomeStrategy
Returns the value of thebiomeStrategyrecord component.- Returns:
- the value of the
biomeStrategyrecord component
-
defaultBiome
Returns the value of thedefaultBiomerecord component.- Returns:
- the value of the
defaultBiomerecord component
-
biomeContainerCodec
public com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> biomeContainerCodec()Returns the value of thebiomeContainerCodecrecord component.- Returns:
- the value of the
biomeContainerCodecrecord component
-