net.minecraft.world.item.enchantment.effects

public record SummonEntityEffect

implements EnchantmentEntityEffect

def
net.minecraft.world.item.enchantment.effects.SummonEntityEffect
net.minecraft.class_9739
net.minecraft.unmapped.C_gnexyiqt
net.minecraft.enchantment.effect.entity.SummonEntityEnchantmentEffect
net.minecraft.enchantment.effect.SummonEntity
net.minecraft.src.C_336539_
net.minecraft.world.item.enchantment.effects.SummonEntityEffect

Field summary

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

Constructor summary

ModifierConstructor
public (HolderSet<EntityType<?>> entityTypes, boolean joinTeam)

Method summary

Modifier and TypeMethod
public void
a(ard arg0, int arg1, dcz arg2, bum arg3, fbb 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)
m_qtizntqq(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
m_338607_(C_12_ p_344802_, int p_342872_, C_336528_ p_342384_, C_507_ p_342075_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<SummonEntityEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public HolderSet<EntityType<?>>
b()
entityTypes()
comp_2762()
m_cwoksbdl()
entityTypes()
entityTypes()
f_336687_()
public boolean
c()
joinTeam()
comp_2763()
m_zrkiuqrt()
joinTeam()
joinTeam()
f_337680_()