net.minecraft.entity.passive

public record SulfurCubeArchetype$AttributeEntry

net.minecraft.world.entity.SulfurCubeArchetype$AttributeEntry
net.minecraft.class_1_719$class_1_720
net.minecraft.entity.passive.SulfurCubeArchetype$AttributeEntry

Field summary

Modifier and TypeField
private final RegistryEntry<EntityAttribute>
attribute
comp_1_527
attribute
private final EntityAttributeModifier
modifier
comp_1_528
modifier
public static final com.mojang.serialization.Codec<SulfurCubeArchetype$AttributeEntry>
CODEC
field_1_3688
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier)

Method summary

Modifier and TypeMethod
public static SulfurCubeArchetype$AttributeEntry
add(Holder<Attribute> attribute, double amount, ResourceKey<SulfurCubeArchetype> archetype)
method_1_4342(class_6880<class_1320> arg0, double arg1, class_5321<class_1_719> arg2)
add(RegistryEntry<EntityAttribute> attribute, double amount, RegistryKey<SulfurCubeArchetype> archetype)
public static SulfurCubeArchetype$AttributeEntry
multiply(Holder<Attribute> attribute, double amount, ResourceKey<SulfurCubeArchetype> archetype)
method_1_4344(class_6880<class_1320> arg0, double arg1, class_5321<class_1_719> arg2)
mul(RegistryEntry<EntityAttribute> attribute, double amount, RegistryKey<SulfurCubeArchetype> archetype)
public RegistryEntry<EntityAttribute>
attribute()
comp_1_527()
attribute()
public EntityAttributeModifier
modifier()
comp_1_528()
modifier()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_4343(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_4343(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)