net.minecraft.world.item.consume_effects

public record TeleportRandomlyConsumeEffect

implements ConsumeEffect

dbe
net.minecraft.world.item.consume_effects.TeleportRandomlyConsumeEffect
net.minecraft.class_10138
net.minecraft.item.consume.TeleportRandomlyConsumeEffect
net.minecraft.world.item.consume_effects.TeleportRandomlyConsumeEffect

Field summary

Modifier and TypeField
private final float
c
diameter
comp_3100
diameter
private static final float
f
DEFAULT_DIAMETER
field_53821
DEFAULT_DIAMETER
public static final com.mojang.serialization.MapCodec<TeleportRandomlyConsumeEffect>
a
CODEC
field_53819
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, TeleportRandomlyConsumeEffect>
b
STREAM_CODEC
field_53820
PACKET_CODEC

Constructor summary

ModifierConstructor
public ()
public (float arg0)

Method summary

Modifier and TypeMethod
public ConsumeEffect$Type<TeleportRandomlyConsumeEffect>
a()
getType()
method_62864()
getType()
public boolean
a(dhi arg0, cxp arg1, bwg arg2)
apply(Level arg0, ItemStack arg1, LivingEntity arg2)
method_62866(class_1937 arg0, class_1799 arg1, class_1309 arg2)
onConsume(World arg0, ItemStack arg1, LivingEntity arg2)
public float
b()
diameter()
comp_3100()
diameter()