net.minecraft.world.item.component

public record OminousBottleAmplifier

implements ConsumableListener, TooltipProvider

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

Field summary

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

Constructor summary

ModifierConstructor
public (int amplifier)

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)
m_zuidvpkf(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, C_ybwnbwdi arg3)
onConsume(World arg0, LivingEntity arg1, ItemStack arg2, ConsumableComponent 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)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig arg2)
m_319025_(C_1381_$C_313602_ p_361861_, Consumer<C_4996_> p_366397_, C_1431_ arg2)
public int
a()
value()
comp_3090()
m_qdwsntps()
value()
amplifier()
f_347543_()