Class GameStateChangeS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.GameStateChangeS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class GameStateChangeS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qi
intermediary net/minecraft/class_2668
named net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GameStateChangeS2CPacket.Reason
-
Field Summary
Fields Modifier and Type Field Description static GameStateChangeS2CPacket.Reason
DEMO_MESSAGE_SHOWN
static GameStateChangeS2CPacket.Reason
ELDER_GUARDIAN_EFFECT
static GameStateChangeS2CPacket.Reason
GAME_MODE_CHANGED
static GameStateChangeS2CPacket.Reason
GAME_WON
static GameStateChangeS2CPacket.Reason
IMMEDIATE_RESPAWN
static GameStateChangeS2CPacket.Reason
NO_RESPAWN_BLOCK
static GameStateChangeS2CPacket.Reason
PROJECTILE_HIT_PLAYER
static GameStateChangeS2CPacket.Reason
PUFFERFISH_STING
static GameStateChangeS2CPacket.Reason
RAIN_GRADIENT_CHANGED
static GameStateChangeS2CPacket.Reason
RAIN_STARTED
static GameStateChangeS2CPacket.Reason
RAIN_STOPPED
private GameStateChangeS2CPacket.Reason
reason
static GameStateChangeS2CPacket.Reason
THUNDER_GRADIENT_CHANGED
private float
value
-
Constructor Summary
Constructors Constructor Description GameStateChangeS2CPacket()
GameStateChangeS2CPacket(GameStateChangeS2CPacket.Reason reason, float value)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
GameStateChangeS2CPacket.Reason
getReason()
float
getValue()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
NO_RESPAWN_BLOCK
- Mappings:
Namespace Name Mixin selector official a
Lqi;a:Lqi$a;
intermediary field_25645
Lnet/minecraft/class_2668;field_25645:Lnet/minecraft/class_2668$class_5402;
named NO_RESPAWN_BLOCK
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;NO_RESPAWN_BLOCK:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
RAIN_STARTED
- Mappings:
Namespace Name Mixin selector official b
Lqi;b:Lqi$a;
intermediary field_25646
Lnet/minecraft/class_2668;field_25646:Lnet/minecraft/class_2668$class_5402;
named RAIN_STARTED
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;RAIN_STARTED:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
RAIN_STOPPED
- Mappings:
Namespace Name Mixin selector official c
Lqi;c:Lqi$a;
intermediary field_25647
Lnet/minecraft/class_2668;field_25647:Lnet/minecraft/class_2668$class_5402;
named RAIN_STOPPED
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;RAIN_STOPPED:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
GAME_MODE_CHANGED
- Mappings:
Namespace Name Mixin selector official d
Lqi;d:Lqi$a;
intermediary field_25648
Lnet/minecraft/class_2668;field_25648:Lnet/minecraft/class_2668$class_5402;
named GAME_MODE_CHANGED
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;GAME_MODE_CHANGED:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
GAME_WON
- Mappings:
Namespace Name Mixin selector official e
Lqi;e:Lqi$a;
intermediary field_25649
Lnet/minecraft/class_2668;field_25649:Lnet/minecraft/class_2668$class_5402;
named GAME_WON
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;GAME_WON:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
DEMO_MESSAGE_SHOWN
- Mappings:
Namespace Name Mixin selector official f
Lqi;f:Lqi$a;
intermediary field_25650
Lnet/minecraft/class_2668;field_25650:Lnet/minecraft/class_2668$class_5402;
named DEMO_MESSAGE_SHOWN
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;DEMO_MESSAGE_SHOWN:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
PROJECTILE_HIT_PLAYER
- Mappings:
Namespace Name Mixin selector official g
Lqi;g:Lqi$a;
intermediary field_25651
Lnet/minecraft/class_2668;field_25651:Lnet/minecraft/class_2668$class_5402;
named PROJECTILE_HIT_PLAYER
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;PROJECTILE_HIT_PLAYER:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
RAIN_GRADIENT_CHANGED
- Mappings:
Namespace Name Mixin selector official h
Lqi;h:Lqi$a;
intermediary field_25652
Lnet/minecraft/class_2668;field_25652:Lnet/minecraft/class_2668$class_5402;
named RAIN_GRADIENT_CHANGED
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;RAIN_GRADIENT_CHANGED:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
THUNDER_GRADIENT_CHANGED
- Mappings:
Namespace Name Mixin selector official i
Lqi;i:Lqi$a;
intermediary field_25653
Lnet/minecraft/class_2668;field_25653:Lnet/minecraft/class_2668$class_5402;
named THUNDER_GRADIENT_CHANGED
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;THUNDER_GRADIENT_CHANGED:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
PUFFERFISH_STING
- Mappings:
Namespace Name Mixin selector official j
Lqi;j:Lqi$a;
intermediary field_25654
Lnet/minecraft/class_2668;field_25654:Lnet/minecraft/class_2668$class_5402;
named PUFFERFISH_STING
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;PUFFERFISH_STING:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
ELDER_GUARDIAN_EFFECT
- Mappings:
Namespace Name Mixin selector official k
Lqi;k:Lqi$a;
intermediary field_25655
Lnet/minecraft/class_2668;field_25655:Lnet/minecraft/class_2668$class_5402;
named ELDER_GUARDIAN_EFFECT
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;ELDER_GUARDIAN_EFFECT:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
IMMEDIATE_RESPAWN
- Mappings:
Namespace Name Mixin selector official l
Lqi;l:Lqi$a;
intermediary field_25656
Lnet/minecraft/class_2668;field_25656:Lnet/minecraft/class_2668$class_5402;
named IMMEDIATE_RESPAWN
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;IMMEDIATE_RESPAWN:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
reason
- Mappings:
Namespace Name Mixin selector official m
Lqi;m:Lqi$a;
intermediary field_12199
Lnet/minecraft/class_2668;field_12199:Lnet/minecraft/class_2668$class_5402;
named reason
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;reason:Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
value
private float value- Mappings:
Namespace Name Mixin selector official n
Lqi;n:F
intermediary field_12198
Lnet/minecraft/class_2668;field_12198:F
named value
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;value:F
-
-
Constructor Details
-
GameStateChangeS2CPacket
public GameStateChangeS2CPacket() -
GameStateChangeS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqi;<init>(Lqi$a;F)V
intermediary <init>
Lnet/minecraft/class_2668;<init>(Lnet/minecraft/class_2668$class_5402;F)V
named <init>
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;F)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqi;a(Lpd;)V
intermediary method_11490
Lnet/minecraft/class_2668;method_11490(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getReason
- Mappings:
Namespace Name Mixin selector official b
Lqi;b()Lqi$a;
intermediary method_11491
Lnet/minecraft/class_2668;method_11491()Lnet/minecraft/class_2668$class_5402;
named getReason
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;getReason()Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;
-
getValue
- Mappings:
Namespace Name Mixin selector official c
Lqi;c()F
intermediary method_11492
Lnet/minecraft/class_2668;method_11492()F
named getValue
Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket;getValue()F
-