Class BiomeColorRule

All Implemented Interfaces:
class_8289

public class BiomeColorRule extends class_8275<RegistryKey<Biome>,NamedColors.NamedColor>
Mappings:
Namespace Name
official bel
intermediary net/minecraft/class_8303
named net/minecraft/vote/BiomeColorRule
  • Field Details

    • biomeToColor

      private final Map<RegistryKey<Biome>,NamedColors.NamedColor> biomeToColor
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a:Ljava/util/Map;
      intermediary field_43738 Lnet/minecraft/class_8303;field_43738:Ljava/util/Map;
      named biomeToColor Lnet/minecraft/vote/BiomeColorRule;biomeToColor:Ljava/util/Map;
    • rule

      private final String rule
      Mappings:
      Namespace Name Mixin selector
      official b Lbel;b:Ljava/lang/String;
      intermediary field_43739 Lnet/minecraft/class_8303;field_43739:Ljava/lang/String;
      named rule Lnet/minecraft/vote/BiomeColorRule;rule:Ljava/lang/String;
    • field_43740

      private boolean field_43740
      Mappings:
      Namespace Name Mixin selector
      official c Lbel;c:Z
      intermediary field_43740 Lnet/minecraft/class_8303;field_43740:Z
      named field_43740 Lnet/minecraft/vote/BiomeColorRule;field_43740:Z
  • Constructor Details

    • BiomeColorRule

      public BiomeColorRule(String rule)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbel;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8303;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/vote/BiomeColorRule;<init>(Ljava/lang/String;)V
  • Method Details

    • getColor

      public int getColor(RegistryEntry<Biome> biomeEntry, int fallback)
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a(Lhd;I)I
      intermediary method_50292 Lnet/minecraft/class_8303;method_50292(Lnet/minecraft/class_6880;I)I
      named getColor Lnet/minecraft/vote/BiomeColorRule;getColor(Lnet/minecraft/registry/entry/RegistryEntry;I)I
    • getColor

      public Optional<Integer> getColor(RegistryEntry<Biome> biomeEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a(Lhd;)Ljava/util/Optional;
      intermediary method_50291 Lnet/minecraft/class_8303;method_50291(Lnet/minecraft/class_6880;)Ljava/util/Optional;
      named getColor Lnet/minecraft/vote/BiomeColorRule;getColor(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/util/Optional;
    • method_50162

      protected Text method_50162(RegistryKey<Biome> registryKey, NamedColors.NamedColor namedColor)
      Specified by:
      method_50162 in class class_8275<RegistryKey<Biome>,NamedColors.NamedColor>
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a(Lacx;Lapl$a;)Lsw;
      intermediary method_50287 Lnet/minecraft/class_8303;method_50287(Lnet/minecraft/class_5321;Lnet/minecraft/class_8259$class_8260;)Lnet/minecraft/class_2561;
      named method_50162 Lnet/minecraft/vote/BiomeColorRule;method_50162(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/vote/NamedColors$NamedColor;)Lnet/minecraft/text/Text;
    • method_50138

      protected void method_50138(RegistryKey<Biome> registryKey, NamedColors.NamedColor namedColor)
      Specified by:
      method_50138 in class class_8275<RegistryKey<Biome>,NamedColors.NamedColor>
      Mappings:
      Namespace Name Mixin selector
      official b Lbel;b(Lacx;Lapl$a;)V
      intermediary method_50295 Lnet/minecraft/class_8303;method_50295(Lnet/minecraft/class_5321;Lnet/minecraft/class_8259$class_8260;)V
      named method_50138 Lnet/minecraft/vote/BiomeColorRule;method_50138(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/vote/NamedColors$NamedColor;)V
    • method_50136

      protected void method_50136(RegistryKey<Biome> registryKey)
      Specified by:
      method_50136 in class class_8275<RegistryKey<Biome>,NamedColors.NamedColor>
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a(Lacx;)V
      intermediary method_50286 Lnet/minecraft/class_8303;method_50286(Lnet/minecraft/class_5321;)V
      named method_50136 Lnet/minecraft/vote/BiomeColorRule;method_50136(Lnet/minecraft/registry/RegistryKey;)V
    • method_50285

      public boolean method_50285()
      Mappings:
      Namespace Name Mixin selector
      official a Lbel;a()Z
      intermediary method_50285 Lnet/minecraft/class_8303;method_50285()Z
      named method_50285 Lnet/minecraft/vote/BiomeColorRule;method_50285()Z
    • method_50119

      public Stream<class_8291> method_50119()
      Mappings:
      Namespace Name Mixin selector
      official b Lbec;b()Ljava/util/stream/Stream;
      intermediary method_50119 Lnet/minecraft/class_8289;method_50119()Ljava/util/stream/Stream;
      named method_50119 Lnet/minecraft/class_8289;method_50119()Ljava/util/stream/Stream;
    • method_50118

      public Stream<class_8291> method_50118(MinecraftServer minecraftServer, Random random, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbec;a(Lnet/minecraft/server/MinecraftServer;Lapj;I)Ljava/util/stream/Stream;
      intermediary method_50118 Lnet/minecraft/class_8289;method_50118(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_5819;I)Ljava/util/stream/Stream;
      named method_50118 Lnet/minecraft/class_8289;method_50118(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/util/math/random/Random;I)Ljava/util/stream/Stream;