Package me.desht.pneumaticcraft.api
Class DamageSourcePneumaticCraft
java.lang.Object
net.minecraft.world.damagesource.DamageSource
me.desht.pneumaticcraft.api.DamageSourcePneumaticCraft
- Direct Known Subclasses:
DamageSourcePneumaticCraft.DamageSourceDroneOverload
public class DamageSourcePneumaticCraft
extends net.minecraft.world.damagesource.DamageSource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.damagesource.DamageSourcestatic final net.minecraft.world.damagesource.DamageSourceDeprecated, for removal: This API element is subject to removal in a future version.static final net.minecraft.world.damagesource.DamageSourcestatic final net.minecraft.world.damagesource.DamageSourcestatic final net.minecraft.world.damagesource.DamageSourceFields inherited from class net.minecraft.world.damagesource.DamageSource
ANVIL, CACTUS, CRAMMING, DRAGON_BREATH, DROWN, DRY_OUT, FALL, FALLING_BLOCK, FALLING_STALACTITE, FLY_INTO_WALL, FREEZE, GENERIC, HOT_FLOOR, IN_FIRE, IN_WALL, LAVA, LIGHTNING_BOLT, MAGIC, msgId, ON_FIRE, OUT_OF_WORLD, STALAGMITE, STARVE, SWEET_BERRY_BUSH, WITHER -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentgetLocalizedDeathMessage(net.minecraft.world.entity.LivingEntity dyingEntity) static booleanisDroneOverload(net.minecraft.world.damagesource.DamageSource src) Methods inherited from class net.minecraft.world.damagesource.DamageSource
arrow, badRespawnPointExplosion, bypassArmor, bypassInvul, bypassMagic, damageHelmet, explosion, explosion, fireball, fireworks, getDirectEntity, getEntity, getFoodExhaustion, getMsgId, getSourcePosition, indirectMagic, indirectMobAttack, isBypassArmor, isBypassInvul, isBypassMagic, isCreativePlayer, isDamageHelmet, isExplosion, isFall, isFire, isMagic, isNoAggro, isProjectile, mobAttack, playerAttack, scalesWithDifficulty, setExplosion, setIsFall, setIsFire, setMagic, setNoAggro, setProjectile, setScalesWithDifficulty, sting, thorns, thrown, toString, trident, witherSkull
-
Field Details
-
FREEZING
@Deprecated(forRemoval=true) public static final net.minecraft.world.damagesource.DamageSource FREEZINGDeprecated, for removal: This API element is subject to removal in a future version.@DeprecatedWill be removed in 1.19 in favor of Vanilla Freeze Damage Source -
PRESSURE
public static final net.minecraft.world.damagesource.DamageSource PRESSURE -
ETCHING_ACID
public static final net.minecraft.world.damagesource.DamageSource ETCHING_ACID -
SECURITY_STATION
public static final net.minecraft.world.damagesource.DamageSource SECURITY_STATION -
PLASTIC_BLOCK
public static final net.minecraft.world.damagesource.DamageSource PLASTIC_BLOCK
-
-
Method Details
-
isDroneOverload
public static boolean isDroneOverload(net.minecraft.world.damagesource.DamageSource src) -
getLocalizedDeathMessage
public net.minecraft.network.chat.Component getLocalizedDeathMessage(net.minecraft.world.entity.LivingEntity dyingEntity) - Overrides:
getLocalizedDeathMessagein classnet.minecraft.world.damagesource.DamageSource
-