Class WeatherAttributes

java.lang.Object
net.minecraft.world.attribute.WeatherAttributes

public class WeatherAttributes extends Object
Mappings:
Namespace Name
named net/minecraft/world/attribute/WeatherAttributes
intermediary net/minecraft/class_12316
official cei
  • Field Details

    • RAIN_EFFECTS

      public static final EnvironmentAttributeMap RAIN_EFFECTS
      Mappings:
      Namespace Name Mixin selector
      named RAIN_EFFECTS Lnet/minecraft/world/attribute/WeatherAttributes;RAIN_EFFECTS:Lnet/minecraft/world/attribute/EnvironmentAttributeMap;
      intermediary field_64349 Lnet/minecraft/class_12316;field_64349:Lnet/minecraft/class_12199;
      official a Lcei;a:Lcea;
    • THUNDER_EFFECTS

      public static final EnvironmentAttributeMap THUNDER_EFFECTS
      Mappings:
      Namespace Name Mixin selector
      named THUNDER_EFFECTS Lnet/minecraft/world/attribute/WeatherAttributes;THUNDER_EFFECTS:Lnet/minecraft/world/attribute/EnvironmentAttributeMap;
      intermediary field_64350 Lnet/minecraft/class_12316;field_64350:Lnet/minecraft/class_12199;
      official b Lcei;b:Lcea;
    • ATTRIBUTES

      private static final Set<EnvironmentAttribute<?>> ATTRIBUTES
      Mappings:
      Namespace Name Mixin selector
      named ATTRIBUTES Lnet/minecraft/world/attribute/WeatherAttributes;ATTRIBUTES:Ljava/util/Set;
      intermediary field_64351 Lnet/minecraft/class_12316;field_64351:Ljava/util/Set;
      official c Lcei;c:Ljava/util/Set;
  • Constructor Details

    • WeatherAttributes

      public WeatherAttributes()
  • Method Details

    • addWeatherAttributes

      public static void addWeatherAttributes(WorldEnvironmentAttributeAccess.Builder builder, WeatherAttributes.WeatherAccess weather)
      Mappings:
      Namespace Name Mixin selector
      named addWeatherAttributes Lnet/minecraft/world/attribute/WeatherAttributes;addWeatherAttributes(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/world/attribute/WeatherAttributes$WeatherAccess;)V
      intermediary method_76430 Lnet/minecraft/class_12316;method_76430(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_12316$class_12317;)V
      official a Lcei;a(Lced$a;Lcei$a;)V
    • addWeatherAttribute

      private static <Value> void addWeatherAttribute(WorldEnvironmentAttributeAccess.Builder builder, WeatherAttributes.WeatherAccess weather, EnvironmentAttribute<Value> attribute)
      Mappings:
      Namespace Name Mixin selector
      named addWeatherAttribute Lnet/minecraft/world/attribute/WeatherAttributes;addWeatherAttribute(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/world/attribute/WeatherAttributes$WeatherAccess;Lnet/minecraft/world/attribute/EnvironmentAttribute;)V
      intermediary method_76431 Lnet/minecraft/class_12316;method_76431(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_12316$class_12317;Lnet/minecraft/class_12197;)V
      official a Lcei;a(Lced$a;Lcei$a;Lcdy;)V