net.minecraft.world.item.component

public record DamageResistant

czb
net.minecraft.world.item.component.DamageResistant
net.minecraft.class_10215
net.minecraft.unmapped.C_gzmmqgkx
net.minecraft.component.type.DamageResistantComponent
net.minecraft.component.type.DamageResistantComponent
net.minecraft.src.C_345999_
net.minecraft.world.item.component.DamageResistant

Field summary

Modifier and TypeField
private final TagKey<DamageType>
c
types
comp_3210
f_fsusopjv
types
resistedTypes
f_348665_
public static final com.mojang.serialization.Codec<DamageResistant>
a
CODEC
field_54229
f_inicxrod
CODEC
CODEC
f_347140_
public static final StreamCodec<RegistryFriendlyByteBuf, DamageResistant>
b
STREAM_CODEC
field_54230
f_ghvcpbjy
PACKET_CODEC
PACKET_CODEC
f_347411_

Constructor summary

ModifierConstructor
public (TagKey<DamageType> tag)

Method summary

Modifier and TypeMethod
public boolean
a(btc arg0)
isResistantTo(DamageSource arg0)
method_64198(class_1282 arg0)
m_kfbynese(C_sbxfkpyv arg0)
resists(DamageSource damageSource)
resists(DamageSource source)
m_355881_(C_489_ arg0)
public TagKey<DamageType>
a()
types()
comp_3210()
m_tkxyjpfd()
types()
resistedTypes()
f_348665_()