net.minecraft.world.item.enchantment.effects

public record SummonEntityEffect

implements EnchantmentEntityEffect

dfe
net.minecraft.world.item.enchantment.effects.SummonEntityEffect
net.minecraft.class_9739
net.minecraft.enchantment.effect.entity.SummonEntityEnchantmentEffect
net.minecraft.world.item.enchantment.effects.SummonEntityEffect

Field summary

Modifier and TypeField
private final HolderSet<EntityType<?>>
d
entityTypes
comp_2762
entityTypes
private final boolean
e
joinTeam
comp_2763
joinTeam
public static final com.mojang.serialization.MapCodec<SummonEntityEffect>
a
CODEC
field_51730
CODEC

Constructor summary

ModifierConstructor
public (HolderSet<EntityType<?>> arg0, boolean arg1)

Method summary

Modifier and TypeMethod
public void
a(ash arg0, int arg1, ddy arg2, bvk arg3, fby arg4)
apply(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4)
method_60220(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
public com.mojang.serialization.MapCodec<SummonEntityEffect>
a()
codec()
method_60219()
getCodec()
public HolderSet<EntityType<?>>
b()
entityTypes()
comp_2762()
entityTypes()
public boolean
c()
joinTeam()
comp_2763()
joinTeam()