Class EntityAttributes

java.lang.Object
me.shedaniel.architectury.registry.entity.EntityAttributes

public final class EntityAttributes extends Object
  • Method Details

    • register

      public static void register(Supplier<net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.LivingEntity>> type, Supplier<net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder> attribute)
      Registers default attributes to entities.
      Parameters:
      type - the type of entity
      attribute - the attributes to register
      See Also:
      • DefaultAttributes