Class DefaultAttributeContainer.Builder

java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer.Builder
Enclosing class:
DefaultAttributeContainer

public static class DefaultAttributeContainer.Builder extends Object
Mappings:
Namespace Name
official ayh$a
intermediary net/minecraft/class_5132$class_5133
named net/minecraft/entity/attribute/DefaultAttributeContainer$Builder
  • Field Details

    • instances

      private final Map<EntityAttribute,EntityAttributeInstance> instances
      Mappings:
      Namespace Name Mixin selector
      official a Layh$a;a:Ljava/util/Map;
      intermediary field_23714 Lnet/minecraft/class_5132$class_5133;field_23714:Ljava/util/Map;
      named instances Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;instances:Ljava/util/Map;
    • unmodifiable

      private boolean unmodifiable
      Mappings:
      Namespace Name Mixin selector
      official b Layh$a;b:Z
      intermediary field_23715 Lnet/minecraft/class_5132$class_5133;field_23715:Z
      named unmodifiable Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;unmodifiable:Z
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • checkedAdd

      private EntityAttributeInstance checkedAdd(EntityAttribute attribute)
      Mappings:
      Namespace Name Mixin selector
      official b Layh$a;b(Layd;)Laye;
      intermediary method_26870 Lnet/minecraft/class_5132$class_5133;method_26870(Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
      named checkedAdd Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;checkedAdd(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
    • add

      Mappings:
      Namespace Name Mixin selector
      official a Layh$a;a(Layd;)Layh$a;
      intermediary method_26867 Lnet/minecraft/class_5132$class_5133;method_26867(Lnet/minecraft/class_1320;)Lnet/minecraft/class_5132$class_5133;
      named add Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • add

      public DefaultAttributeContainer.Builder add(EntityAttribute attribute, double baseValue)
      Mappings:
      Namespace Name Mixin selector
      official a Layh$a;a(Layd;D)Layh$a;
      intermediary method_26868 Lnet/minecraft/class_5132$class_5133;method_26868(Lnet/minecraft/class_1320;D)Lnet/minecraft/class_5132$class_5133;
      named add Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/entity/attribute/EntityAttribute;D)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • build

      public DefaultAttributeContainer build()
      Mappings:
      Namespace Name Mixin selector
      official a Layh$a;a()Layh;
      intermediary method_26866 Lnet/minecraft/class_5132$class_5133;method_26866()Lnet/minecraft/class_5132;
      named build Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;build()Lnet/minecraft/entity/attribute/DefaultAttributeContainer;