Class RaidData.RaidPlayer
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.data.RaidData.RaidPlayer
- Enclosing class:
RaidData
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRaidPlayer(int index, net.minecraft.server.level.ServerPlayer player, Pokemon pokemon) RaidPlayer(RaidAlly ally) RaidPlayer(RaidAlly ally, int level) RaidPlayer(net.minecraft.network.RegistryFriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.Holder<BattleAI> getAi()getName()booleanisPlayer()booleaninttryCatch(RaidData raid, PokeBall ball, BattleController bc) voidupdatePokemon(int index, Pokemon pokemon) voidwinRaid(RaidBossPixelmonParticipant rpp, RaidData raid) voidwrite(net.minecraft.network.RegistryFriendlyByteBuf buf)
-
Field Details
-
player
-
name
-
skin
-
uuid
-
index
public int index -
playerEntity
public net.minecraft.server.level.ServerPlayer playerEntity -
battleController
-
possibleCatch
-
canCatch
public boolean canCatch -
catchAttempted
public boolean catchAttempted -
drops
-
pokemon
-
ally
-
-
Constructor Details
-
RaidPlayer
-
RaidPlayer
-
RaidPlayer
-
RaidPlayer
public RaidPlayer(net.minecraft.network.RegistryFriendlyByteBuf buf)
-
-
Method Details
-
updatePokemon
-
isPlayer
public boolean isPlayer() -
isValidPlayerFor
-
getName
-
getAi
-
winRaid
-
tryCatch
-
write
public void write(net.minecraft.network.RegistryFriendlyByteBuf buf)
-