net.minecraft.world.item.component

public record SuspiciousStewEffects

implements ConsumableListener, TooltipProvider

daq
net.minecraft.world.item.component.SuspiciousStewEffects
net.minecraft.class_9298
net.minecraft.component.type.SuspiciousStewEffectsComponent
net.minecraft.world.item.component.SuspiciousStewEffects

Field summary

Modifier and TypeField
private final List<SuspiciousStewEffects$Entry>
e
effects
comp_2416
effects
public static final SuspiciousStewEffects
a
EMPTY
field_49362
DEFAULT
public static final int
b
DEFAULT_DURATION
field_53798
DEFAULT_DURATION
public static final com.mojang.serialization.Codec<SuspiciousStewEffects>
c
CODEC
field_49363
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, SuspiciousStewEffects>
d
STREAM_CODEC
field_49364
PACKET_CODEC

Constructor summary

ModifierConstructor
public (List<SuspiciousStewEffects$Entry> arg0)

Method summary

Modifier and TypeMethod
public SuspiciousStewEffects
a(daq$a arg0)
withEffectAdded(SuspiciousStewEffects$Entry arg0)
method_57514(class_9298$class_8751 arg0)
with(SuspiciousStewEffectsComponent$StewEffect stewEffect)
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 List<SuspiciousStewEffects$Entry>
a()
effects()
comp_2416()
effects()