Uses of Enum Class
net.minecraft.entity.Entity.RemovalReason
Package
Description
-
Uses of Entity.RemovalReason in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientEntityManager.Listener.remove
(Entity.RemovalReason reason) void
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 TypeMethodDescriptionvoid
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
(LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
StatusEffect.onEntityRemoval
(LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
StatusEffectInstance.onEntityRemoval
(LivingEntity entity, Entity.RemovalReason reason) void
WeavingStatusEffect.onEntityRemoval
(LivingEntity entity, int amplifier, Entity.RemovalReason reason) void
WindChargedStatusEffect.onEntityRemoval
(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.vehicle
Modifier and TypeMethodDescriptionvoid
ChestBoatEntity.remove
(Entity.RemovalReason reason) Removes the entity.void
StorageMinecartEntity.remove
(Entity.RemovalReason reason) Removes the entity. -
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
EntityChangeListener.remove
(Entity.RemovalReason reason) void
EntityLike.setRemoved
(Entity.RemovalReason reason)