net.minecraft.world.item.component

public record OminousBottleAmplifier

implements ConsumableListener, TooltipProvider

czo
net.minecraft.world.item.component.OminousBottleAmplifier
net.minecraft.class_10129
net.minecraft.component.type.OminousBottleAmplifierComponent
net.minecraft.src.C_345901_
net.minecraft.world.item.component.OminousBottleAmplifier

Field summary

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

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
public void
a(dgj arg0, bvi arg1, cwq arg2, cyw 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)
m_352612_(C_1596_ p_361776_, C_524_ p_367666_, C_1391_ p_368178_, C_345888_ arg3)
public void
a(cwm$b arg0, Consumer<wp> arg1, cyi 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)
m_319025_(C_1381_$C_313602_ p_361861_, Consumer<C_4996_> p_366397_, C_1431_ arg2)
public int
a()
value()
comp_3090()
value()
f_347543_()