Skip to content

Commit

Permalink
Rename Neutral to Angerable
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus committed Jul 7, 2024
1 parent faee095 commit 9f9b860
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/spongepowered/api/data/Keys.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
import org.spongepowered.api.effect.sound.SoundType;
import org.spongepowered.api.effect.sound.music.MusicDisc;
import org.spongepowered.api.entity.Ageable;
import org.spongepowered.api.entity.Angerable;
import org.spongepowered.api.entity.AreaEffectCloud;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.entity.EntityArchetype;
Expand All @@ -118,7 +119,6 @@
import org.spongepowered.api.entity.ExperienceOrb;
import org.spongepowered.api.entity.FallingBlock;
import org.spongepowered.api.entity.Item;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Ownable;
import org.spongepowered.api.entity.ai.goal.GoalExecutorTypes;
import org.spongepowered.api.entity.display.BillboardType;
Expand Down Expand Up @@ -373,7 +373,7 @@ public final class Keys {
public static final Key<Value<SoundType>> AMBIENT_SOUND = Keys.key(ResourceKey.sponge("ambient_sound"), SoundType.class);

/**
* The anger level of a {@link Neutral}.
* The anger level of a {@link Angerable}.
*
* <p>Unlike {@link Keys#IS_ANGRY}, the aggressiveness represented by this key may
* fade over time and the entity will become peaceful again once its anger
Expand Down Expand Up @@ -1552,7 +1552,7 @@ public final class Keys {
public static final Key<Value<Boolean>> IS_AI_ENABLED = Keys.key(ResourceKey.sponge("is_ai_enabled"), Boolean.class);

/**
* Whether a {@link Neutral} is currently aggressive.
* Whether a {@link Angerable} is currently aggressive.
*/
public static final Key<Value<Boolean>> IS_ANGRY = Keys.key(ResourceKey.sponge("is_angry"), Boolean.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.value.Value;

public interface Neutral extends Entity {
public interface Angerable extends Entity {

/**
* {@link Keys#IS_ANGRY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
package org.spongepowered.api.entity.living.animal;

import org.spongepowered.api.entity.Aerial;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;

/**
* Represents a Bee.
*/
public interface Bee extends Animal, Aerial, Neutral {
public interface Bee extends Animal, Aerial, Angerable {
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@

import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.value.Value;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;

/**
* Represents a Polar Bear.
*/
public interface PolarBear extends Animal, Neutral {
public interface PolarBear extends Animal, Angerable {

/**
* {@link Keys#IS_STANDING}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.type.DyeColor;
import org.spongepowered.api.data.value.Value;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;

/**
* Represents a Wolf.
*/
public interface Wolf extends TameableAnimal, Neutral {
public interface Wolf extends TameableAnimal, Angerable {

/**
* {@link Keys#DYE_COLOR}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@

import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.value.Value;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;

/**
* Represents an Iron Golem.
*/
public interface IronGolem extends Golem, Neutral {
public interface IronGolem extends Golem, Angerable {

/**
* {@link Keys#IS_PLAYER_CREATED}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.value.Value;
import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;
import org.spongepowered.api.entity.living.Monster;

/**
* Represents an Enderman.
*/
public interface Enderman extends Monster, Neutral {
public interface Enderman extends Monster, Angerable {

/**
* {@link Keys#IS_SCREAMING}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
*/
package org.spongepowered.api.entity.living.monster.zombie;

import org.spongepowered.api.entity.Neutral;
import org.spongepowered.api.entity.Angerable;

/**
* Represents a Zombie Pigman.
*/
public interface ZombifiedPiglin extends Zombie, Neutral {
public interface ZombifiedPiglin extends Zombie, Angerable {
}

0 comments on commit 9f9b860

Please sign in to comment.