Class BossTier
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.boss.BossTier
-
Constructor Summary
ConstructorDescriptionBossTier
(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext ctx) BossTier
(String id, String name, boolean canRandomlySpawn, int weight, Color color, float modelScaleFactor, boolean isMega, double megaStoneObtainChance, double megaStoneRepeatChance, String alwaysPalette, double levelMultiplier, int extraLevels, DropSet... dropSets) BossTier
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getColor()
getDrops
(net.minecraft.server.level.ServerPlayer player, AbstractHoldsItemsEntity pixelmon) int
getID()
double
float
getName()
int
int
hashCode()
boolean
isBoss()
boolean
isMega()
boolean
void
toBuffer
(net.minecraft.network.FriendlyByteBuf buf) com.google.gson.JsonObject
toJson
(com.google.gson.JsonSerializationContext ctx) toString()
-
Constructor Details
-
BossTier
-
BossTier
public BossTier(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext ctx) -
BossTier
public BossTier(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonSerializationContext ctx) -
toBuffer
public void toBuffer(net.minecraft.network.FriendlyByteBuf buf) -
getID
-
getName
-
isBoss
public boolean isBoss() -
isNotBoss
public boolean isNotBoss() -
canRandomlySpawn
public boolean canRandomlySpawn() -
getWeight
public int getWeight() -
getColor
-
getModelScaleFactor
public float getModelScaleFactor() -
isMega
public boolean isMega() -
getAlwaysPalette
-
getLevelMultiplier
public double getLevelMultiplier() -
getExtraLevels
public int getExtraLevels() -
getDrops
public Set<DropSet.Drop> getDrops(net.minecraft.server.level.ServerPlayer player, AbstractHoldsItemsEntity pixelmon) -
equals
-
hashCode
public int hashCode() -
toString
-