public class ServerConfigListPacket extends AbstractPixelmonPacket
Modifier and Type | Field and Description |
---|---|
boolean |
afkHandlerOn
Whether the AFK handler will take over PvP battles after a period of inactivity.
|
int |
afkTimerActivateSeconds
The time it takes for the AFK handler to activate.
|
boolean |
allowCapturingOutsideBattle
Whether Poké Balls can capture Pokémon outside of battle.
|
boolean |
allowExternalMoves |
boolean |
allowShinyCharmFromPokedex |
boolean |
limitShopKeeperStackSize
Whether client should set max buy size to stacksize or inventory availability
|
int |
maxLevel
The maximum pokemonLevel that a Pokémon can be.
|
boolean |
renderWildLevels
Whether wild pokemon levels should be rendered or not
|
float |
ridingSpeedMultiplier
Multiplier for the speed that mounted Pokémon travel at.
|
boolean |
superUniversalTMs |
boolean |
universalTMs |
Constructor and Description |
---|
ServerConfigListPacket()
Initializes a sync packet.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buf)
Decodes the information from the buffer to the packet instance
|
void |
encode(net.minecraft.network.PacketBuffer buf)
Encodes the buffer with the packet information
|
protected void |
handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context) |
handle, reply
public boolean allowCapturingOutsideBattle
public int maxLevel
public float ridingSpeedMultiplier
public boolean afkHandlerOn
public int afkTimerActivateSeconds
public boolean renderWildLevels
public boolean allowShinyCharmFromPokedex
public boolean allowExternalMoves
public boolean limitShopKeeperStackSize
public boolean universalTMs
public boolean superUniversalTMs
public ServerConfigListPacket()
public void decode(net.minecraft.network.PacketBuffer buf)
PixelmonPacket
decode
in interface PixelmonPacket
decode
in class AbstractPixelmonPacket
buf
- The buffer being decodedpublic void encode(net.minecraft.network.PacketBuffer buf)
PixelmonPacket
encode
in interface PixelmonPacket
encode
in class AbstractPixelmonPacket
buf
- The buffer being encodedprotected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket
in class AbstractPixelmonPacket