public interface Angerable
Modifier and Type | Method and Description |
---|---|
default void |
angerFromTag(ServerWorld world,
CompoundTag tag) |
default void |
angerToTag(CompoundTag tag) |
void |
chooseRandomAngerTime() |
default void |
forgive(PlayerEntity player) |
int |
getAngerTime() |
UUID |
getAngryAt() |
LivingEntity |
getTarget() |
default boolean |
hasAngerTime() |
default boolean |
isUniversallyAngry(World world) |
void |
setAngerTime(int ticks) |
void |
setAngryAt(UUID uuid) |
void |
setAttacker(LivingEntity attacker) |
void |
setAttacking(PlayerEntity attacking) |
void |
setTarget(LivingEntity target) |
default boolean |
shouldAngerAt(LivingEntity entity) |
default void |
stopAnger() |
default void |
tickAngerLogic(ServerWorld world,
boolean bool) |
default void |
universallyAnger() |
int getAngerTime()
void setAngerTime(int ticks)
void chooseRandomAngerTime()
default void angerToTag(CompoundTag tag)
default void angerFromTag(ServerWorld world, CompoundTag tag)
default void tickAngerLogic(ServerWorld world, boolean bool)
default boolean shouldAngerAt(LivingEntity entity)
default boolean isUniversallyAngry(World world)
default boolean hasAngerTime()
default void forgive(PlayerEntity player)
default void universallyAnger()
default void stopAnger()
void setAttacker(@Nullable LivingEntity attacker)
void setAttacking(@Nullable PlayerEntity attacking)
void setTarget(@Nullable LivingEntity target)
@Nullable LivingEntity getTarget()