PLAY_CLIENTBOUND_2D
- Direction
- Server to client
- ID
- 45
writeVarIntEnum(a);
writeVarInt(b.size());
Object var2 = this.b.iterator();
while(var2.hasNext()) {
Object var3 = ((gz$b)var2.next());
switch(gz$1.a[this.a.ordinal()]) {
case 1:
writeUUID(var3.a().getId());
writeString(var3.a().getName());
writeVarInt(var3.a().getProperties().size());
Object var4 = var3.a().getProperties().values().iterator();
while(var4.hasNext()) {
Object var5 = ((Property)var4.next());
writeString(var5.getName());
writeString(var5.getValue());
if(var5.hasSignature()) {
writeBoolean(1);
writeString(var5.getSignature());
} else {
writeBoolean(0);
}
}
writeVarInt(var3.c().a());
writeVarInt(var3.b());
if(var3.d() == null) {
writeBoolean(0);
break;
}
writeBoolean(1);
writeChatComponent(var3.d());
break;
case 2:
writeUUID(var3.a().getId());
writeVarInt(var3.c().a());
break;
case 3:
writeUUID(var3.a().getId());
writeVarInt(var3.b());
break;
case 4:
writeUUID(var3.a().getId());
if(var3.d() == null) {
writeBoolean(0);
break;
}
writeBoolean(1);
writeChatComponent(var3.d());
break;
case 5:
writeUUID(var3.a().getId());
}
}