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 bux$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 Lbux$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 Lbux$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 Lbux$a;b(Lji;)Lbuu;
    • 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 Lbux$a;a(Lji;)Lbux$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 Lbux$a;a(Lji;D)Lbux$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 Lbux$a;a()Lbux;