Uses of Enum Class
net.minecraft.entity.Entity.RemovalReason
Package
Description
-
Uses of Entity.RemovalReason in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.removeEntity
(int entityId, Entity.RemovalReason removalReason) -
Uses of Entity.RemovalReason in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.getRemovalReason()
Returns the reason for the entity's removal, ornull
if it is not removed.static Entity.RemovalReason
Returns the enum constant of this class with the specified name.static Entity.RemovalReason[]
Entity.RemovalReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprotected void
LivingEntity.onRemoval
(ServerWorld world, Entity.RemovalReason reason) void
Entity.onRemove
(Entity.RemovalReason reason) Called when the entity is about to be removed.void
Entity.remove
(Entity.RemovalReason reason) Removes the entity.void
LivingEntity.remove
(Entity.RemovalReason reason) Removes the entity.final void
Entity.setRemoved
(Entity.RemovalReason reason) -
Uses of Entity.RemovalReason in net.minecraft.entity.effect
Modifier and TypeMethodDescriptionvoid
OozingStatusEffect.onEntityRemoval
(ServerWorld world, LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
StatusEffect.onEntityRemoval
(ServerWorld world, LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
StatusEffectInstance.onEntityRemoval
(ServerWorld world, LivingEntity entity, Entity.RemovalReason reason) void
WeavingStatusEffect.onEntityRemoval
(ServerWorld world, LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
WindChargedStatusEffect.onEntityRemoval
(ServerWorld world, LivingEntity entity, int amplifier, Entity.RemovalReason reason) -
Uses of Entity.RemovalReason in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionvoid
SlimeEntity.remove
(Entity.RemovalReason reason) Removes the entity. -
Uses of Entity.RemovalReason in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerEntity.remove
(Entity.RemovalReason reason) Removes the entity. -
Uses of Entity.RemovalReason in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionvoid
FishingBobberEntity.remove
(Entity.RemovalReason reason) Removes the entity. -
Uses of Entity.RemovalReason in net.minecraft.entity.projectile.thrown
Modifier and TypeMethodDescriptionvoid
EnderPearlEntity.onRemove
(Entity.RemovalReason reason) Called when the entity is about to be removed. -
Uses of Entity.RemovalReason in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionvoid
AbstractBoatEntity.remove
(Entity.RemovalReason reason) Removes the entity.void
AbstractChestBoatEntity.remove
(Entity.RemovalReason reason) Removes the entity.void
StorageMinecartEntity.remove
(Entity.RemovalReason reason) Removes the entity. -
Uses of Entity.RemovalReason in net.minecraft.server
Modifier and TypeMethodDescriptionPlayerManager.respawnPlayer
(ServerPlayerEntity player, boolean alive, Entity.RemovalReason removalReason) -
Uses of Entity.RemovalReason in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerEntityManager.Listener.remove
(Entity.RemovalReason reason) void
ServerWorld.removePlayer
(ServerPlayerEntity player, Entity.RemovalReason reason) -
Uses of Entity.RemovalReason in net.minecraft.world.entity
Modifier and TypeMethodDescriptionvoid
ClientEntityManager.Listener.remove
(Entity.RemovalReason reason) void
EntityChangeListener.remove
(Entity.RemovalReason reason) void
EntityLike.setRemoved
(Entity.RemovalReason reason)