mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-30 12:19:16 +00:00
Allow MythicMob regenerating entities, Temporarily remove MiniMessage
This commit is contained in:
@@ -5,24 +5,34 @@ import org.bukkit.entity.EntityType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class RegeneratingEntity {
|
||||
public final class RegeneratingEntity {
|
||||
|
||||
private final EntityType entityType;
|
||||
private final String entityType;
|
||||
private final List<Material> validSpawnSurfaces;
|
||||
private final int maxPerChunk;
|
||||
private final int rarity;
|
||||
private final boolean isMythicEntity;
|
||||
|
||||
public RegeneratingEntity(EntityType entityType, List<Material> validSpawnSurfaces, int maxPerChunk, int rarity) {
|
||||
public RegeneratingEntity(String entityType, List<Material> validSpawnSurfaces, int maxPerChunk, int rarity) {
|
||||
this.entityType = entityType;
|
||||
this.validSpawnSurfaces = validSpawnSurfaces;
|
||||
this.maxPerChunk = maxPerChunk;
|
||||
this.rarity = rarity;
|
||||
this.isMythicEntity = false;
|
||||
}
|
||||
|
||||
public EntityType getEntityType() {
|
||||
public RegeneratingEntity(EntityType entityType, List<Material> validSpawnSurfaces, int maxPerChunk, int rarity) {
|
||||
this(entityType.toString(), validSpawnSurfaces, maxPerChunk, rarity);
|
||||
}
|
||||
|
||||
public String getEntity() {
|
||||
return entityType;
|
||||
}
|
||||
|
||||
public boolean isMythicEntity() {
|
||||
return isMythicEntity;
|
||||
}
|
||||
|
||||
public List<Material> getValidSpawnSurfaces() {
|
||||
return validSpawnSurfaces;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user