net.minecraft.world.item.component

public record OminousBottleAmplifier

implements ConsumableListener, TooltipProvider

dan
net.minecraft.world.item.component.OminousBottleAmplifier
net.minecraft.class_10129
net.minecraft.component.type.OminousBottleAmplifierComponent
net.minecraft.world.item.component.OminousBottleAmplifier

Field summary

Modifier and TypeField
private final int
f
value
comp_3090
value
public static final int
a
EFFECT_DURATION
field_53793
DURATION
public static final int
b
MIN_AMPLIFIER
field_53794
MIN_VALUE
public static final int
c
MAX_AMPLIFIER
field_53795
MAX_VALUE
public static final com.mojang.serialization.Codec<OminousBottleAmplifier>
d
CODEC
field_53796
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, OminousBottleAmplifier>
e
STREAM_CODEC
field_53797
PACKET_CODEC

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
public void
a(dhi arg0, bwg arg1, cxp arg2, czv arg3)
onConsume(Level arg0, LivingEntity arg1, ItemStack arg2, Consumable arg3)
method_62831(class_1937 arg0, class_1309 arg1, class_1799 arg2, class_10124 arg3)
onConsume(World arg0, LivingEntity arg1, ItemStack arg2, ConsumableComponent arg3)
public void
a(cxl$b arg0, Consumer<xv> arg1, czh arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
public int
a()
value()
comp_3090()
value()