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 buy$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 Lbuy$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 Lbuy$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 Lbuy$a;b(Lji;)Lbuv;
    • 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 Lbuy$a;a(Lji;)Lbuy$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 Lbuy$a;a(Lji;D)Lbuy$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 Lbuy$a;a()Lbuy;