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
named net/minecraft/entity/attribute/DefaultAttributeContainer$Builder
intermediary net/minecraft/class_5132$class_5133
official buj$a
  • Field Details

    • instances

      Mappings:
      Namespace Name Mixin selector
      named instances Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;instances:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_23714 Lnet/minecraft/class_5132$class_5133;field_23714:Lcom/google/common/collect/ImmutableMap$Builder;
      official a Lbuj$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
    • unmodifiable

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

    • Builder

      public Builder()
  • Method Details

    • checkedAdd

      private EntityAttributeInstance checkedAdd(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      named checkedAdd Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;checkedAdd(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
      intermediary method_26870 Lnet/minecraft/class_5132$class_5133;method_26870(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
      official b Lbuj$a;b(Ljj;)Lbug;
    • add

      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_26867 Lnet/minecraft/class_5132$class_5133;method_26867(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5132$class_5133;
      official a Lbuj$a;a(Ljj;)Lbuj$a;
    • add

      public DefaultAttributeContainer.Builder add(RegistryEntry<EntityAttribute> attribute, double baseValue)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/registry/entry/RegistryEntry;D)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_26868 Lnet/minecraft/class_5132$class_5133;method_26868(Lnet/minecraft/class_6880;D)Lnet/minecraft/class_5132$class_5133;
      official a Lbuj$a;a(Ljj;D)Lbuj$a;
    • build

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