Add support for solar energy scaling during day (#2497)

This commit is contained in:
Dave Smith 2021-09-16 15:45:38 -06:00 committed by GitHub
parent dcca103f9a
commit 56dcc4dd16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 52 deletions

View file

@ -59,6 +59,10 @@ public enum ObjectBufferUtils {
buffer.writeFloat(pos);
}, ExtendedPacketBuffer::readFloat),
BOOLEAN(Boolean.class, (value, buffer) -> {
buffer.writeBoolean(value);
}, ExtendedPacketBuffer::readBoolean),
BLOCK_POS(BlockPos.class, (pos, buffer) -> {
buffer.writeBlockPos(pos);
}, PacketByteBuf::readBlockPos),