From ae3a799ae533c333d0d34ac40957b1604aa5f26b Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 17:57:19 +0900 Subject: [PATCH 01/15] =?UTF-8?q?=F0=9F=92=9A=20Add=20clang-format=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/clang-format.yml | 24 +++++++++++++++++++ CMakeLists.txt | 2 ++ .../src/main/cpp/framebuffer_capturer.cpp | 19 +++++++++++---- 3 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/clang-format.yml diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml new file mode 100644 index 00000000..62c6b6ff --- /dev/null +++ b/.github/workflows/clang-format.yml @@ -0,0 +1,24 @@ +name: Format Check for C++ and Objective-C + +on: + pull_request: + paths: + - '**/*.cpp' + - '**/*.c' + - '**/*.h' + - '**/*.mm' + - '**/*.m' + +jobs: + format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install clang-format + run: sudo apt install clang-format + - name: Find and Check All Files + run: | + FILES=$(find . -type f \( -name '*.cpp' -o -name '*.c' -o -name '*.h' -o -name '*.mm' -o -name '*.m' \)) + for file in $FILES; do + clang-format --dry-run -Werror $file || exit 1 + done diff --git a/CMakeLists.txt b/CMakeLists.txt index e52b3448..78508ec0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,8 @@ elseif(CUDAToolkit_FOUND) # CUDA-specific compile options set(CRAFTGROUND_PY_COMPILE_OPTIONS -DHAS_CUDA) + target_include_directories(craftground PRIVATE ${CUDAToolkit_INCLUDE_DIRS}) + target_link_libraries(craftground PRIVATE ${CUDAToolkit_LIBRARIES}) endif() # Add the module diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp index 80b76f54..05fa0ae2 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp @@ -446,7 +446,7 @@ extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_Framebuff #elif defined(HAS_CUDA) #include "framebuffer_capturer_cuda.h" -extern "C" JNIEXPORT jint JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( +extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( JNIEnv *env, jclass clazz, jint width, @@ -487,8 +487,9 @@ extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_Framebuff } #else - -extern "C" JNIEXPORT jint JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( +// Returns an empty ByteString object. +// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> CPU) +extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( JNIEnv *env, jclass clazz, jint width, @@ -496,9 +497,19 @@ extern "C" JNIEXPORT jint JNICALL Java_com_kyhsgeekcode_minecraft_1env_Framebuff jint colorAttachment, jint depthAttachment ) { - return -1; + jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); + if (byteStringClass == nullptr || env->ExceptionCheck()) { + return nullptr; + } + jfieldID emptyField = env->GetStaticFieldID(byteStringClass, "EMPTY", "Lcom/google/protobuf/ByteString;"); + if (emptyField == nullptr || env->ExceptionCheck()) { + return nullptr; + } + jobject emptyByteString = env->GetStaticObjectField(byteStringClass, emptyField); + return emptyByteString; } +// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> CPU) extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( JNIEnv *env, jclass clazz, From b62ecede788dca46b870ebf259f7318ab6d56191 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:10:38 +0900 Subject: [PATCH 02/15] =?UTF-8?q?=F0=9F=8E=A8=20Clang-format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .clang-format | 4 + src/cpp/dlpack.h | 376 +++++++------- src/cpp/ipc.cpp | 39 +- src/cpp/ipc.h | 3 +- src/cpp/ipc_apple.h | 2 +- src/cpp/ipc_cuda.cpp | 32 +- src/cpp/ipc_cuda.h | 5 +- .../src/main/cpp/framebuffer_capturer.cpp | 487 ++++++++---------- .../src/main/cpp/framebuffer_capturer_apple.h | 5 +- .../main/cpp/framebuffer_capturer_cuda.cpp | 25 +- .../src/main/cpp/framebuffer_capturer_cuda.h | 7 +- 11 files changed, 492 insertions(+), 493 deletions(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..c862a6ea --- /dev/null +++ b/.clang-format @@ -0,0 +1,4 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +PointerAlignment: Right +AlignAfterOpenBracket: BlockIndent \ No newline at end of file diff --git a/src/cpp/dlpack.h b/src/cpp/dlpack.h index 608bc059..831fa809 100644 --- a/src/cpp/dlpack.h +++ b/src/cpp/dlpack.h @@ -32,8 +32,8 @@ #define DLPACK_DLL #endif -#include #include +#include #ifdef __cplusplus extern "C" { @@ -59,10 +59,10 @@ extern "C" { * updates indicate the addition of enumeration values. */ typedef struct { - /*! \brief DLPack major version. */ - uint32_t major; - /*! \brief DLPack minor version. */ - uint32_t minor; + /*! \brief DLPack major version. */ + uint32_t major; + /*! \brief DLPack minor version. */ + uint32_t minor; } DLPackVersion; /*! @@ -73,168 +73,171 @@ typedef enum : int32_t { #else typedef enum { #endif - /*! \brief CPU device */ - kDLCPU = 1, - /*! \brief CUDA GPU device */ - kDLCUDA = 2, - /*! - * \brief Pinned CUDA CPU memory by cudaMallocHost - */ - kDLCUDAHost = 3, - /*! \brief OpenCL devices. */ - kDLOpenCL = 4, - /*! \brief Vulkan buffer for next generation graphics. */ - kDLVulkan = 7, - /*! \brief Metal for Apple GPU. */ - kDLMetal = 8, - /*! \brief Verilog simulator buffer */ - kDLVPI = 9, - /*! \brief ROCm GPUs for AMD GPUs */ - kDLROCM = 10, - /*! - * \brief Pinned ROCm CPU memory allocated by hipMallocHost - */ - kDLROCMHost = 11, - /*! - * \brief Reserved extension device type, - * used for quickly test extension device - * The semantics can differ depending on the implementation. - */ - kDLExtDev = 12, - /*! - * \brief CUDA managed/unified memory allocated by cudaMallocManaged - */ - kDLCUDAManaged = 13, - /*! - * \brief Unified shared memory allocated on a oneAPI non-partititioned - * device. Call to oneAPI runtime is required to determine the device - * type, the USM allocation type and the sycl context it is bound to. - * - */ - kDLOneAPI = 14, - /*! \brief GPU support for next generation WebGPU standard. */ - kDLWebGPU = 15, - /*! \brief Qualcomm Hexagon DSP */ - kDLHexagon = 16, - /*! \brief Microsoft MAIA devices */ - kDLMAIA = 17, + /*! \brief CPU device */ + kDLCPU = 1, + /*! \brief CUDA GPU device */ + kDLCUDA = 2, + /*! + * \brief Pinned CUDA CPU memory by cudaMallocHost + */ + kDLCUDAHost = 3, + /*! \brief OpenCL devices. */ + kDLOpenCL = 4, + /*! \brief Vulkan buffer for next generation graphics. */ + kDLVulkan = 7, + /*! \brief Metal for Apple GPU. */ + kDLMetal = 8, + /*! \brief Verilog simulator buffer */ + kDLVPI = 9, + /*! \brief ROCm GPUs for AMD GPUs */ + kDLROCM = 10, + /*! + * \brief Pinned ROCm CPU memory allocated by hipMallocHost + */ + kDLROCMHost = 11, + /*! + * \brief Reserved extension device type, + * used for quickly test extension device + * The semantics can differ depending on the implementation. + */ + kDLExtDev = 12, + /*! + * \brief CUDA managed/unified memory allocated by cudaMallocManaged + */ + kDLCUDAManaged = 13, + /*! + * \brief Unified shared memory allocated on a oneAPI non-partititioned + * device. Call to oneAPI runtime is required to determine the device + * type, the USM allocation type and the sycl context it is bound to. + * + */ + kDLOneAPI = 14, + /*! \brief GPU support for next generation WebGPU standard. */ + kDLWebGPU = 15, + /*! \brief Qualcomm Hexagon DSP */ + kDLHexagon = 16, + /*! \brief Microsoft MAIA devices */ + kDLMAIA = 17, } DLDeviceType; /*! * \brief A Device for Tensor and operator. */ typedef struct { - /*! \brief The device type used in the device. */ - DLDeviceType device_type; - /*! - * \brief The device index. - * For vanilla CPU memory, pinned memory, or managed memory, this is set to 0. - */ - int32_t device_id; + /*! \brief The device type used in the device. */ + DLDeviceType device_type; + /*! + * \brief The device index. + * For vanilla CPU memory, pinned memory, or managed memory, this is set to + * 0. + */ + int32_t device_id; } DLDevice; /*! * \brief The type code options DLDataType. */ typedef enum { - /*! \brief signed integer */ - kDLInt = 0U, - /*! \brief unsigned integer */ - kDLUInt = 1U, - /*! \brief IEEE floating point */ - kDLFloat = 2U, - /*! - * \brief Opaque handle type, reserved for testing purposes. - * Frameworks need to agree on the handle data type for the exchange to be well-defined. - */ - kDLOpaqueHandle = 3U, - /*! \brief bfloat16 */ - kDLBfloat = 4U, - /*! - * \brief complex number - * (C/C++/Python layout: compact struct per complex number) - */ - kDLComplex = 5U, - /*! \brief boolean */ - kDLBool = 6U, + /*! \brief signed integer */ + kDLInt = 0U, + /*! \brief unsigned integer */ + kDLUInt = 1U, + /*! \brief IEEE floating point */ + kDLFloat = 2U, + /*! + * \brief Opaque handle type, reserved for testing purposes. + * Frameworks need to agree on the handle data type for the exchange to be + * well-defined. + */ + kDLOpaqueHandle = 3U, + /*! \brief bfloat16 */ + kDLBfloat = 4U, + /*! + * \brief complex number + * (C/C++/Python layout: compact struct per complex number) + */ + kDLComplex = 5U, + /*! \brief boolean */ + kDLBool = 6U, } DLDataTypeCode; /*! - * \brief The data type the tensor can hold. The data type is assumed to follow the - * native endian-ness. An explicit error message should be raised when attempting to - * export an array with non-native endianness + * \brief The data type the tensor can hold. The data type is assumed to follow + * the native endian-ness. An explicit error message should be raised when + * attempting to export an array with non-native endianness * * Examples * - float: type_code = 2, bits = 32, lanes = 1 * - float4(vectorized 4 float): type_code = 2, bits = 32, lanes = 4 * - int8: type_code = 0, bits = 8, lanes = 1 * - std::complex: type_code = 5, bits = 64, lanes = 1 - * - bool: type_code = 6, bits = 8, lanes = 1 (as per common array library convention, the underlying storage size of bool is 8 bits) + * - bool: type_code = 6, bits = 8, lanes = 1 (as per common array library + * convention, the underlying storage size of bool is 8 bits) */ typedef struct { - /*! - * \brief Type code of base types. - * We keep it uint8_t instead of DLDataTypeCode for minimal memory - * footprint, but the value should be one of DLDataTypeCode enum values. - * */ - uint8_t code; - /*! - * \brief Number of bits, common choices are 8, 16, 32. - */ - uint8_t bits; - /*! \brief Number of lanes in the type, used for vector types. */ - uint16_t lanes; + /*! + * \brief Type code of base types. + * We keep it uint8_t instead of DLDataTypeCode for minimal memory + * footprint, but the value should be one of DLDataTypeCode enum values. + * */ + uint8_t code; + /*! + * \brief Number of bits, common choices are 8, 16, 32. + */ + uint8_t bits; + /*! \brief Number of lanes in the type, used for vector types. */ + uint16_t lanes; } DLDataType; /*! * \brief Plain C Tensor object, does not manage memory. */ typedef struct { - /*! - * \brief The data pointer points to the allocated data. This will be CUDA - * device pointer or cl_mem handle in OpenCL. It may be opaque on some device - * types. This pointer is always aligned to 256 bytes as in CUDA. The - * `byte_offset` field should be used to point to the beginning of the data. - * - * Note that as of Nov 2021, multiply libraries (CuPy, PyTorch, TensorFlow, - * TVM, perhaps others) do not adhere to this 256 byte aligment requirement - * on CPU/CUDA/ROCm, and always use `byte_offset=0`. This must be fixed - * (after which this note will be updated); at the moment it is recommended - * to not rely on the data pointer being correctly aligned. - * - * For given DLTensor, the size of memory required to store the contents of - * data is calculated as follows: - * - * \code{.c} - * static inline size_t GetDataSize(const DLTensor* t) { - * size_t size = 1; - * for (tvm_index_t i = 0; i < t->ndim; ++i) { - * size *= t->shape[i]; - * } - * size *= (t->dtype.bits * t->dtype.lanes + 7) / 8; - * return size; - * } - * \endcode - * - * Note that if the tensor is of size zero, then the data pointer should be - * set to `NULL`. - */ - void* data; - /*! \brief The device of the tensor */ - DLDevice device; - /*! \brief Number of dimensions */ - int32_t ndim; - /*! \brief The data type of the pointer*/ - DLDataType dtype; - /*! \brief The shape of the tensor */ - int64_t* shape; - /*! - * \brief strides of the tensor (in number of elements, not bytes) - * can be NULL, indicating tensor is compact and row-majored. - */ - int64_t* strides; - /*! \brief The offset in bytes to the beginning pointer to data */ - uint64_t byte_offset; + /*! + * \brief The data pointer points to the allocated data. This will be CUDA + * device pointer or cl_mem handle in OpenCL. It may be opaque on some + * device types. This pointer is always aligned to 256 bytes as in CUDA. The + * `byte_offset` field should be used to point to the beginning of the data. + * + * Note that as of Nov 2021, multiply libraries (CuPy, PyTorch, TensorFlow, + * TVM, perhaps others) do not adhere to this 256 byte aligment requirement + * on CPU/CUDA/ROCm, and always use `byte_offset=0`. This must be fixed + * (after which this note will be updated); at the moment it is recommended + * to not rely on the data pointer being correctly aligned. + * + * For given DLTensor, the size of memory required to store the contents of + * data is calculated as follows: + * + * \code{.c} + * static inline size_t GetDataSize(const DLTensor* t) { + * size_t size = 1; + * for (tvm_index_t i = 0; i < t->ndim; ++i) { + * size *= t->shape[i]; + * } + * size *= (t->dtype.bits * t->dtype.lanes + 7) / 8; + * return size; + * } + * \endcode + * + * Note that if the tensor is of size zero, then the data pointer should be + * set to `NULL`. + */ + void *data; + /*! \brief The device of the tensor */ + DLDevice device; + /*! \brief Number of dimensions */ + int32_t ndim; + /*! \brief The data type of the pointer*/ + DLDataType dtype; + /*! \brief The shape of the tensor */ + int64_t *shape; + /*! + * \brief strides of the tensor (in number of elements, not bytes) + * can be NULL, indicating tensor is compact and row-majored. + */ + int64_t *strides; + /*! \brief The offset in bytes to the beginning pointer to data */ + uint64_t byte_offset; } DLTensor; /*! @@ -252,19 +255,19 @@ typedef struct { * \sa DLManagedTensorVersioned */ typedef struct DLManagedTensor { - /*! \brief DLTensor which is being memory managed */ - DLTensor dl_tensor; - /*! \brief the context of the original host framework of DLManagedTensor in - * which DLManagedTensor is used in the framework. It can also be NULL. - */ - void * manager_ctx; - /*! - * \brief Destructor - this should be called - * to destruct the manager_ctx which backs the DLManagedTensor. It can be - * NULL if there is no way for the caller to provide a reasonable destructor. - * The destructor deletes the argument self as well. - */ - void (*deleter)(struct DLManagedTensor * self); + /*! \brief DLTensor which is being memory managed */ + DLTensor dl_tensor; + /*! \brief the context of the original host framework of DLManagedTensor in + * which DLManagedTensor is used in the framework. It can also be NULL. + */ + void *manager_ctx; + /*! + * \brief Destructor - this should be called + * to destruct the manager_ctx which backs the DLManagedTensor. It can be + * NULL if there is no way for the caller to provide a reasonable + * destructor. The destructor deletes the argument self as well. + */ + void (*deleter)(struct DLManagedTensor *self); } DLManagedTensor; // bit masks used in in the DLManagedTensorVersioned @@ -291,42 +294,43 @@ typedef struct DLManagedTensor { * \note This is the current standard DLPack exchange data structure. */ struct DLManagedTensorVersioned { - /*! - * \brief The API and ABI version of the current managed Tensor - */ - DLPackVersion version; - /*! - * \brief the context of the original host framework. - * - * Stores DLManagedTensorVersioned is used in the - * framework. It can also be NULL. - */ - void *manager_ctx; - /*! - * \brief Destructor. - * - * This should be called to destruct manager_ctx which holds the DLManagedTensorVersioned. - * It can be NULL if there is no way for the caller to provide a reasonable - * destructor. The destructor deletes the argument self as well. - */ - void (*deleter)(struct DLManagedTensorVersioned *self); - /*! - * \brief Additional bitmask flags information about the tensor. - * - * By default the flags should be set to 0. - * - * \note Future ABI changes should keep everything until this field - * stable, to ensure that deleter can be correctly called. - * - * \sa DLPACK_FLAG_BITMASK_READ_ONLY - * \sa DLPACK_FLAG_BITMASK_IS_COPIED - */ - uint64_t flags; - /*! \brief DLTensor which is being memory managed */ - DLTensor dl_tensor; + /*! + * \brief The API and ABI version of the current managed Tensor + */ + DLPackVersion version; + /*! + * \brief the context of the original host framework. + * + * Stores DLManagedTensorVersioned is used in the + * framework. It can also be NULL. + */ + void *manager_ctx; + /*! + * \brief Destructor. + * + * This should be called to destruct manager_ctx which holds the + * DLManagedTensorVersioned. It can be NULL if there is no way for the + * caller to provide a reasonable destructor. The destructor deletes the + * argument self as well. + */ + void (*deleter)(struct DLManagedTensorVersioned *self); + /*! + * \brief Additional bitmask flags information about the tensor. + * + * By default the flags should be set to 0. + * + * \note Future ABI changes should keep everything until this field + * stable, to ensure that deleter can be correctly called. + * + * \sa DLPACK_FLAG_BITMASK_READ_ONLY + * \sa DLPACK_FLAG_BITMASK_IS_COPIED + */ + uint64_t flags; + /*! \brief DLTensor which is being memory managed */ + DLTensor dl_tensor; }; #ifdef __cplusplus -} // DLPACK_EXTERN_C +} // DLPACK_EXTERN_C #endif -#endif // DLPACK_DLPACK_H_ \ No newline at end of file +#endif // DLPACK_DLPACK_H_ \ No newline at end of file diff --git a/src/cpp/ipc.cpp b/src/cpp/ipc.cpp index 97e75630..1f796b85 100644 --- a/src/cpp/ipc.cpp +++ b/src/cpp/ipc.cpp @@ -4,15 +4,19 @@ #ifdef __APPLE__ #include "ipc_apple.h" py::object initialize_from_mach_port(int machPort, int width, int height) { - DLManagedTensor* tensor = mtl_tensor_from_mach_port(machPort, width, height); - return py::reinterpret_steal( - PyCapsule_New(tensor, "dltensor", [](PyObject* capsule) { - DLManagedTensor* tensor = (DLManagedTensor*)PyCapsule_GetPointer(capsule, "dltensor"); + DLManagedTensor *tensor = + mtl_tensor_from_mach_port(machPort, width, height); + return py::reinterpret_steal(PyCapsule_New( + tensor, "dltensor", + [](PyObject *capsule) { + DLManagedTensor *tensor = + (DLManagedTensor *)PyCapsule_GetPointer(capsule, "dltensor"); tensor->deleter(tensor); - }) - ); + } + )); } -py::object mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { +py::object +mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { return py::none(); } @@ -22,14 +26,18 @@ py::object initialize_from_mach_port(int machPort, int width, int height) { return py::none(); } -py::object mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { - DLManagedTensor* tensor = mtl_tensor_from_cuda_ipc_handle(cuda_ipc_handle, width, height); - return py::reinterpret_steal( - PyCapsule_New(tensor, "dltensor", [](PyObject* capsule) { - DLManagedTensor* tensor = (DLManagedTensor*)PyCapsule_GetPointer(capsule, "dltensor"); +py::object +mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { + DLManagedTensor *tensor = + mtl_tensor_from_cuda_ipc_handle(cuda_ipc_handle, width, height); + return py::reinterpret_steal(PyCapsule_New( + tensor, "dltensor", + [](PyObject *capsule) { + DLManagedTensor *tensor = + (DLManagedTensor *)PyCapsule_GetPointer(capsule, "dltensor"); tensor->deleter(tensor); - }) - ); + } + )); } #else @@ -37,7 +45,8 @@ py::object initialize_from_mach_port(int machPort, int width, int height) { return py::none(); } -py::object mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { +py::object +mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { return py::none(); } #endif diff --git a/src/cpp/ipc.h b/src/cpp/ipc.h index 320b99f0..a4eca7dc 100644 --- a/src/cpp/ipc.h +++ b/src/cpp/ipc.h @@ -4,6 +4,7 @@ namespace py = pybind11; py::object initialize_from_mach_port(int machPort, int width, int height); -py::object mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height); +py::object +mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height); #endif \ No newline at end of file diff --git a/src/cpp/ipc_apple.h b/src/cpp/ipc_apple.h index 7057171b..c154aef9 100644 --- a/src/cpp/ipc_apple.h +++ b/src/cpp/ipc_apple.h @@ -2,6 +2,6 @@ #define __IPC_APPLE_H__ #include "dlpack.h" -DLManagedTensor* mtl_tensor_from_mach_port(int machPort, int width, int height); +DLManagedTensor *mtl_tensor_from_mach_port(int machPort, int width, int height); #endif // __IPC_APPLE_H__ \ No newline at end of file diff --git a/src/cpp/ipc_cuda.cpp b/src/cpp/ipc_cuda.cpp index a788d589..141a4012 100644 --- a/src/cpp/ipc_cuda.cpp +++ b/src/cpp/ipc_cuda.cpp @@ -4,27 +4,35 @@ #include #include -static void deleteDLManagedTensor(DLManagedTensor* self) { +static void deleteDLManagedTensor(DLManagedTensor *self) { free(self->dl_tensor.shape); free(self); } -DLManagedTensor* mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int width, int height) { +DLManagedTensor * +mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int width, int height) { // TODO: Implement this function void *device_ptr = nullptr; - cudaError_t err = cudaIpcOpenMemHandle(&device_ptr, *reinterpret_cast(cuda_ipc_handle), cudaIpcMemLazyEnablePeerAccess); + cudaError_t err = cudaIpcOpenMemHandle( + &device_ptr, *reinterpret_cast(cuda_ipc_handle), + cudaIpcMemLazyEnablePeerAccess + ); if (err != cudaSuccess) { - throw std::runtime_error("Failed to open CUDA IPC handle: " + std::string(cudaGetErrorString(err))); + throw std::runtime_error( + "Failed to open CUDA IPC handle: " + + std::string(cudaGetErrorString(err)) + ); } - DLManagedTensor* tensor = (DLManagedTensor *) malloc(sizeof(DLManagedTensor)); + DLManagedTensor *tensor = + (DLManagedTensor *)malloc(sizeof(DLManagedTensor)); tensor->dl_tensor.data = device_ptr; tensor->dl_tensor.ndim = 3; // H x W x C - tensor->dl_tensor.shape = (int64_t *) malloc(3 * sizeof(int64_t)); + tensor->dl_tensor.shape = (int64_t *)malloc(3 * sizeof(int64_t)); tensor->dl_tensor.shape[0] = height; tensor->dl_tensor.shape[1] = width; - tensor->dl_tensor.shape[2] = 4; // RGBA + tensor->dl_tensor.shape[2] = 4; // RGBA tensor->dl_tensor.strides = nullptr; tensor->dl_tensor.byte_offset = 0; @@ -32,7 +40,10 @@ DLManagedTensor* mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int widt cudaError_t err = cudaPointerGetAttributes(&attributes, device_ptr); if (err != cudaSuccess) { - throw std::runtime_error("Failed to get CUDA pointer attributes: " + std::string(cudaGetErrorString(err))); + throw std::runtime_error( + "Failed to get CUDA pointer attributes: " + + std::string(cudaGetErrorString(err)) + ); } int device_id; @@ -42,8 +53,9 @@ DLManagedTensor* mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int widt throw std::runtime_error("Failed to get CUDA device ID"); } - tensor->dl_tensor.dtype = (DLDataType){ kDLUInt, 8, 1 }; // Unsigned 8-bit integer - tensor->dl_tensor.device = (DLDevice){ kDLCUDA, device_id }; // cuda gpu + tensor->dl_tensor.dtype = + (DLDataType){kDLUInt, 8, 1}; // Unsigned 8-bit integer + tensor->dl_tensor.device = (DLDevice){kDLCUDA, device_id}; // cuda gpu tensor->deleter = deleteDLManagedTensor; return tensor; diff --git a/src/cpp/ipc_cuda.h b/src/cpp/ipc_cuda.h index bdf19f2c..cfc01538 100644 --- a/src/cpp/ipc_cuda.h +++ b/src/cpp/ipc_cuda.h @@ -1,8 +1,9 @@ #ifndef __IPC_CUDA_H__ #define __IPC_CUDA_H__ -#include #include "dlpack.h" -DLManagedTensor* mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int width, int height); +#include +DLManagedTensor * +mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int width, int height); #endif // __IPC_CUDA_H__ \ No newline at end of file diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp index 05fa0ae2..a1cb7c52 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp @@ -1,81 +1,99 @@ #include #ifdef __APPLE__ - #define GL_SILENCE_DEPRECATION - #include - #include - #include "framebuffer_capturer_apple.h" +#define GL_SILENCE_DEPRECATION +#include "framebuffer_capturer_apple.h" +#include +#include #else // #include - #include +#include #endif #include +#include // For strcmp +#include #include #include #include -#include -#include // For strcmp #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 // extension // https://gist.github.com/dobrokot/10486786 typedef unsigned char ui8; -#define ASSERT_EX(cond, error_message) do { if (!(cond)) { std::cerr << error_message; exit(1);} } while(0) - -static void PngWriteCallback(png_structp png_ptr, png_bytep data, png_size_t length) { - std::vector *p = (std::vector*)png_get_io_ptr(png_ptr); +#define ASSERT_EX(cond, error_message) \ + do { \ + if (!(cond)) { \ + std::cerr << error_message; \ + exit(1); \ + } \ + } while (0) + +static void +PngWriteCallback(png_structp png_ptr, png_bytep data, png_size_t length) { + std::vector *p = (std::vector *)png_get_io_ptr(png_ptr); p->insert(p->end(), data, data + length); } struct TPngDestructor { png_struct *p; - TPngDestructor(png_struct *p) : p(p) {} - ~TPngDestructor() { if (p) { png_destroy_write_struct(&p, NULL); } } + TPngDestructor(png_struct *p) : p(p) {} + ~TPngDestructor() { + if (p) { + png_destroy_write_struct(&p, NULL); + } + } }; - -void WritePngToMemory(size_t w, size_t h, const ui8 *dataRGB, std::vector &out) { +void WritePngToMemory( + size_t w, size_t h, const ui8 *dataRGB, std::vector &out +) { out.clear(); - png_structp p = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); + png_structp p = + png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); ASSERT_EX(p, "png_create_write_struct() failed"); TPngDestructor destroyPng(p); png_infop info_ptr = png_create_info_struct(p); ASSERT_EX(info_ptr, "png_create_info_struct() failed"); ASSERT_EX(0 == setjmp(png_jmpbuf(p)), "setjmp(png_jmpbuf(p) failed"); - png_set_IHDR(p, info_ptr, w, h, 8, - PNG_COLOR_TYPE_RGB, - PNG_INTERLACE_NONE, - PNG_COMPRESSION_TYPE_DEFAULT, - PNG_FILTER_TYPE_DEFAULT); - //png_set_compression_level(p, 1); - std::vector rows(h); + png_set_IHDR( + p, info_ptr, w, h, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, + PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT + ); + // png_set_compression_level(p, 1); + std::vector rows(h); for (size_t y = 0; y < h; ++y) - rows[y] = (ui8*)dataRGB + y * w * 3; + rows[y] = (ui8 *)dataRGB + y * w * 3; png_set_rows(p, info_ptr, &rows[0]); png_set_write_fn(p, &out, PngWriteCallback, NULL); png_write_png(p, info_ptr, PNG_TRANSFORM_IDENTITY, NULL); } -// FIXME: Use glGetIntegerv(GL_NUM_EXTENSIONS) then use glGetStringi for OpenGL 3.0+ -bool isExtensionSupported(const char* extName) { +// FIXME: Use glGetIntegerv(GL_NUM_EXTENSIONS) then use glGetStringi for +// OpenGL 3.0+ +bool isExtensionSupported(const char *extName) { // Get the list of supported extensions - const char* extensions = reinterpret_cast(glGetString(GL_EXTENSIONS)); + const char *extensions = + reinterpret_cast(glGetString(GL_EXTENSIONS)); // FIXME: It returns nullptr after OpenGL 3.0+, even if there are extensions // Check for NULL pointer (just in case no OpenGL context is active) if (extensions == nullptr) { - std::cerr << "Could not get OpenGL extensions list. Make sure an OpenGL context is active." << std::endl; + std::cerr + << "Could not get OpenGL extensions list. Make sure an OpenGL " + "context is active." + << std::endl; return false; } // Search for the extension in the list - const char* start = extensions; - const char* where; - const char* terminator; + const char *start = extensions; + const char *where; + const char *terminator; // Extension names should not have spaces while ((where = strchr(start, ' ')) || (where = strchr(start, '\0'))) { terminator = where; - if ((terminator - start) == strlen(extName) && strncmp(start, extName, terminator - start) == 0) { + if ((terminator - start) == strlen(extName) && + strncmp(start, extName, terminator - start) == 0) { // Found the extension return true; } @@ -89,30 +107,32 @@ bool isExtensionSupported(const char* extName) { return false; } -extern "C" JNIEXPORT jboolean JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_checkExtension - (JNIEnv *env, jclass clazz) { +extern "C" JNIEXPORT jboolean JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_checkExtension( + JNIEnv *env, jclass clazz +) { // Check for the GL_ARB_pixel_buffer_object extension - return (jboolean) isExtensionSupported("GL_ANGLE_pack_reverse_row_order"); + return (jboolean)isExtensionSupported("GL_ANGLE_pack_reverse_row_order"); } -extern "C" JNIEXPORT jboolean JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeGLEW - (JNIEnv *env, jclass clazz) { - #ifdef __APPLE__ - return true; - #else - glewExperimental = GL_TRUE; - GLenum err = glewInit(); - if (err != GLEW_OK) { - std::cerr << "GLEW initialization failed: " << glewGetErrorString(err) << std::endl; - } - return err == GLEW_OK; - #endif +extern "C" JNIEXPORT jboolean JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeGLEW( + JNIEnv *env, jclass clazz +) { +#ifdef __APPLE__ + return true; +#else + glewExperimental = GL_TRUE; + GLenum err = glewInit(); + if (err != GLEW_OK) { + std::cerr << "GLEW initialization failed: " << glewGetErrorString(err) + << std::endl; + } + return err == GLEW_OK; +#endif } -enum EncodingMode { - RAW = 0, - PNG = 1 -}; +enum EncodingMode { RAW = 0, PNG = 1 }; // 16 x 16 bitmap cursor // 0: transparent, 1: white, 2: black @@ -120,22 +140,22 @@ enum EncodingMode { // MIT License const GLubyte cursor[16][16] = { {2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, + {2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, - {2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0 ,0, 0}, + {2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0}, - {2, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0 ,0, 0}, - {2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0 ,0, 0}, + {2, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0}, + {2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0}, {2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0}, - {2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0 ,0, 0}, + {2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {2, 1, 2, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 2, 1, 1, 1, 2, 0, 0 ,0 ,0, 0, 0, 0 ,0}, + {2, 2, 0, 2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0}, {2, 0, 0, 0, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0} }; @@ -154,30 +174,33 @@ void initCursorTexture() { for (int x = 0; x < 16; x++) { int index = (y * 16 + x) * 4; switch (cursor[y][x]) { - case 0: - cursorTexture[index] = 0; - cursorTexture[index + 1] = 0; - cursorTexture[index + 2] = 0; - cursorTexture[index + 3] = 0; - break; - case 1: - cursorTexture[index] = 255; - cursorTexture[index + 1] = 255; - cursorTexture[index + 2] = 255; - cursorTexture[index + 3] = 255; - break; - case 2: - cursorTexture[index] = 0; - cursorTexture[index + 1] = 0; - cursorTexture[index + 2] = 0; - cursorTexture[index + 3] = 255; - break; + case 0: + cursorTexture[index] = 0; + cursorTexture[index + 1] = 0; + cursorTexture[index + 2] = 0; + cursorTexture[index + 3] = 0; + break; + case 1: + cursorTexture[index] = 255; + cursorTexture[index + 1] = 255; + cursorTexture[index + 2] = 255; + cursorTexture[index + 3] = 255; + break; + case 2: + cursorTexture[index] = 0; + cursorTexture[index + 1] = 0; + cursorTexture[index + 2] = 0; + cursorTexture[index + 3] = 255; + break; } } } // Upload the cursor texture - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, cursorTexture); + glTexImage2D( + GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, + cursorTexture + ); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); @@ -185,46 +208,31 @@ void initCursorTexture() { glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); } - - -extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl( - JNIEnv *env, - jclass clazz, - jint textureId, - jint frameBufferId, - jint textureWidth, - jint textureHeight, - jint targetSizeX, - jint targetSizeY, - jint encodingMode, - jboolean isExtensionAvailable, - jboolean drawCursor, - jint xPos, - jint yPos +extern "C" JNIEXPORT jobject JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl( + JNIEnv *env, jclass clazz, jint textureId, jint frameBufferId, + jint textureWidth, jint textureHeight, jint targetSizeX, jint targetSizeY, + jint encodingMode, jboolean isExtensionAvailable, jboolean drawCursor, + jint xPos, jint yPos ) { -// // 텍스처 바인딩 -// glBindTexture(GL_TEXTURE_2D, textureId); -// glPixelStorei(GL_PACK_ALIGNMENT, 1); // 픽셀 데이터 정렬 설정 -// // 텍스처 데이터를 저장할 메모리 할당 -// auto* pixels = new GLubyte[textureWidth * textureHeight * 3]; // RGB 포맷 가정 -// -// // 현재 바인딩된 텍스처로부터 이미지 데이터 읽기 -// glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); - // ByteString 클래스를 찾습니다. + // glBindTexture(GL_TEXTURE_2D, textureId); + // glPixelStorei(GL_PACK_ALIGNMENT, 1); // Set pixel data alignment + // auto* pixels = new GLubyte[textureWidth * textureHeight * 3]; // RGB + // glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); if (byteStringClass == nullptr || env->ExceptionCheck()) { // Handle error return nullptr; } - // copyFrom 정적 메서드의 메서드 ID를 얻습니다. - jmethodID copyFromMethod = env->GetStaticMethodID(byteStringClass, "copyFrom", "([B)Lcom/google/protobuf/ByteString;"); + jmethodID copyFromMethod = env->GetStaticMethodID( + byteStringClass, "copyFrom", "([B)Lcom/google/protobuf/ByteString;" + ); if (copyFromMethod == nullptr || env->ExceptionCheck()) { // Handle error return nullptr; } jbyteArray byteArray = nullptr; if (encodingMode == RAW) { - // 호출하려는 바이트 배열을 생성합니다. byteArray = env->NewByteArray(targetSizeX * targetSizeY * 3); if (byteArray == nullptr || env->ExceptionCheck()) { // Handle error @@ -233,13 +241,15 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb } // **Note**: Flipping should be done in python side. glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBufferId); - auto* pixels = new GLubyte[textureWidth * textureHeight * 3]; + auto *pixels = new GLubyte[textureWidth * textureHeight * 3]; glPixelStorei(GL_PACK_ALIGNMENT, 1); - glReadPixels(0, 0, textureWidth, textureHeight, GL_RGB, GL_UNSIGNED_BYTE, pixels); + glReadPixels( + 0, 0, textureWidth, textureHeight, GL_RGB, GL_UNSIGNED_BYTE, pixels + ); // resize if needed if (textureWidth != targetSizeX || textureHeight != targetSizeY) { - auto* resizedPixels = new GLubyte[targetSizeX * targetSizeY * 3]; + auto *resizedPixels = new GLubyte[targetSizeX * targetSizeY * 3]; for (int y = 0; y < targetSizeY; y++) { for (int x = 0; x < targetSizeX; x++) { int srcX = x * textureWidth / targetSizeX; @@ -258,102 +268,62 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb int cursorHeight = 16; int cursorWidth = 16; - // 비트맵의 각 픽셀을 원본 이미지에 그리기 - if (drawCursor && xPos >= 0 && xPos < targetSizeX && yPos >= 0 && yPos < targetSizeY) { + // Draw cursor + if (drawCursor && xPos >= 0 && xPos < targetSizeX && yPos >= 0 && + yPos < targetSizeY) { for (int dy = 0; dy < cursorHeight; ++dy) { for (int dx = 0; dx < cursorWidth; ++dx) { int pixelX = xPos + dx; int pixelY = yPos + dy; - // 이미지 경계 내에 있는지 확인 - if (pixelX >= 0 && pixelX < targetSizeX && pixelY >= 0 && pixelY < targetSizeY) { + // check if the pixel is within the target image + if (pixelX >= 0 && pixelX < targetSizeX && pixelY >= 0 && + pixelY < targetSizeY) { // Invert y axis - int index = ((targetSizeY - pixelY) * targetSizeX + pixelX) * 3; // 픽셀 인덱스 계산 + int index = + ((targetSizeY - pixelY) * targetSizeX + pixelX) * + 3; // calculate the index of the pixel - if (index >= 0 && index + 2 < textureWidth * textureHeight * 3) { - // 비트맵 값이 2면 검은색(테두리)로 그립니다. + if (index >= 0 && + index + 2 < textureWidth * textureHeight * 3) { + // draw black if color is 2 if (cursor[dy][dx] == 2) { - pixels[index] = 0; // Red - pixels[index + 1] = 0; // Green - pixels[index + 2] = 0; // Blue + pixels[index] = 0; // Red + pixels[index + 1] = 0; // Green + pixels[index + 2] = 0; // Blue } - // 비트맵 값이 1이면 흰색(내부)로 그립니다. + // draw white if color is 1 else if (cursor[dy][dx] == 1) { - pixels[index] = 255; // Red - pixels[index + 1] = 255; // Green - pixels[index + 2] = 255; // Blue + pixels[index] = 255; // Red + pixels[index + 1] = 255; // Green + pixels[index + 2] = 255; // Blue } - // 비트맵 값이 0이면 투명, 기존 픽셀을 유지합니다. + // color is 0, do nothing (transparent) } } } } } -// if (drawCursor && xPos >= 0 && xPos < targetSizeX && yPos >= 0 && yPos < targetSizeY) { -// int cursorSizeX = 12; // Size of the crosshair X -// int cursorSizeY = 48; // Size of the crosshair Y -// -// // Draw vertical line (centered at cursor position) -// for (int dy = -cursorSizeY; dy <= cursorSizeY; ++dy) { -// int pixelX = xPos; -// int pixelY = yPos + dy; -// -// if (pixelX >= 0 && pixelX < targetSizeX && pixelY >= 0 && pixelY < targetSizeY) { -// int index = (pixelY * targetSizeX + pixelX) * 3; -// -// if (dy < 0) { -// // Negative Y direction (yellow) -// pixels[index] = 255; // Red -// pixels[index + 1] = 255; // Green -// pixels[index + 2] = 0; // Blue -// } else if (dy > 0) { -// // Positive Y direction (blue) -// pixels[index] = 0; // Red -// pixels[index + 1] = 0; // Green -// pixels[index + 2] = 255; // Blue -// } -// } -// } -// -// // Draw horizontal line (centered at cursor position) -// for (int dx = -cursorSizeX; dx <= cursorSizeX; ++dx) { -// int pixelX = xPos + dx; -// int pixelY = yPos; -// -// if (pixelX >= 0 && pixelX < targetSizeX && pixelY >= 0 && pixelY < targetSizeY) { -// int index = (pixelY * targetSizeX + pixelX) * 3; -// -// if (dx < 0) { -// // Negative X direction (green) -// pixels[index] = 0; // Red -// pixels[index + 1] = 255; // Green -// pixels[index + 2] = 0; // Blue -// } else if (dx > 0) { -// // Positive X direction (red) -// pixels[index] = 255; // Red -// pixels[index + 1] = 0; // Green -// pixels[index + 2] = 0; // Blue -// } -// } -// } -// } - - - // make png bytes from the pixels - // 이미지 데이터를 바이트 배열로 변환 if (encodingMode == PNG) { std::vector imageBytes; - WritePngToMemory((size_t) targetSizeX, (size_t) targetSizeY, pixels, imageBytes); - // 호출하려는 바이트 배열을 생성합니다. + WritePngToMemory( + (size_t)targetSizeX, (size_t)targetSizeY, pixels, imageBytes + ); byteArray = env->NewByteArray(imageBytes.size()); - env->SetByteArrayRegion(byteArray, 0, imageBytes.size(), reinterpret_cast(imageBytes.data())); + env->SetByteArrayRegion( + byteArray, 0, imageBytes.size(), + reinterpret_cast(imageBytes.data()) + ); } else if (encodingMode == RAW) { - env->SetByteArrayRegion(byteArray, 0, targetSizeX * targetSizeY * 3, reinterpret_cast(pixels)); + env->SetByteArrayRegion( + byteArray, 0, targetSizeX * targetSizeY * 3, + reinterpret_cast(pixels) + ); } - // 정적 메서드를 호출하여 ByteString 객체를 얻습니다. - jobject byteStringObject = env->CallStaticObjectMethod(byteStringClass, copyFromMethod, byteArray); + jobject byteStringObject = + env->CallStaticObjectMethod(byteStringClass, copyFromMethod, byteArray); if (byteStringObject == nullptr || env->ExceptionCheck()) { // Handle error if (byteArray != nullptr) { @@ -364,7 +334,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb } return nullptr; } - // 메모리 정리 + // Clean up env->DeleteLocalRef(byteArray); delete[] pixels; return byteStringObject; @@ -372,23 +342,24 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb #ifdef __APPLE__ -extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, jclass clazz, - jint width, jint height, - jint colorAttachment, +extern "C" JNIEXPORT jobject JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( + JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, jint depthAttachment ) { jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); if (byteStringClass == nullptr || env->ExceptionCheck()) { return nullptr; } - jmethodID copyFromMethod = env->GetStaticMethodID(byteStringClass, "copyFrom", "([B)Lcom/google/protobuf/ByteString;"); + jmethodID copyFromMethod = env->GetStaticMethodID( + byteStringClass, "copyFrom", "([B)Lcom/google/protobuf/ByteString;" + ); if (copyFromMethod == nullptr || env->ExceptionCheck()) { return nullptr; } - void* mach_port; + void *mach_port; int size = initializeIoSurface(width, height, &mach_port); - if(size < 0 || mach_port == nullptr) { + if (size < 0 || mach_port == nullptr) { return nullptr; } @@ -398,9 +369,12 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb free(mach_port); return nullptr; } - - env->SetByteArrayRegion(byteArray, 0, size, reinterpret_cast(mach_port)); - jobject byteStringObject = env->CallStaticObjectMethod(byteStringClass, copyFromMethod, byteArray); + + env->SetByteArrayRegion( + byteArray, 0, size, reinterpret_cast(mach_port) + ); + jobject byteStringObject = + env->CallStaticObjectMethod(byteStringClass, copyFromMethod, byteArray); if (byteStringObject == nullptr || env->ExceptionCheck()) { // Handle error if (byteArray != nullptr) { @@ -414,15 +388,10 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_Frameb return byteStringObject; } -extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopyImpl( - JNIEnv *env, - jclass clazz, - jint frameBufferId, - jint targetSizeX, - jint targetSizeY, - jboolean drawCursor, - jint mouseX, - jint mouseY +extern "C" JNIEXPORT void JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopyImpl( + JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, + jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY ) { glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBufferId); if (drawCursor) { @@ -430,44 +399,42 @@ extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_Framebuff glEnable(GL_TEXTURE_2D); glBegin(GL_QUADS); - glTexCoord2f(0.0f, 0.0f); glVertex2f(mouseX, mouseY); - glTexCoord2f(1.0f, 0.0f); glVertex2f(mouseX + 16, mouseY); - glTexCoord2f(1.0f, 1.0f); glVertex2f(mouseX + 16, mouseY - 16); - glTexCoord2f(0.0f, 1.0f); glVertex2f(mouseX, mouseY - 16); + glTexCoord2f(0.0f, 0.0f); + glVertex2f(mouseX, mouseY); + glTexCoord2f(1.0f, 0.0f); + glVertex2f(mouseX + 16, mouseY); + glTexCoord2f(1.0f, 1.0f); + glVertex2f(mouseX + 16, mouseY - 16); + glTexCoord2f(0.0f, 1.0f); + glVertex2f(mouseX, mouseY - 16); glEnd(); glDisable(GL_TEXTURE_2D); } - + // It could have been that the rendered image is already being shared, - // but the original texture is TEXTURE_2D, so we need to convert to TEXTURE_2D_RECTANGLE_ARB + // but the original texture is TEXTURE_2D, so we need to convert to + // TEXTURE_2D_RECTANGLE_ARB copyFramebufferToIOSurface(targetSizeX, targetSizeY); } #elif defined(HAS_CUDA) #include "framebuffer_capturer_cuda.h" -extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, - jclass clazz, - jint width, - jint height, - jint colorAttachment, +extern "C" JNIEXPORT jobject JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( + JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, jint depthAttachment ) { cudaIpcMemHandle_t memHandle; - return initialize_cuda_ipc(width, height, colorAttachment, depthAttachment, &memHandle); + return initialize_cuda_ipc( + width, height, colorAttachment, depthAttachment, &memHandle + ); } - -extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( - JNIEnv *env, - jclass clazz, - jint frameBufferId, - jint targetSizeX, - jint targetSizeY, - jboolean drawCursor, - jint mouseX, - jint mouseY +extern "C" JNIEXPORT void JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( + JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, + jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY ) { if (drawCursor) { glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBufferId); @@ -475,65 +442,55 @@ extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_Framebuff glEnable(GL_TEXTURE_2D); glBegin(GL_QUADS); - glTexCoord2f(0.0f, 0.0f); glVertex2f(mouseX, mouseY); - glTexCoord2f(1.0f, 0.0f); glVertex2f(mouseX + 16, mouseY); - glTexCoord2f(1.0f, 1.0f); glVertex2f(mouseX + 16, mouseY - 16); - glTexCoord2f(0.0f, 1.0f); glVertex2f(mouseX, mouseY - 16); + glTexCoord2f(0.0f, 0.0f); + glVertex2f(mouseX, mouseY); + glTexCoord2f(1.0f, 0.0f); + glVertex2f(mouseX + 16, mouseY); + glTexCoord2f(1.0f, 1.0f); + glVertex2f(mouseX + 16, mouseY - 16); + glTexCoord2f(0.0f, 1.0f); + glVertex2f(mouseX, mouseY - 16); glEnd(); glDisable(GL_TEXTURE_2D); } - + // CUDA IPC handles are used to share the framebuffer with the Python side } #else // Returns an empty ByteString object. -// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> CPU) -extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, - jclass clazz, - jint width, - jint height, - jint colorAttachment, +// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> +// CPU) +extern "C" JNIEXPORT jobject JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( + JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, jint depthAttachment ) { jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); if (byteStringClass == nullptr || env->ExceptionCheck()) { return nullptr; } - jfieldID emptyField = env->GetStaticFieldID(byteStringClass, "EMPTY", "Lcom/google/protobuf/ByteString;"); + jfieldID emptyField = env->GetStaticFieldID( + byteStringClass, "EMPTY", "Lcom/google/protobuf/ByteString;" + ); if (emptyField == nullptr || env->ExceptionCheck()) { return nullptr; } - jobject emptyByteString = env->GetStaticObjectField(byteStringClass, emptyField); + jobject emptyByteString = + env->GetStaticObjectField(byteStringClass, emptyField); return emptyByteString; } -// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> CPU) -extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( - JNIEnv *env, - jclass clazz, - jint frameBufferId, - jint targetSizeX, - jint targetSizeY, - jboolean drawCursor, - jint mouseX, - jint mouseY +// TODO: Implement this function for normal mmap IPC based one copy. (GPU -> +// CPU) +extern "C" JNIEXPORT void JNICALL +Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( + JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, + jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY ) { Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebuffer( - env, - clazz, - 0, - frameBufferId, - targetSizeX, - targetSizeY, - targetSizeX, - targetSizeY, - RAW, - false, - drawCursor, - mouseX, - mouseY + env, clazz, 0, frameBufferId, targetSizeX, targetSizeY, targetSizeX, + targetSizeY, RAW, false, drawCursor, mouseX, mouseY ); } diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h index 3d079b15..043b735b 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h @@ -2,7 +2,10 @@ #define __FRAMEBUFFER_CAPTURER_APPLE_H__ -int initializeIoSurface(int width, int height, void **return_value); // , int colorAttachment, int depthAttachment +int initializeIoSurface( + int width, int height, + void **return_value +); // , int colorAttachment, int depthAttachment void copyFramebufferToIOSurface(int width, int height); #endif \ No newline at end of file diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp index fce6006e..7dfb2f8c 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp @@ -1,18 +1,24 @@ #include "framebuffer_capturer_cuda.h" - -void initialize_cuda_ipc(int width, int height, int colorAttachment, int depthAttachment, cudaIpcMemHandle_t* memHandlePtr) { - cudaGraphicsResource* cudaResource; +void initialize_cuda_ipc( + int width, int height, int colorAttachment, int depthAttachment, + cudaIpcMemHandle_t *memHandlePtr +) { + cudaGraphicsResource *cudaResource; // register the texture with CUDA - cudaGraphicsGLRegisterImage(&cudaResource, textureID, GL_TEXTURE_2D, cudaGraphicsRegisterFlagsReadOnly); - - // This function provides the synchronization guarantee that any graphics calls issued before - // cudaGraphicsMapResources() will complete before any subsequent CUDA work issued in stream begins. - // Map the resource for access by CUDA + cudaGraphicsGLRegisterImage( + &cudaResource, textureID, GL_TEXTURE_2D, + cudaGraphicsRegisterFlagsReadOnly + ); + + // This function provides the synchronization guarantee that any graphics + // calls issued before cudaGraphicsMapResources() will complete before any + // subsequent CUDA work issued in stream begins. Map the resource for access + // by CUDA cudaGraphicsMapResources(1, &cudaResource); - void* devicePtr; + void *devicePtr; size_t size; cudaGraphicsResourceGetMappedPointer(&devicePtr, &size, cudaResource); @@ -21,4 +27,3 @@ void initialize_cuda_ipc(int width, int height, int colorAttachment, int depthAt // cudaGraphicsUnmapResources(1, &cudaResource, 0); } - diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h index ec8b133e..bb9c7533 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h @@ -2,9 +2,12 @@ #define __FRAMEBUFFER_CAPTURER_CUDA_H__ -#include #include +#include -void initialize_cuda_ipc(int width, int height, int colorAttachment, int depthAttachment, cudaIpcMemHandle_t* memHandlePtr); +void initialize_cuda_ipc( + int width, int height, int colorAttachment, int depthAttachment, + cudaIpcMemHandle_t *memHandlePtr +); #endif \ No newline at end of file From 9a9f3a725757d7fd34bacd50b7ff2ddb59ca5d59 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:15:09 +0900 Subject: [PATCH 03/15] =?UTF-8?q?=F0=9F=8E=A8=20Clang=20format=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .clang-format | 4 +- src/cpp/ipc.cpp | 6 +- src/cpp/ipc_cuda.cpp | 3 +- .../src/main/cpp/framebuffer_capturer.cpp | 108 ++++++++++++++---- .../src/main/cpp/framebuffer_capturer_apple.h | 3 +- .../main/cpp/framebuffer_capturer_cuda.cpp | 9 +- .../src/main/cpp/framebuffer_capturer_cuda.h | 5 +- 7 files changed, 110 insertions(+), 28 deletions(-) diff --git a/.clang-format b/.clang-format index c862a6ea..03169d9d 100644 --- a/.clang-format +++ b/.clang-format @@ -1,4 +1,6 @@ BasedOnStyle: LLVM IndentWidth: 4 PointerAlignment: Right -AlignAfterOpenBracket: BlockIndent \ No newline at end of file +AlignAfterOpenBracket: BlockIndent +BinPackArguments: false +BinPackParameters: false \ No newline at end of file diff --git a/src/cpp/ipc.cpp b/src/cpp/ipc.cpp index 1f796b85..f4520450 100644 --- a/src/cpp/ipc.cpp +++ b/src/cpp/ipc.cpp @@ -7,7 +7,8 @@ py::object initialize_from_mach_port(int machPort, int width, int height) { DLManagedTensor *tensor = mtl_tensor_from_mach_port(machPort, width, height); return py::reinterpret_steal(PyCapsule_New( - tensor, "dltensor", + tensor, + "dltensor", [](PyObject *capsule) { DLManagedTensor *tensor = (DLManagedTensor *)PyCapsule_GetPointer(capsule, "dltensor"); @@ -31,7 +32,8 @@ mtl_tensor_from_cuda_mem_handle(void *cuda_ipc_handle, int width, int height) { DLManagedTensor *tensor = mtl_tensor_from_cuda_ipc_handle(cuda_ipc_handle, width, height); return py::reinterpret_steal(PyCapsule_New( - tensor, "dltensor", + tensor, + "dltensor", [](PyObject *capsule) { DLManagedTensor *tensor = (DLManagedTensor *)PyCapsule_GetPointer(capsule, "dltensor"); diff --git a/src/cpp/ipc_cuda.cpp b/src/cpp/ipc_cuda.cpp index 141a4012..c28d0923 100644 --- a/src/cpp/ipc_cuda.cpp +++ b/src/cpp/ipc_cuda.cpp @@ -14,7 +14,8 @@ mtl_tensor_from_cuda_ipc_handle(void *cuda_ipc_handle, int width, int height) { // TODO: Implement this function void *device_ptr = nullptr; cudaError_t err = cudaIpcOpenMemHandle( - &device_ptr, *reinterpret_cast(cuda_ipc_handle), + &device_ptr, + *reinterpret_cast(cuda_ipc_handle), cudaIpcMemLazyEnablePeerAccess ); diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp index a1cb7c52..a8d0f9a3 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp @@ -56,8 +56,15 @@ void WritePngToMemory( ASSERT_EX(info_ptr, "png_create_info_struct() failed"); ASSERT_EX(0 == setjmp(png_jmpbuf(p)), "setjmp(png_jmpbuf(p) failed"); png_set_IHDR( - p, info_ptr, w, h, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, - PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT + p, + info_ptr, + w, + h, + 8, + PNG_COLOR_TYPE_RGB, + PNG_INTERLACE_NONE, + PNG_COMPRESSION_TYPE_DEFAULT, + PNG_FILTER_TYPE_DEFAULT ); // png_set_compression_level(p, 1); std::vector rows(h); @@ -198,7 +205,14 @@ void initCursorTexture() { // Upload the cursor texture glTexImage2D( - GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, + GL_TEXTURE_2D, + 0, + GL_RGBA, + 16, + 16, + 0, + GL_RGBA, + GL_UNSIGNED_BYTE, cursorTexture ); @@ -210,10 +224,19 @@ void initCursorTexture() { extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl( - JNIEnv *env, jclass clazz, jint textureId, jint frameBufferId, - jint textureWidth, jint textureHeight, jint targetSizeX, jint targetSizeY, - jint encodingMode, jboolean isExtensionAvailable, jboolean drawCursor, - jint xPos, jint yPos + JNIEnv *env, + jclass clazz, + jint textureId, + jint frameBufferId, + jint textureWidth, + jint textureHeight, + jint targetSizeX, + jint targetSizeY, + jint encodingMode, + jboolean isExtensionAvailable, + jboolean drawCursor, + jint xPos, + jint yPos ) { // glBindTexture(GL_TEXTURE_2D, textureId); // glPixelStorei(GL_PACK_ALIGNMENT, 1); // Set pixel data alignment @@ -313,12 +336,16 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl( ); byteArray = env->NewByteArray(imageBytes.size()); env->SetByteArrayRegion( - byteArray, 0, imageBytes.size(), + byteArray, + 0, + imageBytes.size(), reinterpret_cast(imageBytes.data()) ); } else if (encodingMode == RAW) { env->SetByteArrayRegion( - byteArray, 0, targetSizeX * targetSizeY * 3, + byteArray, + 0, + targetSizeX * targetSizeY * 3, reinterpret_cast(pixels) ); } @@ -344,7 +371,11 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl( extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, + JNIEnv *env, + jclass clazz, + jint width, + jint height, + jint colorAttachment, jint depthAttachment ) { jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); @@ -390,8 +421,14 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopyImpl( - JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, - jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY + JNIEnv *env, + jclass clazz, + jint frameBufferId, + jint targetSizeX, + jint targetSizeY, + jboolean drawCursor, + jint mouseX, + jint mouseY ) { glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBufferId); if (drawCursor) { @@ -422,7 +459,11 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZeroc extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, + JNIEnv *env, + jclass clazz, + jint width, + jint height, + jint colorAttachment, jint depthAttachment ) { cudaIpcMemHandle_t memHandle; @@ -433,8 +474,14 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( - JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, - jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY + JNIEnv *env, + jclass clazz, + jint frameBufferId, + jint targetSizeX, + jint targetSizeY, + jboolean drawCursor, + jint mouseX, + jint mouseY ) { if (drawCursor) { glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBufferId); @@ -463,7 +510,11 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZeroc // CPU) extern "C" JNIEXPORT jobject JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( - JNIEnv *env, jclass clazz, jint width, jint height, jint colorAttachment, + JNIEnv *env, + jclass clazz, + jint width, + jint height, + jint colorAttachment, jint depthAttachment ) { jclass byteStringClass = env->FindClass("com/google/protobuf/ByteString"); @@ -485,12 +536,29 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl( // CPU) extern "C" JNIEXPORT void JNICALL Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy( - JNIEnv *env, jclass clazz, jint frameBufferId, jint targetSizeX, - jint targetSizeY, jboolean drawCursor, jint mouseX, jint mouseY + JNIEnv *env, + jclass clazz, + jint frameBufferId, + jint targetSizeX, + jint targetSizeY, + jboolean drawCursor, + jint mouseX, + jint mouseY ) { Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebuffer( - env, clazz, 0, frameBufferId, targetSizeX, targetSizeY, targetSizeX, - targetSizeY, RAW, false, drawCursor, mouseX, mouseY + env, + clazz, + 0, + frameBufferId, + targetSizeX, + targetSizeY, + targetSizeX, + targetSizeY, + RAW, + false, + drawCursor, + mouseX, + mouseY ); } diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h index 043b735b..8c9c47fc 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.h @@ -3,7 +3,8 @@ #define __FRAMEBUFFER_CAPTURER_APPLE_H__ int initializeIoSurface( - int width, int height, + int width, + int height, void **return_value ); // , int colorAttachment, int depthAttachment void copyFramebufferToIOSurface(int width, int height); diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp index 7dfb2f8c..618a05f9 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.cpp @@ -1,14 +1,19 @@ #include "framebuffer_capturer_cuda.h" void initialize_cuda_ipc( - int width, int height, int colorAttachment, int depthAttachment, + int width, + int height, + int colorAttachment, + int depthAttachment, cudaIpcMemHandle_t *memHandlePtr ) { cudaGraphicsResource *cudaResource; // register the texture with CUDA cudaGraphicsGLRegisterImage( - &cudaResource, textureID, GL_TEXTURE_2D, + &cudaResource, + textureID, + GL_TEXTURE_2D, cudaGraphicsRegisterFlagsReadOnly ); diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h index bb9c7533..57acf046 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_cuda.h @@ -6,7 +6,10 @@ #include void initialize_cuda_ipc( - int width, int height, int colorAttachment, int depthAttachment, + int width, + int height, + int colorAttachment, + int depthAttachment, cudaIpcMemHandle_t *memHandlePtr ); From 899c15e071e16084f93bcb51153d2ada7baaedbe Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:18:52 +0900 Subject: [PATCH 04/15] =?UTF-8?q?=F0=9F=92=9A=20Clangformat=2019?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/clang-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 62c6b6ff..d66d11cb 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install clang-format - run: sudo apt install clang-format + run: sudo apt install clang-format-19 - name: Find and Check All Files run: | FILES=$(find . -type f \( -name '*.cpp' -o -name '*.c' -o -name '*.h' -o -name '*.mm' -o -name '*.m' \)) From 6259969962dfa4f333b86d880e9ec79ac7371452 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:21:45 +0900 Subject: [PATCH 05/15] =?UTF-8?q?=F0=9F=92=9A=20Fix=20ci=20clang=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/clang-format.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index d66d11cb..980a2035 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Install clang-format - run: sudo apt install clang-format-19 + - name: Install clang-format 19 + run: sudo wget -qO- https://apt.llvm.org/llvm.sh | bash -s -- 19 - name: Find and Check All Files run: | FILES=$(find . -type f \( -name '*.cpp' -o -name '*.c' -o -name '*.h' -o -name '*.mm' -o -name '*.m' \)) From ac26c0a90d6b77109435018d79a10b1622fea242 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:23:48 +0900 Subject: [PATCH 06/15] =?UTF-8?q?=F0=9F=92=9A=20Sudo=20clang=20format=20in?= =?UTF-8?q?stall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/clang-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 980a2035..2f8adf30 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install clang-format 19 - run: sudo wget -qO- https://apt.llvm.org/llvm.sh | bash -s -- 19 + run: sudo wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 19 - name: Find and Check All Files run: | FILES=$(find . -type f \( -name '*.cpp' -o -name '*.c' -o -name '*.h' -o -name '*.mm' -o -name '*.m' \)) From f5df072dd42bd209c09cbe72b95558894240aa9c Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:31:00 +0900 Subject: [PATCH 07/15] =?UTF-8?q?=F0=9F=8E=A8=20Insert=20comma?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .clang-format | 3 ++- .../MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.clang-format b/.clang-format index 03169d9d..edc31fd4 100644 --- a/.clang-format +++ b/.clang-format @@ -3,4 +3,5 @@ IndentWidth: 4 PointerAlignment: Right AlignAfterOpenBracket: BlockIndent BinPackArguments: false -BinPackParameters: false \ No newline at end of file +BinPackParameters: false +InsertTrailingCommas: Wrapped \ No newline at end of file diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp index a8d0f9a3..823b3e48 100644 --- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp +++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp @@ -9,7 +9,6 @@ #include #endif -#include #include // For strcmp #include #include @@ -164,7 +163,7 @@ const GLubyte cursor[16][16] = { {2, 1, 2, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {2, 2, 0, 2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0}, {2, 0, 0, 0, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0} + {0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0}, }; GLuint cursorTexID; From 27b9bb5882f8dbfdc5ad02f4471067fa5222814f Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 18:38:23 +0900 Subject: [PATCH 08/15] =?UTF-8?q?=F0=9F=8E=A8=20Add=20ktlint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ktlint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ktlint.yml diff --git a/.github/workflows/ktlint.yml b/.github/workflows/ktlint.yml new file mode 100644 index 00000000..fefa1b54 --- /dev/null +++ b/.github/workflows/ktlint.yml @@ -0,0 +1,17 @@ +name: Format Check for Kotlin + +on: + pull_request: + paths: + - '**/*.kt' + - '**/*.kts' + +jobs: + format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install ktlint + run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.5.0/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ + - name: Find and Check All Files + run: ktlint From ceb1ba6bcb5ae9baea629b9e10a53de6c8b67416 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 19:21:17 +0900 Subject: [PATCH 09/15] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20ktlint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 22 + .github/workflows/ktlint.yml | 2 +- .../minecraft_env/KeyboardInfo.kt | 84 - .../kyhsgeekcode/minecraft_env/ToMessage.kt | 67 - .../proto/ActionSpaceMessageV2Kt.kt | 503 ----- .../minecraft_env/proto/BiomeInfoKt.kt | 135 -- .../minecraft_env/proto/BlockInfoKt.kt | 103 - .../minecraft_env/proto/ChatMessageInfoKt.kt | 94 - .../proto/EntitiesWithinDistanceKt.kt | 107 - .../minecraft_env/proto/EntityInfoKt.kt | 171 -- .../minecraft_env/proto/HeightInfoKt.kt | 103 - .../minecraft_env/proto/HitResultKt.kt | 119 -- .../proto/InitialEnvironmentMessageKt.kt | 986 --------- .../minecraft_env/proto/ItemStackKt.kt | 120 -- .../minecraft_env/proto/NearbyBiomeKt.kt | 103 - .../proto/ObservationSpaceMessageKt.kt | 1334 ------------ .../minecraft_env/proto/SoundEntryKt.kt | 120 -- .../minecraft_env/proto/StatusEffectKt.kt | 86 - .../AddListenerInterface.java | 2 +- .../BiomeCenterFinder.kt | 36 +- .../ChatMessageRecord.kt | 4 +- .../CsvLogger.kt | 8 +- .../EncodeImageToBytes.kt | 5 +- .../EntityRenderListener.kt | 2 +- .../EntityRenderListenerImpl.kt | 8 +- .../EnvironmentInitializer.kt | 164 +- .../FramebufferCapturer.kt | 111 +- .../GetMessagesInterface.java | 2 +- .../HeightMapProvider.kt | 12 +- .../kyhsgeekcode/minecraftenv/KeyboardInfo.kt | 104 + .../MessageIO.kt | 27 +- .../MinecraftEnv.kt} | 687 ++++--- .../MinecraftSoundListener.kt | 46 +- .../MouseInfo.kt | 48 +- .../ObservationSpace.kt | 17 +- .../Point3D.java | 2 +- .../PrintWithTime.kt | 14 +- .../TickSpeed.kt | 4 +- .../TickSynchronizer.kt | 2 +- .../kyhsgeekcode/minecraftenv/ToMessage.kt | 77 + .../client/Minecraft_envClient.java | 2 +- .../mixin/ChatVisibleMessageAccessor.java | 2 +- ...entCommonNetworkHandlerClientAccessor.java | 2 +- .../ClientEntityRenderDispatcherAccessor.java | 2 +- .../mixin/ClientIsWindowFocusedMixin.java | 2 +- .../mixin/ClientPlayNetworkHandlerMixin.java | 4 +- .../mixin/ClientRenderInvoker.java | 2 +- .../mixin/ClientWorldMixin.java | 4 +- .../mixin/DisableRegionalComplianceMixin.java | 2 +- .../mixin/GammaMixin.java | 2 +- .../mixin/InputUtilMixin.java | 6 +- .../mixin/MinecraftServer_tickspeedMixin.java | 4 +- .../mixin/MouseXYAccessor.java | 2 +- .../mixin/RenderMixin.java | 2 +- .../mixin/RenderSystemPollEventsInvoker.java | 2 +- .../mixin/RenderTickCounterAccessor.java | 2 +- .../mixin/SaveWorldMixin.java | 2 +- ...rPlayNetworkHandlerDisableSpamChecker.java | 2 +- .../mixin/TickSpeedMixin.java | 2 +- .../mixin/WindowOffScreenMixin.java | 2 +- .../mixin/WindowSizeAccessor.java | 2 +- .../WorldRendererCallEntityRenderMixin.java | 6 +- .../proto/ActionSpace.java | 82 +- .../proto/ActionSpaceKt.kt | 2 +- .../proto/ActionSpaceMessageV2Kt.kt | 579 ++++++ .../minecraftenv/proto/BiomeInfoKt.kt | 158 ++ .../minecraftenv/proto/BlockInfoKt.kt | 126 ++ .../minecraftenv/proto/ChatMessageInfoKt.kt | 115 ++ .../proto/EntitiesWithinDistanceKt.kt | 142 ++ .../minecraftenv/proto/EntityInfoKt.kt | 202 ++ .../minecraftenv/proto/HeightInfoKt.kt | 126 ++ .../minecraftenv/proto/HitResultKt.kt | 139 ++ .../proto/InitialEnvironment.java | 146 +- .../proto/InitialEnvironmentKt.kt | 2 +- .../proto/InitialEnvironmentMessageKt.kt | 1174 +++++++++++ .../minecraftenv/proto/ItemStackKt.kt | 145 ++ .../minecraftenv/proto/NearbyBiomeKt.kt | 126 ++ .../proto/ObservationSpace.java | 1822 ++++++++--------- .../proto/ObservationSpaceKt.kt | 2 +- .../proto/ObservationSpaceKt.proto.kt | 2 +- .../proto/ObservationSpaceMessageKt.kt | 1593 ++++++++++++++ .../minecraftenv/proto/SoundEntryKt.kt | 145 ++ .../minecraftenv/proto/StatusEffectKt.kt | 107 + 83 files changed, 6808 insertions(+), 5826 deletions(-) create mode 100644 .editorconfig delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/KeyboardInfo.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ToMessage.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceMessageV2Kt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BiomeInfoKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BlockInfoKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ChatMessageInfoKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntitiesWithinDistanceKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntityInfoKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HeightInfoKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HitResultKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentMessageKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ItemStackKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/NearbyBiomeKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceMessageKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/SoundEntryKt.kt delete mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/StatusEffectKt.kt rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/AddListenerInterface.java (91%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/BiomeCenterFinder.kt (80%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/ChatMessageRecord.kt (66%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/CsvLogger.kt (92%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/EncodeImageToBytes.kt (94%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/EntityRenderListener.kt (76%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/EntityRenderListenerImpl.kt (72%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/EnvironmentInitializer.kt (86%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/FramebufferCapturer.kt (58%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/GetMessagesInterface.java (85%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/HeightMapProvider.kt (86%) create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/KeyboardInfo.kt rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/MessageIO.kt (92%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env/Minecraft_env.kt => minecraftenv/MinecraftEnv.kt} (50%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/MinecraftSoundListener.kt (68%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/MouseInfo.kt (75%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/ObservationSpace.kt (82%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/Point3D.java (55%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/PrintWithTime.kt (80%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/TickSpeed.kt (59%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/TickSynchronizer.kt (98%) create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ToMessage.kt rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/client/Minecraft_envClient.java (90%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ChatVisibleMessageAccessor.java (88%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientCommonNetworkHandlerClientAccessor.java (87%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientEntityRenderDispatcherAccessor.java (88%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientIsWindowFocusedMixin.java (86%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientPlayNetworkHandlerMixin.java (91%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientRenderInvoker.java (85%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ClientWorldMixin.java (87%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/DisableRegionalComplianceMixin.java (94%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/GammaMixin.java (97%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/InputUtilMixin.java (90%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/MinecraftServer_tickspeedMixin.java (98%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/MouseXYAccessor.java (85%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/RenderMixin.java (96%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/RenderSystemPollEventsInvoker.java (85%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/RenderTickCounterAccessor.java (91%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/SaveWorldMixin.java (92%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java (91%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/TickSpeedMixin.java (96%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/WindowOffScreenMixin.java (94%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/WindowSizeAccessor.java (86%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/mixin/WorldRendererCallEntityRenderMixin.java (88%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/ActionSpace.java (93%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/ActionSpaceKt.kt (81%) create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceMessageV2Kt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BiomeInfoKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BlockInfoKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ChatMessageInfoKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntitiesWithinDistanceKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntityInfoKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HeightInfoKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HitResultKt.kt rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/InitialEnvironment.java (94%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/InitialEnvironmentKt.kt (82%) create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentMessageKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ItemStackKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/NearbyBiomeKt.kt rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/ObservationSpace.java (82%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/ObservationSpaceKt.kt (82%) rename src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/{minecraft_env => minecraftenv}/proto/ObservationSpaceKt.proto.kt (82%) create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceMessageKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/SoundEntryKt.kt create mode 100644 src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/StatusEffectKt.kt diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..f68f4c43 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +[*.{kt,kts}] +end_of_line = lf +ij_kotlin_allow_trailing_comma = true +ij_kotlin_allow_trailing_comma_on_call_site = true +ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^ +ij_kotlin_indent_before_arrow_on_new_line = false +ij_kotlin_line_break_after_multiline_when_entry = true +ij_kotlin_packages_to_use_import_on_demand = unset +indent_size = 4 +indent_style = space +insert_final_newline = true +ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than = unset +ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 4 +ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 1 +ktlint_code_style = ktlint_official +ktlint_enum_entry_name_casing = upper_or_camel_cases +ktlint_function_naming_ignore_when_annotated_with = [unset] +ktlint_function_signature_body_expression_wrapping = multiline +ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2 +ktlint_ignore_back_ticked_identifier = false +ktlint_property_naming_constant_naming = screaming_snake_case +max_line_length = 140 diff --git a/.github/workflows/ktlint.yml b/.github/workflows/ktlint.yml index fefa1b54..ddb4abdd 100644 --- a/.github/workflows/ktlint.yml +++ b/.github/workflows/ktlint.yml @@ -14,4 +14,4 @@ jobs: - name: Install ktlint run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.5.0/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ - name: Find and Check All Files - run: ktlint + run: ktlint '!src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/**' diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/KeyboardInfo.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/KeyboardInfo.kt deleted file mode 100644 index 8542d146..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/KeyboardInfo.kt +++ /dev/null @@ -1,84 +0,0 @@ -package com.kyhsgeekcode.minecraft_env - -import com.kyhsgeekcode.minecraft_env.proto.ActionSpace -import org.lwjgl.glfw.GLFW.* -import org.lwjgl.glfw.GLFWCharModsCallbackI -import org.lwjgl.glfw.GLFWKeyCallbackI - -object KeyboardInfo { - var charModsCallback: GLFWCharModsCallbackI? = null - var keyCallback: GLFWKeyCallbackI? = null - var handle: Long = 0 - - var currentState: MutableMap = mutableMapOf() - - val keyMappings = mapOf( - "W" to GLFW_KEY_W, - "A" to GLFW_KEY_A, - "S" to GLFW_KEY_S, - "D" to GLFW_KEY_D, - "LShift" to GLFW_KEY_LEFT_SHIFT, - "Ctrl" to GLFW_KEY_LEFT_CONTROL, - "Space" to GLFW_KEY_SPACE, - "E" to GLFW_KEY_E, - "Q" to GLFW_KEY_Q, -// "F" to GLFW_KEY_F, - "Hotbar1" to GLFW_KEY_1, - "Hotbar2" to GLFW_KEY_2, - "Hotbar3" to GLFW_KEY_3, - "Hotbar4" to GLFW_KEY_4, - "Hotbar5" to GLFW_KEY_5, - "Hotbar6" to GLFW_KEY_6, - "Hotbar7" to GLFW_KEY_7, - "Hotbar8" to GLFW_KEY_8, - "Hotbar9" to GLFW_KEY_9, - ) - - fun onAction(actionDict: ActionSpace.ActionSpaceMessageV2) { - val actions = mapOf( - "W" to actionDict.forward, - "A" to actionDict.left, - "S" to actionDict.back, - "D" to actionDict.right, - "LShift" to actionDict.sneak, - "Ctrl" to actionDict.sprint, - "Space" to actionDict.jump, - "E" to actionDict.inventory, - "Q" to actionDict.drop, -// "F" to actionDict.swapHands, - "Hotbar1" to actionDict.hotbar1, - "Hotbar2" to actionDict.hotbar2, - "Hotbar3" to actionDict.hotbar3, - "Hotbar4" to actionDict.hotbar4, - "Hotbar5" to actionDict.hotbar5, - "Hotbar6" to actionDict.hotbar6, - "Hotbar7" to actionDict.hotbar7, - "Hotbar8" to actionDict.hotbar8, - "Hotbar9" to actionDict.hotbar9, - ) - - // 각 키의 상태를 비교하여 변화가 있으면 keyCallback 호출 - for ((key, glfwKey) in keyMappings) { - val previousState = currentState[glfwKey] ?: false - val currentState = actions[key] ?: false - - if (!previousState && currentState) { - // 키가 처음 눌렸을 때 GLFW_PRESS 호출 - keyCallback?.invoke(handle, glfwKey, 0, GLFW_PRESS, 0) - } else if (previousState && currentState) { - // 키가 계속 눌린 상태라면 GLFW_REPEAT 호출 - keyCallback?.invoke(handle, glfwKey, 0, GLFW_REPEAT, 0) - } else if (previousState && !currentState) { - // 키가 떼졌을 때 GLFW_RELEASE 호출 - keyCallback?.invoke(handle, glfwKey, 0, GLFW_RELEASE, 0) - } - - // 현재 상태 갱신 - this.currentState[glfwKey] = currentState - } - } - - fun isKeyPressed(key: Int): Boolean { - return currentState[key] ?: false - } -} \ No newline at end of file diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ToMessage.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ToMessage.kt deleted file mode 100644 index b7b2efd3..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ToMessage.kt +++ /dev/null @@ -1,67 +0,0 @@ -package com.kyhsgeekcode.minecraft_env - -import com.kyhsgeekcode.minecraft_env.proto.* -import net.minecraft.block.Block -import net.minecraft.entity.Entity -import net.minecraft.entity.LivingEntity -import net.minecraft.entity.effect.StatusEffectInstance -import net.minecraft.item.Item -import net.minecraft.item.ItemStack -import net.minecraft.util.hit.BlockHitResult -import net.minecraft.util.hit.EntityHitResult -import net.minecraft.util.hit.HitResult -import net.minecraft.util.math.BlockPos -import net.minecraft.world.World - -fun Entity.toMessage() = entityInfo { - uniqueName = this@toMessage.uuidAsString - translationKey = type.translationKey - x = this@toMessage.x - y = this@toMessage.y - z = this@toMessage.z - yaw = this@toMessage.yaw.toDouble() - pitch = this@toMessage.pitch.toDouble() - health = (this@toMessage as? LivingEntity)?.health?.toDouble() ?: 0.0 -} - -fun StatusEffectInstance.toMessage() = statusEffect { - translationKey = this@toMessage.translationKey - duration = this@toMessage.duration - amplifier = this@toMessage.amplifier -} - -fun HitResult.toMessage(world: World) = when (type) { - HitResult.Type.MISS -> hitResult { - type = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.MISS - } - - HitResult.Type.BLOCK -> hitResult { - type = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.BLOCK - val blockPos = (this@toMessage as BlockHitResult).blockPos - val block = world.getBlockState(blockPos).block - targetBlock = block.toMessage(blockPos) - } - - HitResult.Type.ENTITY -> hitResult { - val entity = (this@toMessage as EntityHitResult).entity - type = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.ENTITY - targetEntity = entity.toMessage() - } -} - -fun Block.toMessage(blockPos: BlockPos) = blockInfo { - x = blockPos.x - y = blockPos.y - z = blockPos.z - translationKey = this@toMessage.translationKey -} - - -fun ItemStack.toMessage() = itemStack { - rawId = Item.getRawId(this@toMessage.item) - translationKey = this@toMessage.translationKey - count = this@toMessage.count - durability = this@toMessage.maxDamage - this@toMessage.damage - maxDurability = this@toMessage.maxDamage -} - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceMessageV2Kt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceMessageV2Kt.kt deleted file mode 100644 index a94fc353..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceMessageV2Kt.kt +++ /dev/null @@ -1,503 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: action_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeactionSpaceMessageV2") -public inline fun actionSpaceMessageV2(block: com.kyhsgeekcode.minecraft_env.proto.ActionSpaceMessageV2Kt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 = - com.kyhsgeekcode.minecraft_env.proto.ActionSpaceMessageV2Kt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.newBuilder()).apply { block() }._build() -/** - * Protobuf type `ActionSpaceMessageV2` - */ -public object ActionSpaceMessageV2Kt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 = _builder.build() - - /** - * ``` - * Discrete actions for movement and other commands as bool - * ``` - * - * `bool attack = 1;` - */ - public var attack: kotlin.Boolean - @JvmName("getAttack") - get() = _builder.getAttack() - @JvmName("setAttack") - set(value) { - _builder.setAttack(value) - } - /** - * ``` - * Discrete actions for movement and other commands as bool - * ``` - * - * `bool attack = 1;` - */ - public fun clearAttack() { - _builder.clearAttack() - } - - /** - * `bool back = 2;` - */ - public var back: kotlin.Boolean - @JvmName("getBack") - get() = _builder.getBack() - @JvmName("setBack") - set(value) { - _builder.setBack(value) - } - /** - * `bool back = 2;` - */ - public fun clearBack() { - _builder.clearBack() - } - - /** - * `bool forward = 3;` - */ - public var forward: kotlin.Boolean - @JvmName("getForward") - get() = _builder.getForward() - @JvmName("setForward") - set(value) { - _builder.setForward(value) - } - /** - * `bool forward = 3;` - */ - public fun clearForward() { - _builder.clearForward() - } - - /** - * `bool jump = 4;` - */ - public var jump: kotlin.Boolean - @JvmName("getJump") - get() = _builder.getJump() - @JvmName("setJump") - set(value) { - _builder.setJump(value) - } - /** - * `bool jump = 4;` - */ - public fun clearJump() { - _builder.clearJump() - } - - /** - * `bool left = 5;` - */ - public var left: kotlin.Boolean - @JvmName("getLeft") - get() = _builder.getLeft() - @JvmName("setLeft") - set(value) { - _builder.setLeft(value) - } - /** - * `bool left = 5;` - */ - public fun clearLeft() { - _builder.clearLeft() - } - - /** - * `bool right = 6;` - */ - public var right: kotlin.Boolean - @JvmName("getRight") - get() = _builder.getRight() - @JvmName("setRight") - set(value) { - _builder.setRight(value) - } - /** - * `bool right = 6;` - */ - public fun clearRight() { - _builder.clearRight() - } - - /** - * `bool sneak = 7;` - */ - public var sneak: kotlin.Boolean - @JvmName("getSneak") - get() = _builder.getSneak() - @JvmName("setSneak") - set(value) { - _builder.setSneak(value) - } - /** - * `bool sneak = 7;` - */ - public fun clearSneak() { - _builder.clearSneak() - } - - /** - * `bool sprint = 8;` - */ - public var sprint: kotlin.Boolean - @JvmName("getSprint") - get() = _builder.getSprint() - @JvmName("setSprint") - set(value) { - _builder.setSprint(value) - } - /** - * `bool sprint = 8;` - */ - public fun clearSprint() { - _builder.clearSprint() - } - - /** - * `bool use = 9;` - */ - public var use: kotlin.Boolean - @JvmName("getUse") - get() = _builder.getUse() - @JvmName("setUse") - set(value) { - _builder.setUse(value) - } - /** - * `bool use = 9;` - */ - public fun clearUse() { - _builder.clearUse() - } - - /** - * `bool drop = 10;` - */ - public var drop: kotlin.Boolean - @JvmName("getDrop") - get() = _builder.getDrop() - @JvmName("setDrop") - set(value) { - _builder.setDrop(value) - } - /** - * `bool drop = 10;` - */ - public fun clearDrop() { - _builder.clearDrop() - } - - /** - * `bool inventory = 11;` - */ - public var inventory: kotlin.Boolean - @JvmName("getInventory") - get() = _builder.getInventory() - @JvmName("setInventory") - set(value) { - _builder.setInventory(value) - } - /** - * `bool inventory = 11;` - */ - public fun clearInventory() { - _builder.clearInventory() - } - - /** - * ``` - * Hotbar selection (1-9) as bool - * ``` - * - * `bool hotbar_1 = 12;` - */ - public var hotbar1: kotlin.Boolean - @JvmName("getHotbar1") - get() = _builder.getHotbar1() - @JvmName("setHotbar1") - set(value) { - _builder.setHotbar1(value) - } - /** - * ``` - * Hotbar selection (1-9) as bool - * ``` - * - * `bool hotbar_1 = 12;` - */ - public fun clearHotbar1() { - _builder.clearHotbar1() - } - - /** - * `bool hotbar_2 = 13;` - */ - public var hotbar2: kotlin.Boolean - @JvmName("getHotbar2") - get() = _builder.getHotbar2() - @JvmName("setHotbar2") - set(value) { - _builder.setHotbar2(value) - } - /** - * `bool hotbar_2 = 13;` - */ - public fun clearHotbar2() { - _builder.clearHotbar2() - } - - /** - * `bool hotbar_3 = 14;` - */ - public var hotbar3: kotlin.Boolean - @JvmName("getHotbar3") - get() = _builder.getHotbar3() - @JvmName("setHotbar3") - set(value) { - _builder.setHotbar3(value) - } - /** - * `bool hotbar_3 = 14;` - */ - public fun clearHotbar3() { - _builder.clearHotbar3() - } - - /** - * `bool hotbar_4 = 15;` - */ - public var hotbar4: kotlin.Boolean - @JvmName("getHotbar4") - get() = _builder.getHotbar4() - @JvmName("setHotbar4") - set(value) { - _builder.setHotbar4(value) - } - /** - * `bool hotbar_4 = 15;` - */ - public fun clearHotbar4() { - _builder.clearHotbar4() - } - - /** - * `bool hotbar_5 = 16;` - */ - public var hotbar5: kotlin.Boolean - @JvmName("getHotbar5") - get() = _builder.getHotbar5() - @JvmName("setHotbar5") - set(value) { - _builder.setHotbar5(value) - } - /** - * `bool hotbar_5 = 16;` - */ - public fun clearHotbar5() { - _builder.clearHotbar5() - } - - /** - * `bool hotbar_6 = 17;` - */ - public var hotbar6: kotlin.Boolean - @JvmName("getHotbar6") - get() = _builder.getHotbar6() - @JvmName("setHotbar6") - set(value) { - _builder.setHotbar6(value) - } - /** - * `bool hotbar_6 = 17;` - */ - public fun clearHotbar6() { - _builder.clearHotbar6() - } - - /** - * `bool hotbar_7 = 18;` - */ - public var hotbar7: kotlin.Boolean - @JvmName("getHotbar7") - get() = _builder.getHotbar7() - @JvmName("setHotbar7") - set(value) { - _builder.setHotbar7(value) - } - /** - * `bool hotbar_7 = 18;` - */ - public fun clearHotbar7() { - _builder.clearHotbar7() - } - - /** - * `bool hotbar_8 = 19;` - */ - public var hotbar8: kotlin.Boolean - @JvmName("getHotbar8") - get() = _builder.getHotbar8() - @JvmName("setHotbar8") - set(value) { - _builder.setHotbar8(value) - } - /** - * `bool hotbar_8 = 19;` - */ - public fun clearHotbar8() { - _builder.clearHotbar8() - } - - /** - * `bool hotbar_9 = 20;` - */ - public var hotbar9: kotlin.Boolean - @JvmName("getHotbar9") - get() = _builder.getHotbar9() - @JvmName("setHotbar9") - set(value) { - _builder.setHotbar9(value) - } - /** - * `bool hotbar_9 = 20;` - */ - public fun clearHotbar9() { - _builder.clearHotbar9() - } - - /** - * ``` - * Camera movement (pitch and yaw) - * ``` - * - * `float camera_pitch = 21;` - */ - public var cameraPitch: kotlin.Float - @JvmName("getCameraPitch") - get() = _builder.getCameraPitch() - @JvmName("setCameraPitch") - set(value) { - _builder.setCameraPitch(value) - } - /** - * ``` - * Camera movement (pitch and yaw) - * ``` - * - * `float camera_pitch = 21;` - */ - public fun clearCameraPitch() { - _builder.clearCameraPitch() - } - - /** - * `float camera_yaw = 22;` - */ - public var cameraYaw: kotlin.Float - @JvmName("getCameraYaw") - get() = _builder.getCameraYaw() - @JvmName("setCameraYaw") - set(value) { - _builder.setCameraYaw(value) - } - /** - * `float camera_yaw = 22;` - */ - public fun clearCameraYaw() { - _builder.clearCameraYaw() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class CommandsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string commands = 23;` - * @return A list containing the commands. - */ - public val commands: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getCommandsList() - ) - /** - * `repeated string commands = 23;` - * @param value The commands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addCommands") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addCommands(value) - } - /** - * `repeated string commands = 23;` - * @param value The commands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignCommands") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string commands = 23;` - * @param values The commands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllCommands") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllCommands(values) - } - /** - * `repeated string commands = 23;` - * @param values The commands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllCommands") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string commands = 23;` - * @param index The index to set the value at. - * @param value The commands to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setCommands") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setCommands(index, value) - }/** - * `repeated string commands = 23;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearCommands") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearCommands() - }} -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.ActionSpaceMessageV2Kt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 = - `com.kyhsgeekcode.minecraft_env.proto`.ActionSpaceMessageV2Kt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BiomeInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BiomeInfoKt.kt deleted file mode 100644 index b6d59efb..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BiomeInfoKt.kt +++ /dev/null @@ -1,135 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializebiomeInfo") -public inline fun biomeInfo(block: com.kyhsgeekcode.minecraft_env.proto.BiomeInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo = - com.kyhsgeekcode.minecraft_env.proto.BiomeInfoKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.newBuilder()).apply { block() }._build() -/** - * Protobuf type `BiomeInfo` - */ -public object BiomeInfoKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo = _builder.build() - - /** - * ``` - * 바이옴의 이름 - * ``` - * - * `string biome_name = 1;` - */ - public var biomeName: kotlin.String - @JvmName("getBiomeName") - get() = _builder.biomeName - @JvmName("setBiomeName") - set(value) { - _builder.biomeName = value - } - /** - * ``` - * 바이옴의 이름 - * ``` - * - * `string biome_name = 1;` - */ - public fun clearBiomeName() { - _builder.clearBiomeName() - } - - /** - * ``` - * 바이옴 중심의 x 좌표 - * ``` - * - * `int32 center_x = 2;` - */ - public var centerX: kotlin.Int - @JvmName("getCenterX") - get() = _builder.centerX - @JvmName("setCenterX") - set(value) { - _builder.centerX = value - } - /** - * ``` - * 바이옴 중심의 x 좌표 - * ``` - * - * `int32 center_x = 2;` - */ - public fun clearCenterX() { - _builder.clearCenterX() - } - - /** - * ``` - * 바이옴 중심의 y 좌표 - * ``` - * - * `int32 center_y = 3;` - */ - public var centerY: kotlin.Int - @JvmName("getCenterY") - get() = _builder.centerY - @JvmName("setCenterY") - set(value) { - _builder.centerY = value - } - /** - * ``` - * 바이옴 중심의 y 좌표 - * ``` - * - * `int32 center_y = 3;` - */ - public fun clearCenterY() { - _builder.clearCenterY() - } - - /** - * ``` - * 바이옴 중심의 z 좌표 - * ``` - * - * `int32 center_z = 4;` - */ - public var centerZ: kotlin.Int - @JvmName("getCenterZ") - get() = _builder.centerZ - @JvmName("setCenterZ") - set(value) { - _builder.centerZ = value - } - /** - * ``` - * 바이옴 중심의 z 좌표 - * ``` - * - * `int32 center_z = 4;` - */ - public fun clearCenterZ() { - _builder.clearCenterZ() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.BiomeInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo = - `com.kyhsgeekcode.minecraft_env.proto`.BiomeInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BlockInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BlockInfoKt.kt deleted file mode 100644 index 3803662a..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/BlockInfoKt.kt +++ /dev/null @@ -1,103 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeblockInfo") -public inline fun blockInfo(block: com.kyhsgeekcode.minecraft_env.proto.BlockInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo = - com.kyhsgeekcode.minecraft_env.proto.BlockInfoKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.newBuilder()).apply { block() }._build() -/** - * Protobuf type `BlockInfo` - */ -public object BlockInfoKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo = _builder.build() - - /** - * `int32 x = 1;` - */ - public var x: kotlin.Int - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `int32 x = 1;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `int32 y = 2;` - */ - public var y: kotlin.Int - @JvmName("getY") - get() = _builder.y - @JvmName("setY") - set(value) { - _builder.y = value - } - /** - * `int32 y = 2;` - */ - public fun clearY() { - _builder.clearY() - } - - /** - * `int32 z = 3;` - */ - public var z: kotlin.Int - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `int32 z = 3;` - */ - public fun clearZ() { - _builder.clearZ() - } - - /** - * `string translation_key = 4;` - */ - public var translationKey: kotlin.String - @JvmName("getTranslationKey") - get() = _builder.translationKey - @JvmName("setTranslationKey") - set(value) { - _builder.translationKey = value - } - /** - * `string translation_key = 4;` - */ - public fun clearTranslationKey() { - _builder.clearTranslationKey() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.BlockInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo = - `com.kyhsgeekcode.minecraft_env.proto`.BlockInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ChatMessageInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ChatMessageInfoKt.kt deleted file mode 100644 index bdcbd18e..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ChatMessageInfoKt.kt +++ /dev/null @@ -1,94 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializechatMessageInfo") -public inline fun chatMessageInfo(block: com.kyhsgeekcode.minecraft_env.proto.ChatMessageInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo = - com.kyhsgeekcode.minecraft_env.proto.ChatMessageInfoKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.newBuilder()).apply { block() }._build() -/** - * Protobuf type `ChatMessageInfo` - */ -public object ChatMessageInfoKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo = _builder.build() - - /** - * `int64 added_time = 1;` - */ - public var addedTime: kotlin.Long - @JvmName("getAddedTime") - get() = _builder.addedTime - @JvmName("setAddedTime") - set(value) { - _builder.addedTime = value - } - /** - * `int64 added_time = 1;` - */ - public fun clearAddedTime() { - _builder.clearAddedTime() - } - - /** - * `string message = 2;` - */ - public var message: kotlin.String - @JvmName("getMessage") - get() = _builder.message - @JvmName("setMessage") - set(value) { - _builder.message = value - } - /** - * `string message = 2;` - */ - public fun clearMessage() { - _builder.clearMessage() - } - - /** - * ``` - * TODO;; always empty - * ``` - * - * `string indicator = 3;` - */ - public var indicator: kotlin.String - @JvmName("getIndicator") - get() = _builder.indicator - @JvmName("setIndicator") - set(value) { - _builder.indicator = value - } - /** - * ``` - * TODO;; always empty - * ``` - * - * `string indicator = 3;` - */ - public fun clearIndicator() { - _builder.clearIndicator() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.ChatMessageInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo = - `com.kyhsgeekcode.minecraft_env.proto`.ChatMessageInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntitiesWithinDistanceKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntitiesWithinDistanceKt.kt deleted file mode 100644 index 7b1f7cd2..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntitiesWithinDistanceKt.kt +++ /dev/null @@ -1,107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeentitiesWithinDistance") -public inline fun entitiesWithinDistance(block: com.kyhsgeekcode.minecraft_env.proto.EntitiesWithinDistanceKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance = - com.kyhsgeekcode.minecraft_env.proto.EntitiesWithinDistanceKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.newBuilder()).apply { block() }._build() -/** - * Protobuf type `EntitiesWithinDistance` - */ -public object EntitiesWithinDistanceKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance = _builder.build() - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class EntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .EntityInfo entities = 1;` - */ - public val entities: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.entitiesList - ) - /** - * `repeated .EntityInfo entities = 1;` - * @param value The entities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addEntities") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - _builder.addEntities(value) - } - /** - * `repeated .EntityInfo entities = 1;` - * @param value The entities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignEntities") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - add(value) - } - /** - * `repeated .EntityInfo entities = 1;` - * @param values The entities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllEntities") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllEntities(values) - } - /** - * `repeated .EntityInfo entities = 1;` - * @param values The entities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllEntities") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .EntityInfo entities = 1;` - * @param index The index to set the value at. - * @param value The entities to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setEntities") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - _builder.setEntities(index, value) - } - /** - * `repeated .EntityInfo entities = 1;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearEntities") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearEntities() - } - - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.EntitiesWithinDistanceKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance = - `com.kyhsgeekcode.minecraft_env.proto`.EntitiesWithinDistanceKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntityInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntityInfoKt.kt deleted file mode 100644 index e90884cf..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/EntityInfoKt.kt +++ /dev/null @@ -1,171 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeentityInfo") -public inline fun entityInfo(block: com.kyhsgeekcode.minecraft_env.proto.EntityInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo = - com.kyhsgeekcode.minecraft_env.proto.EntityInfoKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.newBuilder()).apply { block() }._build() -/** - * Protobuf type `EntityInfo` - */ -public object EntityInfoKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo = _builder.build() - - /** - * `string unique_name = 1;` - */ - public var uniqueName: kotlin.String - @JvmName("getUniqueName") - get() = _builder.uniqueName - @JvmName("setUniqueName") - set(value) { - _builder.uniqueName = value - } - /** - * `string unique_name = 1;` - */ - public fun clearUniqueName() { - _builder.clearUniqueName() - } - - /** - * `string translation_key = 2;` - */ - public var translationKey: kotlin.String - @JvmName("getTranslationKey") - get() = _builder.translationKey - @JvmName("setTranslationKey") - set(value) { - _builder.translationKey = value - } - /** - * `string translation_key = 2;` - */ - public fun clearTranslationKey() { - _builder.clearTranslationKey() - } - - /** - * `double x = 3;` - */ - public var x: kotlin.Double - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `double x = 3;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `double y = 4;` - */ - public var y: kotlin.Double - @JvmName("getY") - get() = _builder.y - @JvmName("setY") - set(value) { - _builder.y = value - } - /** - * `double y = 4;` - */ - public fun clearY() { - _builder.clearY() - } - - /** - * `double z = 5;` - */ - public var z: kotlin.Double - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `double z = 5;` - */ - public fun clearZ() { - _builder.clearZ() - } - - /** - * `double yaw = 6;` - */ - public var yaw: kotlin.Double - @JvmName("getYaw") - get() = _builder.yaw - @JvmName("setYaw") - set(value) { - _builder.yaw = value - } - /** - * `double yaw = 6;` - */ - public fun clearYaw() { - _builder.clearYaw() - } - - /** - * `double pitch = 7;` - */ - public var pitch: kotlin.Double - @JvmName("getPitch") - get() = _builder.pitch - @JvmName("setPitch") - set(value) { - _builder.pitch = value - } - /** - * `double pitch = 7;` - */ - public fun clearPitch() { - _builder.clearPitch() - } - - /** - * `double health = 8;` - */ - public var health: kotlin.Double - @JvmName("getHealth") - get() = _builder.health - @JvmName("setHealth") - set(value) { - _builder.health = value - } - /** - * `double health = 8;` - */ - public fun clearHealth() { - _builder.clearHealth() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.EntityInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo = - `com.kyhsgeekcode.minecraft_env.proto`.EntityInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HeightInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HeightInfoKt.kt deleted file mode 100644 index 22911129..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HeightInfoKt.kt +++ /dev/null @@ -1,103 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeheightInfo") -public inline fun heightInfo(block: com.kyhsgeekcode.minecraft_env.proto.HeightInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo = - com.kyhsgeekcode.minecraft_env.proto.HeightInfoKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.newBuilder()).apply { block() }._build() -/** - * Protobuf type `HeightInfo` - */ -public object HeightInfoKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo = _builder.build() - - /** - * `int32 x = 1;` - */ - public var x: kotlin.Int - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `int32 x = 1;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `int32 z = 2;` - */ - public var z: kotlin.Int - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `int32 z = 2;` - */ - public fun clearZ() { - _builder.clearZ() - } - - /** - * `int32 height = 3;` - */ - public var height: kotlin.Int - @JvmName("getHeight") - get() = _builder.height - @JvmName("setHeight") - set(value) { - _builder.height = value - } - /** - * `int32 height = 3;` - */ - public fun clearHeight() { - _builder.clearHeight() - } - - /** - * `string block_name = 4;` - */ - public var blockName: kotlin.String - @JvmName("getBlockName") - get() = _builder.blockName - @JvmName("setBlockName") - set(value) { - _builder.blockName = value - } - /** - * `string block_name = 4;` - */ - public fun clearBlockName() { - _builder.clearBlockName() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.HeightInfoKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo = - `com.kyhsgeekcode.minecraft_env.proto`.HeightInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HitResultKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HitResultKt.kt deleted file mode 100644 index 3d3ab69e..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/HitResultKt.kt +++ /dev/null @@ -1,119 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializehitResult") -public inline fun hitResult(block: com.kyhsgeekcode.minecraft_env.proto.HitResultKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult = - com.kyhsgeekcode.minecraft_env.proto.HitResultKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.newBuilder()).apply { block() }._build() -/** - * Protobuf type `HitResult` - */ -public object HitResultKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult = _builder.build() - - /** - * `.HitResult.Type type = 1;` - */ - public var type: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type - @JvmName("getType") - get() = _builder.type - @JvmName("setType") - set(value) { - _builder.type = value - } - public var typeValue: kotlin.Int - @JvmName("getTypeValue") - get() = _builder.typeValue - @JvmName("setTypeValue") - set(value) { - _builder.typeValue = value - } - /** - * `.HitResult.Type type = 1;` - */ - public fun clearType() { - _builder.clearType() - } - - /** - * `.BlockInfo target_block = 2;` - */ - public var targetBlock: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo - @JvmName("getTargetBlock") - get() = _builder.targetBlock - @JvmName("setTargetBlock") - set(value) { - _builder.targetBlock = value - } - /** - * `.BlockInfo target_block = 2;` - */ - public fun clearTargetBlock() { - _builder.clearTargetBlock() - } - /** - * `.BlockInfo target_block = 2;` - * @return Whether the targetBlock field is set. - */ - public fun hasTargetBlock(): kotlin.Boolean { - return _builder.hasTargetBlock() - } - - public val HitResultKt.Dsl.targetBlockOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo? - get() = _builder.targetBlockOrNull - - /** - * `.EntityInfo target_entity = 3;` - */ - public var targetEntity: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo - @JvmName("getTargetEntity") - get() = _builder.targetEntity - @JvmName("setTargetEntity") - set(value) { - _builder.targetEntity = value - } - /** - * `.EntityInfo target_entity = 3;` - */ - public fun clearTargetEntity() { - _builder.clearTargetEntity() - } - /** - * `.EntityInfo target_entity = 3;` - * @return Whether the targetEntity field is set. - */ - public fun hasTargetEntity(): kotlin.Boolean { - return _builder.hasTargetEntity() - } - - public val HitResultKt.Dsl.targetEntityOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo? - get() = _builder.targetEntityOrNull - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.HitResultKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult = - `com.kyhsgeekcode.minecraft_env.proto`.HitResultKt.Dsl._create(this.toBuilder()).apply { block() }._build() - -public val com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder.targetBlockOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo? - get() = if (hasTargetBlock()) getTargetBlock() else null - -public val com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder.targetEntityOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo? - get() = if (hasTargetEntity()) getTargetEntity() else null - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentMessageKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentMessageKt.kt deleted file mode 100644 index f0faf3c1..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentMessageKt.kt +++ /dev/null @@ -1,986 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: initial_environment.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeinitialEnvironmentMessage") -public inline fun initialEnvironmentMessage(block: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironmentMessageKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage = - com.kyhsgeekcode.minecraft_env.proto.InitialEnvironmentMessageKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.newBuilder()).apply { block() }._build() -/** - * Protobuf type `InitialEnvironmentMessage` - */ -public object InitialEnvironmentMessageKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage = _builder.build() - - /** - * ``` - * Required. The width of the image. - * ``` - * - * `int32 imageSizeX = 1;` - */ - public var imageSizeX: kotlin.Int - @JvmName("getImageSizeX") - get() = _builder.getImageSizeX() - @JvmName("setImageSizeX") - set(value) { - _builder.setImageSizeX(value) - } - /** - * ``` - * Required. The width of the image. - * ``` - * - * `int32 imageSizeX = 1;` - */ - public fun clearImageSizeX() { - _builder.clearImageSizeX() - } - - /** - * ``` - * Required. The height of the image. - * ``` - * - * `int32 imageSizeY = 2;` - */ - public var imageSizeY: kotlin.Int - @JvmName("getImageSizeY") - get() = _builder.getImageSizeY() - @JvmName("setImageSizeY") - set(value) { - _builder.setImageSizeY(value) - } - /** - * ``` - * Required. The height of the image. - * ``` - * - * `int32 imageSizeY = 2;` - */ - public fun clearImageSizeY() { - _builder.clearImageSizeY() - } - - /** - * ``` - * Default = SURVIVAL - * ``` - * - * `.GameMode gamemode = 3;` - */ - public var gamemode: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode - @JvmName("getGamemode") - get() = _builder.getGamemode() - @JvmName("setGamemode") - set(value) { - _builder.setGamemode(value) - } - public var gamemodeValue: kotlin.Int - @JvmName("getGamemodeValue") - get() = _builder.getGamemodeValue() - @JvmName("setGamemodeValue") - set(value) { - _builder.setGamemodeValue(value) - } - /** - * ``` - * Default = SURVIVAL - * ``` - * - * `.GameMode gamemode = 3;` - */ - public fun clearGamemode() { - _builder.clearGamemode() - } - - /** - * ``` - * Default = NORMAL - * ``` - * - * `.Difficulty difficulty = 4;` - */ - public var difficulty: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty - @JvmName("getDifficulty") - get() = _builder.getDifficulty() - @JvmName("setDifficulty") - set(value) { - _builder.setDifficulty(value) - } - public var difficultyValue: kotlin.Int - @JvmName("getDifficultyValue") - get() = _builder.getDifficultyValue() - @JvmName("setDifficultyValue") - set(value) { - _builder.setDifficultyValue(value) - } - /** - * ``` - * Default = NORMAL - * ``` - * - * `.Difficulty difficulty = 4;` - */ - public fun clearDifficulty() { - _builder.clearDifficulty() - } - - /** - * ``` - * Default = DEFAULT - * ``` - * - * `.WorldType worldType = 5;` - */ - public var worldType: com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType - @JvmName("getWorldType") - get() = _builder.getWorldType() - @JvmName("setWorldType") - set(value) { - _builder.setWorldType(value) - } - public var worldTypeValue: kotlin.Int - @JvmName("getWorldTypeValue") - get() = _builder.getWorldTypeValue() - @JvmName("setWorldTypeValue") - set(value) { - _builder.setWorldTypeValue(value) - } - /** - * ``` - * Default = DEFAULT - * ``` - * - * `.WorldType worldType = 5;` - */ - public fun clearWorldType() { - _builder.clearWorldType() - } - - /** - * ``` - * Empty for no value - * ``` - * - * `string worldTypeArgs = 6;` - */ - public var worldTypeArgs: kotlin.String - @JvmName("getWorldTypeArgs") - get() = _builder.getWorldTypeArgs() - @JvmName("setWorldTypeArgs") - set(value) { - _builder.setWorldTypeArgs(value) - } - /** - * ``` - * Empty for no value - * ``` - * - * `string worldTypeArgs = 6;` - */ - public fun clearWorldTypeArgs() { - _builder.clearWorldTypeArgs() - } - - /** - * ``` - * Empty for no value - * ``` - * - * `string seed = 7;` - */ - public var seed: kotlin.String - @JvmName("getSeed") - get() = _builder.getSeed() - @JvmName("setSeed") - set(value) { - _builder.setSeed(value) - } - /** - * ``` - * Empty for no value - * ``` - * - * `string seed = 7;` - */ - public fun clearSeed() { - _builder.clearSeed() - } - - /** - * ``` - * Default = true - * ``` - * - * `bool generate_structures = 8;` - */ - public var generateStructures: kotlin.Boolean - @JvmName("getGenerateStructures") - get() = _builder.getGenerateStructures() - @JvmName("setGenerateStructures") - set(value) { - _builder.setGenerateStructures(value) - } - /** - * ``` - * Default = true - * ``` - * - * `bool generate_structures = 8;` - */ - public fun clearGenerateStructures() { - _builder.clearGenerateStructures() - } - - /** - * ``` - * Default = false - * ``` - * - * `bool bonus_chest = 9;` - */ - public var bonusChest: kotlin.Boolean - @JvmName("getBonusChest") - get() = _builder.getBonusChest() - @JvmName("setBonusChest") - set(value) { - _builder.setBonusChest(value) - } - /** - * ``` - * Default = false - * ``` - * - * `bool bonus_chest = 9;` - */ - public fun clearBonusChest() { - _builder.clearBonusChest() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class DatapackPathsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string datapackPaths = 10;` - * @return A list containing the datapackPaths. - */ - public val datapackPaths: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getDatapackPathsList() - ) - /** - * `repeated string datapackPaths = 10;` - * @param value The datapackPaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addDatapackPaths") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addDatapackPaths(value) - } - /** - * `repeated string datapackPaths = 10;` - * @param value The datapackPaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignDatapackPaths") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string datapackPaths = 10;` - * @param values The datapackPaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllDatapackPaths") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllDatapackPaths(values) - } - /** - * `repeated string datapackPaths = 10;` - * @param values The datapackPaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllDatapackPaths") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string datapackPaths = 10;` - * @param index The index to set the value at. - * @param value The datapackPaths to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setDatapackPaths") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setDatapackPaths(index, value) - }/** - * `repeated string datapackPaths = 10;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearDatapackPaths") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearDatapackPaths() - } - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class InitialExtraCommandsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string initialExtraCommands = 11;` - * @return A list containing the initialExtraCommands. - */ - public val initialExtraCommands: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getInitialExtraCommandsList() - ) - /** - * `repeated string initialExtraCommands = 11;` - * @param value The initialExtraCommands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addInitialExtraCommands") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addInitialExtraCommands(value) - } - /** - * `repeated string initialExtraCommands = 11;` - * @param value The initialExtraCommands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignInitialExtraCommands") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string initialExtraCommands = 11;` - * @param values The initialExtraCommands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllInitialExtraCommands") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllInitialExtraCommands(values) - } - /** - * `repeated string initialExtraCommands = 11;` - * @param values The initialExtraCommands to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllInitialExtraCommands") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string initialExtraCommands = 11;` - * @param index The index to set the value at. - * @param value The initialExtraCommands to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setInitialExtraCommands") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setInitialExtraCommands(index, value) - }/** - * `repeated string initialExtraCommands = 11;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearInitialExtraCommands") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearInitialExtraCommands() - } - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class KilledStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string killedStatKeys = 12;` - * @return A list containing the killedStatKeys. - */ - public val killedStatKeys: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getKilledStatKeysList() - ) - /** - * `repeated string killedStatKeys = 12;` - * @param value The killedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addKilledStatKeys") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addKilledStatKeys(value) - } - /** - * `repeated string killedStatKeys = 12;` - * @param value The killedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignKilledStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string killedStatKeys = 12;` - * @param values The killedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllKilledStatKeys") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllKilledStatKeys(values) - } - /** - * `repeated string killedStatKeys = 12;` - * @param values The killedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllKilledStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string killedStatKeys = 12;` - * @param index The index to set the value at. - * @param value The killedStatKeys to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setKilledStatKeys") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setKilledStatKeys(index, value) - }/** - * `repeated string killedStatKeys = 12;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearKilledStatKeys") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearKilledStatKeys() - } - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class MinedStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string minedStatKeys = 13;` - * @return A list containing the minedStatKeys. - */ - public val minedStatKeys: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getMinedStatKeysList() - ) - /** - * `repeated string minedStatKeys = 13;` - * @param value The minedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addMinedStatKeys") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addMinedStatKeys(value) - } - /** - * `repeated string minedStatKeys = 13;` - * @param value The minedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignMinedStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string minedStatKeys = 13;` - * @param values The minedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllMinedStatKeys") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllMinedStatKeys(values) - } - /** - * `repeated string minedStatKeys = 13;` - * @param values The minedStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllMinedStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string minedStatKeys = 13;` - * @param index The index to set the value at. - * @param value The minedStatKeys to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setMinedStatKeys") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setMinedStatKeys(index, value) - }/** - * `repeated string minedStatKeys = 13;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearMinedStatKeys") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearMinedStatKeys() - } - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class MiscStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string miscStatKeys = 14;` - * @return A list containing the miscStatKeys. - */ - public val miscStatKeys: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getMiscStatKeysList() - ) - /** - * `repeated string miscStatKeys = 14;` - * @param value The miscStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addMiscStatKeys") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addMiscStatKeys(value) - } - /** - * `repeated string miscStatKeys = 14;` - * @param value The miscStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignMiscStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string miscStatKeys = 14;` - * @param values The miscStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllMiscStatKeys") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllMiscStatKeys(values) - } - /** - * `repeated string miscStatKeys = 14;` - * @param values The miscStatKeys to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllMiscStatKeys") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string miscStatKeys = 14;` - * @param index The index to set the value at. - * @param value The miscStatKeys to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setMiscStatKeys") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setMiscStatKeys(index, value) - }/** - * `repeated string miscStatKeys = 14;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearMiscStatKeys") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearMiscStatKeys() - } - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class SurroundingEntityDistancesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated int32 surroundingEntityDistances = 15;` - */ - public val surroundingEntityDistances: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getSurroundingEntityDistancesList() - ) - /** - * `repeated int32 surroundingEntityDistances = 15;` - * @param value The surroundingEntityDistances to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addSurroundingEntityDistances") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) { - _builder.addSurroundingEntityDistances(value) - }/** - * `repeated int32 surroundingEntityDistances = 15;` - * @param value The surroundingEntityDistances to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignSurroundingEntityDistances") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.Int) { - add(value) - }/** - * `repeated int32 surroundingEntityDistances = 15;` - * @param values The surroundingEntityDistances to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllSurroundingEntityDistances") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllSurroundingEntityDistances(values) - }/** - * `repeated int32 surroundingEntityDistances = 15;` - * @param values The surroundingEntityDistances to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllSurroundingEntityDistances") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - }/** - * `repeated int32 surroundingEntityDistances = 15;` - * @param index The index to set the value at. - * @param value The surroundingEntityDistances to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setSurroundingEntityDistances") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.Int) { - _builder.setSurroundingEntityDistances(index, value) - }/** - * `repeated int32 surroundingEntityDistances = 15;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearSurroundingEntityDistances") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearSurroundingEntityDistances() - } - /** - * `bool hudHidden = 16;` - */ - public var hudHidden: kotlin.Boolean - @JvmName("getHudHidden") - get() = _builder.getHudHidden() - @JvmName("setHudHidden") - set(value) { - _builder.setHudHidden(value) - } - /** - * `bool hudHidden = 16;` - */ - public fun clearHudHidden() { - _builder.clearHudHidden() - } - - /** - * `int32 render_distance = 17;` - */ - public var renderDistance: kotlin.Int - @JvmName("getRenderDistance") - get() = _builder.getRenderDistance() - @JvmName("setRenderDistance") - set(value) { - _builder.setRenderDistance(value) - } - /** - * `int32 render_distance = 17;` - */ - public fun clearRenderDistance() { - _builder.clearRenderDistance() - } - - /** - * `int32 simulation_distance = 18;` - */ - public var simulationDistance: kotlin.Int - @JvmName("getSimulationDistance") - get() = _builder.getSimulationDistance() - @JvmName("setSimulationDistance") - set(value) { - _builder.setSimulationDistance(value) - } - /** - * `int32 simulation_distance = 18;` - */ - public fun clearSimulationDistance() { - _builder.clearSimulationDistance() - } - - /** - * ``` - * If > 0, binocular mode - * ``` - * - * `float eye_distance = 19;` - */ - public var eyeDistance: kotlin.Float - @JvmName("getEyeDistance") - get() = _builder.getEyeDistance() - @JvmName("setEyeDistance") - set(value) { - _builder.setEyeDistance(value) - } - /** - * ``` - * If > 0, binocular mode - * ``` - * - * `float eye_distance = 19;` - */ - public fun clearEyeDistance() { - _builder.clearEyeDistance() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class StructurePathsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated string structurePaths = 20;` - * @return A list containing the structurePaths. - */ - public val structurePaths: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.getStructurePathsList() - ) - /** - * `repeated string structurePaths = 20;` - * @param value The structurePaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addStructurePaths") - public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { - _builder.addStructurePaths(value) - } - /** - * `repeated string structurePaths = 20;` - * @param value The structurePaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignStructurePaths") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { - add(value) - } - /** - * `repeated string structurePaths = 20;` - * @param values The structurePaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllStructurePaths") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllStructurePaths(values) - } - /** - * `repeated string structurePaths = 20;` - * @param values The structurePaths to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllStructurePaths") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated string structurePaths = 20;` - * @param index The index to set the value at. - * @param value The structurePaths to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setStructurePaths") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { - _builder.setStructurePaths(index, value) - }/** - * `repeated string structurePaths = 20;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearStructurePaths") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearStructurePaths() - } - /** - * `bool no_fov_effect = 21;` - */ - public var noFovEffect: kotlin.Boolean - @JvmName("getNoFovEffect") - get() = _builder.getNoFovEffect() - @JvmName("setNoFovEffect") - set(value) { - _builder.setNoFovEffect(value) - } - /** - * `bool no_fov_effect = 21;` - */ - public fun clearNoFovEffect() { - _builder.clearNoFovEffect() - } - - /** - * `bool request_raycast = 22;` - */ - public var requestRaycast: kotlin.Boolean - @JvmName("getRequestRaycast") - get() = _builder.getRequestRaycast() - @JvmName("setRequestRaycast") - set(value) { - _builder.setRequestRaycast(value) - } - /** - * `bool request_raycast = 22;` - */ - public fun clearRequestRaycast() { - _builder.clearRequestRaycast() - } - - /** - * `int32 screen_encoding_mode = 23;` - */ - public var screenEncodingMode: kotlin.Int - @JvmName("getScreenEncodingMode") - get() = _builder.getScreenEncodingMode() - @JvmName("setScreenEncodingMode") - set(value) { - _builder.setScreenEncodingMode(value) - } - /** - * `int32 screen_encoding_mode = 23;` - */ - public fun clearScreenEncodingMode() { - _builder.clearScreenEncodingMode() - } - - /** - * `bool requiresSurroundingBlocks = 24;` - */ - public var requiresSurroundingBlocks: kotlin.Boolean - @JvmName("getRequiresSurroundingBlocks") - get() = _builder.getRequiresSurroundingBlocks() - @JvmName("setRequiresSurroundingBlocks") - set(value) { - _builder.setRequiresSurroundingBlocks(value) - } - /** - * `bool requiresSurroundingBlocks = 24;` - */ - public fun clearRequiresSurroundingBlocks() { - _builder.clearRequiresSurroundingBlocks() - } - - /** - * `string level_display_name_to_play = 25;` - */ - public var levelDisplayNameToPlay: kotlin.String - @JvmName("getLevelDisplayNameToPlay") - get() = _builder.getLevelDisplayNameToPlay() - @JvmName("setLevelDisplayNameToPlay") - set(value) { - _builder.setLevelDisplayNameToPlay(value) - } - /** - * `string level_display_name_to_play = 25;` - */ - public fun clearLevelDisplayNameToPlay() { - _builder.clearLevelDisplayNameToPlay() - } - - /** - * ``` - * Default = 70 - * ``` - * - * `float fov = 26;` - */ - public var fov: kotlin.Float - @JvmName("getFov") - get() = _builder.getFov() - @JvmName("setFov") - set(value) { - _builder.setFov(value) - } - /** - * ``` - * Default = 70 - * ``` - * - * `float fov = 26;` - */ - public fun clearFov() { - _builder.clearFov() - } - - /** - * `bool requiresBiomeInfo = 27;` - */ - public var requiresBiomeInfo: kotlin.Boolean - @JvmName("getRequiresBiomeInfo") - get() = _builder.getRequiresBiomeInfo() - @JvmName("setRequiresBiomeInfo") - set(value) { - _builder.setRequiresBiomeInfo(value) - } - /** - * `bool requiresBiomeInfo = 27;` - */ - public fun clearRequiresBiomeInfo() { - _builder.clearRequiresBiomeInfo() - } - - /** - * `bool requiresHeightmap = 28;` - */ - public var requiresHeightmap: kotlin.Boolean - @JvmName("getRequiresHeightmap") - get() = _builder.getRequiresHeightmap() - @JvmName("setRequiresHeightmap") - set(value) { - _builder.setRequiresHeightmap(value) - } - /** - * `bool requiresHeightmap = 28;` - */ - public fun clearRequiresHeightmap() { - _builder.clearRequiresHeightmap() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.InitialEnvironmentMessageKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage = - `com.kyhsgeekcode.minecraft_env.proto`.InitialEnvironmentMessageKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ItemStackKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ItemStackKt.kt deleted file mode 100644 index 78609c3c..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ItemStackKt.kt +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeitemStack") -public inline fun itemStack(block: com.kyhsgeekcode.minecraft_env.proto.ItemStackKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack = - com.kyhsgeekcode.minecraft_env.proto.ItemStackKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.newBuilder()).apply { block() }._build() -/** - * Protobuf type `ItemStack` - */ -public object ItemStackKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack = _builder.build() - - /** - * `int32 raw_id = 1;` - */ - public var rawId: kotlin.Int - @JvmName("getRawId") - get() = _builder.rawId - @JvmName("setRawId") - set(value) { - _builder.rawId = value - } - /** - * `int32 raw_id = 1;` - */ - public fun clearRawId() { - _builder.clearRawId() - } - - /** - * `string translation_key = 2;` - */ - public var translationKey: kotlin.String - @JvmName("getTranslationKey") - get() = _builder.translationKey - @JvmName("setTranslationKey") - set(value) { - _builder.translationKey = value - } - /** - * `string translation_key = 2;` - */ - public fun clearTranslationKey() { - _builder.clearTranslationKey() - } - - /** - * `int32 count = 3;` - */ - public var count: kotlin.Int - @JvmName("getCount") - get() = _builder.count - @JvmName("setCount") - set(value) { - _builder.count = value - } - /** - * `int32 count = 3;` - */ - public fun clearCount() { - _builder.clearCount() - } - - /** - * `int32 durability = 4;` - */ - public var durability: kotlin.Int - @JvmName("getDurability") - get() = _builder.durability - @JvmName("setDurability") - set(value) { - _builder.durability = value - } - /** - * `int32 durability = 4;` - */ - public fun clearDurability() { - _builder.clearDurability() - } - - /** - * `int32 max_durability = 5;` - */ - public var maxDurability: kotlin.Int - @JvmName("getMaxDurability") - get() = _builder.maxDurability - @JvmName("setMaxDurability") - set(value) { - _builder.maxDurability = value - } - /** - * `int32 max_durability = 5;` - */ - public fun clearMaxDurability() { - _builder.clearMaxDurability() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.ItemStackKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack = - `com.kyhsgeekcode.minecraft_env.proto`.ItemStackKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/NearbyBiomeKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/NearbyBiomeKt.kt deleted file mode 100644 index d84cc8ed..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/NearbyBiomeKt.kt +++ /dev/null @@ -1,103 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializenearbyBiome") -public inline fun nearbyBiome(block: com.kyhsgeekcode.minecraft_env.proto.NearbyBiomeKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome = - com.kyhsgeekcode.minecraft_env.proto.NearbyBiomeKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.newBuilder()).apply { block() }._build() -/** - * Protobuf type `NearbyBiome` - */ -public object NearbyBiomeKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome = _builder.build() - - /** - * `string biome_name = 1;` - */ - public var biomeName: kotlin.String - @JvmName("getBiomeName") - get() = _builder.biomeName - @JvmName("setBiomeName") - set(value) { - _builder.biomeName = value - } - /** - * `string biome_name = 1;` - */ - public fun clearBiomeName() { - _builder.clearBiomeName() - } - - /** - * `int32 x = 2;` - */ - public var x: kotlin.Int - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `int32 x = 2;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `int32 y = 3;` - */ - public var y: kotlin.Int - @JvmName("getY") - get() = _builder.y - @JvmName("setY") - set(value) { - _builder.y = value - } - /** - * `int32 y = 3;` - */ - public fun clearY() { - _builder.clearY() - } - - /** - * `int32 z = 4;` - */ - public var z: kotlin.Int - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `int32 z = 4;` - */ - public fun clearZ() { - _builder.clearZ() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.NearbyBiomeKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome = - `com.kyhsgeekcode.minecraft_env.proto`.NearbyBiomeKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceMessageKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceMessageKt.kt deleted file mode 100644 index 8aebe2b6..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceMessageKt.kt +++ /dev/null @@ -1,1334 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializeobservationSpaceMessage") -public inline fun observationSpaceMessage(block: com.kyhsgeekcode.minecraft_env.proto.ObservationSpaceMessageKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage = - com.kyhsgeekcode.minecraft_env.proto.ObservationSpaceMessageKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.newBuilder()).apply { block() }._build() -/** - * Protobuf type `ObservationSpaceMessage` - */ -public object ObservationSpaceMessageKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage = _builder.build() - - /** - * `bytes image = 1;` - */ - public var image: com.google.protobuf.ByteString - @JvmName("getImage") - get() = _builder.image - @JvmName("setImage") - set(value) { - _builder.image = value - } - /** - * `bytes image = 1;` - */ - public fun clearImage() { - _builder.clearImage() - } - - /** - * `double x = 2;` - */ - public var x: kotlin.Double - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `double x = 2;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `double y = 3;` - */ - public var y: kotlin.Double - @JvmName("getY") - get() = _builder.y - @JvmName("setY") - set(value) { - _builder.y = value - } - /** - * `double y = 3;` - */ - public fun clearY() { - _builder.clearY() - } - - /** - * `double z = 4;` - */ - public var z: kotlin.Double - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `double z = 4;` - */ - public fun clearZ() { - _builder.clearZ() - } - - /** - * `double yaw = 5;` - */ - public var yaw: kotlin.Double - @JvmName("getYaw") - get() = _builder.yaw - @JvmName("setYaw") - set(value) { - _builder.yaw = value - } - /** - * `double yaw = 5;` - */ - public fun clearYaw() { - _builder.clearYaw() - } - - /** - * `double pitch = 6;` - */ - public var pitch: kotlin.Double - @JvmName("getPitch") - get() = _builder.pitch - @JvmName("setPitch") - set(value) { - _builder.pitch = value - } - /** - * `double pitch = 6;` - */ - public fun clearPitch() { - _builder.clearPitch() - } - - /** - * `double health = 7;` - */ - public var health: kotlin.Double - @JvmName("getHealth") - get() = _builder.health - @JvmName("setHealth") - set(value) { - _builder.health = value - } - /** - * `double health = 7;` - */ - public fun clearHealth() { - _builder.clearHealth() - } - - /** - * `double food_level = 8;` - */ - public var foodLevel: kotlin.Double - @JvmName("getFoodLevel") - get() = _builder.foodLevel - @JvmName("setFoodLevel") - set(value) { - _builder.foodLevel = value - } - /** - * `double food_level = 8;` - */ - public fun clearFoodLevel() { - _builder.clearFoodLevel() - } - - /** - * `double saturation_level = 9;` - */ - public var saturationLevel: kotlin.Double - @JvmName("getSaturationLevel") - get() = _builder.saturationLevel - @JvmName("setSaturationLevel") - set(value) { - _builder.saturationLevel = value - } - /** - * `double saturation_level = 9;` - */ - public fun clearSaturationLevel() { - _builder.clearSaturationLevel() - } - - /** - * `bool is_dead = 10;` - */ - public var isDead: kotlin.Boolean - @JvmName("getIsDead") - get() = _builder.isDead - @JvmName("setIsDead") - set(value) { - _builder.isDead = value - } - /** - * `bool is_dead = 10;` - */ - public fun clearIsDead() { - _builder.clearIsDead() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class InventoryProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .ItemStack inventory = 11;` - */ - public val inventory: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.inventoryList - ) - /** - * `repeated .ItemStack inventory = 11;` - * @param value The inventory to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addInventory") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack) { - _builder.addInventory(value) - } - /** - * `repeated .ItemStack inventory = 11;` - * @param value The inventory to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignInventory") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack) { - add(value) - } - /** - * `repeated .ItemStack inventory = 11;` - * @param values The inventory to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllInventory") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllInventory(values) - } - /** - * `repeated .ItemStack inventory = 11;` - * @param values The inventory to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllInventory") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .ItemStack inventory = 11;` - * @param index The index to set the value at. - * @param value The inventory to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setInventory") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack) { - _builder.setInventory(index, value) - } - /** - * `repeated .ItemStack inventory = 11;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearInventory") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearInventory() - } - - - /** - * `.HitResult raycast_result = 12;` - */ - public var raycastResult: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult - @JvmName("getRaycastResult") - get() = _builder.raycastResult - @JvmName("setRaycastResult") - set(value) { - _builder.raycastResult = value - } - /** - * `.HitResult raycast_result = 12;` - */ - public fun clearRaycastResult() { - _builder.clearRaycastResult() - } - /** - * `.HitResult raycast_result = 12;` - * @return Whether the raycastResult field is set. - */ - public fun hasRaycastResult(): kotlin.Boolean { - return _builder.hasRaycastResult() - } - - public val ObservationSpaceMessageKt.Dsl.raycastResultOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult? - get() = _builder.raycastResultOrNull - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class SoundSubtitlesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .SoundEntry sound_subtitles = 13;` - */ - public val soundSubtitles: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.soundSubtitlesList - ) - /** - * `repeated .SoundEntry sound_subtitles = 13;` - * @param value The soundSubtitles to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addSoundSubtitles") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry) { - _builder.addSoundSubtitles(value) - } - /** - * `repeated .SoundEntry sound_subtitles = 13;` - * @param value The soundSubtitles to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignSoundSubtitles") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry) { - add(value) - } - /** - * `repeated .SoundEntry sound_subtitles = 13;` - * @param values The soundSubtitles to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllSoundSubtitles") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllSoundSubtitles(values) - } - /** - * `repeated .SoundEntry sound_subtitles = 13;` - * @param values The soundSubtitles to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllSoundSubtitles") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .SoundEntry sound_subtitles = 13;` - * @param index The index to set the value at. - * @param value The soundSubtitles to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setSoundSubtitles") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry) { - _builder.setSoundSubtitles(index, value) - } - /** - * `repeated .SoundEntry sound_subtitles = 13;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearSoundSubtitles") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearSoundSubtitles() - } - - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class StatusEffectsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .StatusEffect status_effects = 14;` - */ - public val statusEffects: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.statusEffectsList - ) - /** - * `repeated .StatusEffect status_effects = 14;` - * @param value The statusEffects to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addStatusEffects") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect) { - _builder.addStatusEffects(value) - } - /** - * `repeated .StatusEffect status_effects = 14;` - * @param value The statusEffects to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignStatusEffects") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect) { - add(value) - } - /** - * `repeated .StatusEffect status_effects = 14;` - * @param values The statusEffects to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllStatusEffects") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllStatusEffects(values) - } - /** - * `repeated .StatusEffect status_effects = 14;` - * @param values The statusEffects to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllStatusEffects") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .StatusEffect status_effects = 14;` - * @param index The index to set the value at. - * @param value The statusEffects to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setStatusEffects") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect) { - _builder.setStatusEffects(index, value) - } - /** - * `repeated .StatusEffect status_effects = 14;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearStatusEffects") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearStatusEffects() - } - - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class KilledStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `map killed_statistics = 15;` - */ - public val killedStatistics: com.google.protobuf.kotlin.DslMap - @kotlin.jvm.JvmSynthetic - @JvmName("getKilledStatisticsMap") - get() = com.google.protobuf.kotlin.DslMap( - _builder.killedStatisticsMap - ) - /** - * `map killed_statistics = 15;` - */ - @JvmName("putKilledStatistics") - public fun com.google.protobuf.kotlin.DslMap - .put(key: kotlin.String, value: kotlin.Int) { - _builder.putKilledStatistics(key, value) - } - /** - * `map killed_statistics = 15;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("setKilledStatistics") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslMap - .set(key: kotlin.String, value: kotlin.Int) { - put(key, value) - } - /** - * `map killed_statistics = 15;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("removeKilledStatistics") - public fun com.google.protobuf.kotlin.DslMap - .remove(key: kotlin.String) { - _builder.removeKilledStatistics(key) - } - /** - * `map killed_statistics = 15;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("putAllKilledStatistics") - public fun com.google.protobuf.kotlin.DslMap - .putAll(map: kotlin.collections.Map) { - _builder.putAllKilledStatistics(map) - } - /** - * `map killed_statistics = 15;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("clearKilledStatistics") - public fun com.google.protobuf.kotlin.DslMap - .clear() { - _builder.clearKilledStatistics() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class MinedStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `map mined_statistics = 16;` - */ - public val minedStatistics: com.google.protobuf.kotlin.DslMap - @kotlin.jvm.JvmSynthetic - @JvmName("getMinedStatisticsMap") - get() = com.google.protobuf.kotlin.DslMap( - _builder.minedStatisticsMap - ) - /** - * `map mined_statistics = 16;` - */ - @JvmName("putMinedStatistics") - public fun com.google.protobuf.kotlin.DslMap - .put(key: kotlin.String, value: kotlin.Int) { - _builder.putMinedStatistics(key, value) - } - /** - * `map mined_statistics = 16;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("setMinedStatistics") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslMap - .set(key: kotlin.String, value: kotlin.Int) { - put(key, value) - } - /** - * `map mined_statistics = 16;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("removeMinedStatistics") - public fun com.google.protobuf.kotlin.DslMap - .remove(key: kotlin.String) { - _builder.removeMinedStatistics(key) - } - /** - * `map mined_statistics = 16;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("putAllMinedStatistics") - public fun com.google.protobuf.kotlin.DslMap - .putAll(map: kotlin.collections.Map) { - _builder.putAllMinedStatistics(map) - } - /** - * `map mined_statistics = 16;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("clearMinedStatistics") - public fun com.google.protobuf.kotlin.DslMap - .clear() { - _builder.clearMinedStatistics() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class MiscStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `map misc_statistics = 17;` - */ - public val miscStatistics: com.google.protobuf.kotlin.DslMap - @kotlin.jvm.JvmSynthetic - @JvmName("getMiscStatisticsMap") - get() = com.google.protobuf.kotlin.DslMap( - _builder.miscStatisticsMap - ) - /** - * `map misc_statistics = 17;` - */ - @JvmName("putMiscStatistics") - public fun com.google.protobuf.kotlin.DslMap - .put(key: kotlin.String, value: kotlin.Int) { - _builder.putMiscStatistics(key, value) - } - /** - * `map misc_statistics = 17;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("setMiscStatistics") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslMap - .set(key: kotlin.String, value: kotlin.Int) { - put(key, value) - } - /** - * `map misc_statistics = 17;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("removeMiscStatistics") - public fun com.google.protobuf.kotlin.DslMap - .remove(key: kotlin.String) { - _builder.removeMiscStatistics(key) - } - /** - * `map misc_statistics = 17;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("putAllMiscStatistics") - public fun com.google.protobuf.kotlin.DslMap - .putAll(map: kotlin.collections.Map) { - _builder.putAllMiscStatistics(map) - } - /** - * `map misc_statistics = 17;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("clearMiscStatistics") - public fun com.google.protobuf.kotlin.DslMap - .clear() { - _builder.clearMiscStatistics() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class VisibleEntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .EntityInfo visible_entities = 18;` - */ - public val visibleEntities: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.visibleEntitiesList - ) - /** - * `repeated .EntityInfo visible_entities = 18;` - * @param value The visibleEntities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addVisibleEntities") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - _builder.addVisibleEntities(value) - } - /** - * `repeated .EntityInfo visible_entities = 18;` - * @param value The visibleEntities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignVisibleEntities") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - add(value) - } - /** - * `repeated .EntityInfo visible_entities = 18;` - * @param values The visibleEntities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllVisibleEntities") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllVisibleEntities(values) - } - /** - * `repeated .EntityInfo visible_entities = 18;` - * @param values The visibleEntities to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllVisibleEntities") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .EntityInfo visible_entities = 18;` - * @param index The index to set the value at. - * @param value The visibleEntities to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setVisibleEntities") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) { - _builder.setVisibleEntities(index, value) - } - /** - * `repeated .EntityInfo visible_entities = 18;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearVisibleEntities") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearVisibleEntities() - } - - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class SurroundingEntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `map surrounding_entities = 19;` - */ - public val surroundingEntities: com.google.protobuf.kotlin.DslMap - @kotlin.jvm.JvmSynthetic - @JvmName("getSurroundingEntitiesMap") - get() = com.google.protobuf.kotlin.DslMap( - _builder.surroundingEntitiesMap - ) - /** - * `map surrounding_entities = 19;` - */ - @JvmName("putSurroundingEntities") - public fun com.google.protobuf.kotlin.DslMap - .put(key: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) { - _builder.putSurroundingEntities(key, value) - } - /** - * `map surrounding_entities = 19;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("setSurroundingEntities") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslMap - .set(key: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) { - put(key, value) - } - /** - * `map surrounding_entities = 19;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("removeSurroundingEntities") - public fun com.google.protobuf.kotlin.DslMap - .remove(key: kotlin.Int) { - _builder.removeSurroundingEntities(key) - } - /** - * `map surrounding_entities = 19;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("putAllSurroundingEntities") - public fun com.google.protobuf.kotlin.DslMap - .putAll(map: kotlin.collections.Map) { - _builder.putAllSurroundingEntities(map) - } - /** - * `map surrounding_entities = 19;` - */ - @kotlin.jvm.JvmSynthetic - @JvmName("clearSurroundingEntities") - public fun com.google.protobuf.kotlin.DslMap - .clear() { - _builder.clearSurroundingEntities() - } - - /** - * `bool bobber_thrown = 20;` - */ - public var bobberThrown: kotlin.Boolean - @JvmName("getBobberThrown") - get() = _builder.bobberThrown - @JvmName("setBobberThrown") - set(value) { - _builder.bobberThrown = value - } - /** - * `bool bobber_thrown = 20;` - */ - public fun clearBobberThrown() { - _builder.clearBobberThrown() - } - - /** - * `int32 experience = 21;` - */ - public var experience: kotlin.Int - @JvmName("getExperience") - get() = _builder.experience - @JvmName("setExperience") - set(value) { - _builder.experience = value - } - /** - * `int32 experience = 21;` - */ - public fun clearExperience() { - _builder.clearExperience() - } - - /** - * `int64 world_time = 22;` - */ - public var worldTime: kotlin.Long - @JvmName("getWorldTime") - get() = _builder.worldTime - @JvmName("setWorldTime") - set(value) { - _builder.worldTime = value - } - /** - * `int64 world_time = 22;` - */ - public fun clearWorldTime() { - _builder.clearWorldTime() - } - - /** - * `string last_death_message = 23;` - */ - public var lastDeathMessage: kotlin.String - @JvmName("getLastDeathMessage") - get() = _builder.lastDeathMessage - @JvmName("setLastDeathMessage") - set(value) { - _builder.lastDeathMessage = value - } - /** - * `string last_death_message = 23;` - */ - public fun clearLastDeathMessage() { - _builder.clearLastDeathMessage() - } - - /** - * `bytes image_2 = 24;` - */ - public var image2: com.google.protobuf.ByteString - @JvmName("getImage2") - get() = _builder.image2 - @JvmName("setImage2") - set(value) { - _builder.image2 = value - } - /** - * `bytes image_2 = 24;` - */ - public fun clearImage2() { - _builder.clearImage2() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class SurroundingBlocksProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - */ - public val surroundingBlocks: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.surroundingBlocksList - ) - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - * @param value The surroundingBlocks to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addSurroundingBlocks") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo) { - _builder.addSurroundingBlocks(value) - } - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - * @param value The surroundingBlocks to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignSurroundingBlocks") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo) { - add(value) - } - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - * @param values The surroundingBlocks to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllSurroundingBlocks") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllSurroundingBlocks(values) - } - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - * @param values The surroundingBlocks to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllSurroundingBlocks") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - * @param index The index to set the value at. - * @param value The surroundingBlocks to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setSurroundingBlocks") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo) { - _builder.setSurroundingBlocks(index, value) - } - /** - * ``` - * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 - * ``` - * - * `repeated .BlockInfo surrounding_blocks = 25;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearSurroundingBlocks") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearSurroundingBlocks() - } - - - /** - * `bool eye_in_block = 26;` - */ - public var eyeInBlock: kotlin.Boolean - @JvmName("getEyeInBlock") - get() = _builder.eyeInBlock - @JvmName("setEyeInBlock") - set(value) { - _builder.eyeInBlock = value - } - /** - * `bool eye_in_block = 26;` - */ - public fun clearEyeInBlock() { - _builder.clearEyeInBlock() - } - - /** - * `bool suffocating = 27;` - */ - public var suffocating: kotlin.Boolean - @JvmName("getSuffocating") - get() = _builder.suffocating - @JvmName("setSuffocating") - set(value) { - _builder.suffocating = value - } - /** - * `bool suffocating = 27;` - */ - public fun clearSuffocating() { - _builder.clearSuffocating() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class ChatMessagesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - */ - public val chatMessages: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.chatMessagesList - ) - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - * @param value The chatMessages to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addChatMessages") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo) { - _builder.addChatMessages(value) - } - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - * @param value The chatMessages to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignChatMessages") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo) { - add(value) - } - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - * @param values The chatMessages to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllChatMessages") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllChatMessages(values) - } - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - * @param values The chatMessages to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllChatMessages") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - * @param index The index to set the value at. - * @param value The chatMessages to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setChatMessages") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo) { - _builder.setChatMessages(index, value) - } - /** - * `repeated .ChatMessageInfo chat_messages = 28;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearChatMessages") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearChatMessages() - } - - - /** - * `.BiomeInfo biome_info = 29;` - */ - public var biomeInfo: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo - @JvmName("getBiomeInfo") - get() = _builder.biomeInfo - @JvmName("setBiomeInfo") - set(value) { - _builder.biomeInfo = value - } - /** - * `.BiomeInfo biome_info = 29;` - */ - public fun clearBiomeInfo() { - _builder.clearBiomeInfo() - } - /** - * `.BiomeInfo biome_info = 29;` - * @return Whether the biomeInfo field is set. - */ - public fun hasBiomeInfo(): kotlin.Boolean { - return _builder.hasBiomeInfo() - } - - public val ObservationSpaceMessageKt.Dsl.biomeInfoOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo? - get() = _builder.biomeInfoOrNull - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class NearbyBiomesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - */ - public val nearbyBiomes: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.nearbyBiomesList - ) - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - * @param value The nearbyBiomes to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addNearbyBiomes") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome) { - _builder.addNearbyBiomes(value) - } - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - * @param value The nearbyBiomes to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignNearbyBiomes") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome) { - add(value) - } - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - * @param values The nearbyBiomes to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllNearbyBiomes") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllNearbyBiomes(values) - } - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - * @param values The nearbyBiomes to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllNearbyBiomes") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - * @param index The index to set the value at. - * @param value The nearbyBiomes to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setNearbyBiomes") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome) { - _builder.setNearbyBiomes(index, value) - } - /** - * `repeated .NearbyBiome nearby_biomes = 30;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearNearbyBiomes") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearNearbyBiomes() - } - - - /** - * `bool submerged_in_water = 31;` - */ - public var submergedInWater: kotlin.Boolean - @JvmName("getSubmergedInWater") - get() = _builder.submergedInWater - @JvmName("setSubmergedInWater") - set(value) { - _builder.submergedInWater = value - } - /** - * `bool submerged_in_water = 31;` - */ - public fun clearSubmergedInWater() { - _builder.clearSubmergedInWater() - } - - /** - * `bool is_in_lava = 32;` - */ - public var isInLava: kotlin.Boolean - @JvmName("getIsInLava") - get() = _builder.isInLava - @JvmName("setIsInLava") - set(value) { - _builder.isInLava = value - } - /** - * `bool is_in_lava = 32;` - */ - public fun clearIsInLava() { - _builder.clearIsInLava() - } - - /** - * `bool submerged_in_lava = 33;` - */ - public var submergedInLava: kotlin.Boolean - @JvmName("getSubmergedInLava") - get() = _builder.submergedInLava - @JvmName("setSubmergedInLava") - set(value) { - _builder.submergedInLava = value - } - /** - * `bool submerged_in_lava = 33;` - */ - public fun clearSubmergedInLava() { - _builder.clearSubmergedInLava() - } - - /** - * An uninstantiable, behaviorless type to represent the field in - * generics. - */ - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - public class HeightInfoProxy private constructor() : com.google.protobuf.kotlin.DslProxy() - /** - * `repeated .HeightInfo height_info = 34;` - */ - public val heightInfo: com.google.protobuf.kotlin.DslList - @kotlin.jvm.JvmSynthetic - get() = com.google.protobuf.kotlin.DslList( - _builder.heightInfoList - ) - /** - * `repeated .HeightInfo height_info = 34;` - * @param value The heightInfo to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addHeightInfo") - public fun com.google.protobuf.kotlin.DslList.add(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo) { - _builder.addHeightInfo(value) - } - /** - * `repeated .HeightInfo height_info = 34;` - * @param value The heightInfo to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignHeightInfo") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo) { - add(value) - } - /** - * `repeated .HeightInfo height_info = 34;` - * @param values The heightInfo to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("addAllHeightInfo") - public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { - _builder.addAllHeightInfo(values) - } - /** - * `repeated .HeightInfo height_info = 34;` - * @param values The heightInfo to add. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("plusAssignAllHeightInfo") - @Suppress("NOTHING_TO_INLINE") - public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { - addAll(values) - } - /** - * `repeated .HeightInfo height_info = 34;` - * @param index The index to set the value at. - * @param value The heightInfo to set. - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("setHeightInfo") - public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo) { - _builder.setHeightInfo(index, value) - } - /** - * `repeated .HeightInfo height_info = 34;` - */ - @kotlin.jvm.JvmSynthetic - @kotlin.jvm.JvmName("clearHeightInfo") - public fun com.google.protobuf.kotlin.DslList.clear() { - _builder.clearHeightInfo() - } - - - /** - * `bool is_on_ground = 35;` - */ - public var isOnGround: kotlin.Boolean - @JvmName("getIsOnGround") - get() = _builder.isOnGround - @JvmName("setIsOnGround") - set(value) { - _builder.isOnGround = value - } - /** - * `bool is_on_ground = 35;` - */ - public fun clearIsOnGround() { - _builder.clearIsOnGround() - } - - /** - * `bool is_touching_water = 36;` - */ - public var isTouchingWater: kotlin.Boolean - @JvmName("getIsTouchingWater") - get() = _builder.isTouchingWater - @JvmName("setIsTouchingWater") - set(value) { - _builder.isTouchingWater = value - } - /** - * `bool is_touching_water = 36;` - */ - public fun clearIsTouchingWater() { - _builder.clearIsTouchingWater() - } - - /** - * `bytes ipc_handle = 37;` - */ - public var ipcHandle: com.google.protobuf.ByteString - @JvmName("getIpcHandle") - get() = _builder.ipcHandle - @JvmName("setIpcHandle") - set(value) { - _builder.ipcHandle = value - } - /** - * `bytes ipc_handle = 37;` - */ - public fun clearIpcHandle() { - _builder.clearIpcHandle() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.ObservationSpaceMessageKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage = - `com.kyhsgeekcode.minecraft_env.proto`.ObservationSpaceMessageKt.Dsl._create(this.toBuilder()).apply { block() }._build() - -public val com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessageOrBuilder.raycastResultOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult? - get() = if (hasRaycastResult()) getRaycastResult() else null - -public val com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessageOrBuilder.biomeInfoOrNull: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo? - get() = if (hasBiomeInfo()) getBiomeInfo() else null - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/SoundEntryKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/SoundEntryKt.kt deleted file mode 100644 index 4c877a9f..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/SoundEntryKt.kt +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializesoundEntry") -public inline fun soundEntry(block: com.kyhsgeekcode.minecraft_env.proto.SoundEntryKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry = - com.kyhsgeekcode.minecraft_env.proto.SoundEntryKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.newBuilder()).apply { block() }._build() -/** - * Protobuf type `SoundEntry` - */ -public object SoundEntryKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry = _builder.build() - - /** - * `string translate_key = 1;` - */ - public var translateKey: kotlin.String - @JvmName("getTranslateKey") - get() = _builder.translateKey - @JvmName("setTranslateKey") - set(value) { - _builder.translateKey = value - } - /** - * `string translate_key = 1;` - */ - public fun clearTranslateKey() { - _builder.clearTranslateKey() - } - - /** - * `int64 age = 2;` - */ - public var age: kotlin.Long - @JvmName("getAge") - get() = _builder.age - @JvmName("setAge") - set(value) { - _builder.age = value - } - /** - * `int64 age = 2;` - */ - public fun clearAge() { - _builder.clearAge() - } - - /** - * `double x = 3;` - */ - public var x: kotlin.Double - @JvmName("getX") - get() = _builder.x - @JvmName("setX") - set(value) { - _builder.x = value - } - /** - * `double x = 3;` - */ - public fun clearX() { - _builder.clearX() - } - - /** - * `double y = 4;` - */ - public var y: kotlin.Double - @JvmName("getY") - get() = _builder.y - @JvmName("setY") - set(value) { - _builder.y = value - } - /** - * `double y = 4;` - */ - public fun clearY() { - _builder.clearY() - } - - /** - * `double z = 5;` - */ - public var z: kotlin.Double - @JvmName("getZ") - get() = _builder.z - @JvmName("setZ") - set(value) { - _builder.z = value - } - /** - * `double z = 5;` - */ - public fun clearZ() { - _builder.clearZ() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.SoundEntryKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry = - `com.kyhsgeekcode.minecraft_env.proto`.SoundEntryKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/StatusEffectKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/StatusEffectKt.kt deleted file mode 100644 index 1aa7d3b5..00000000 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/StatusEffectKt.kt +++ /dev/null @@ -1,86 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: observation_space.proto - -// Generated files should ignore deprecation warnings -@file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; - -@kotlin.jvm.JvmName("-initializestatusEffect") -public inline fun statusEffect(block: com.kyhsgeekcode.minecraft_env.proto.StatusEffectKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect = - com.kyhsgeekcode.minecraft_env.proto.StatusEffectKt.Dsl._create(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.newBuilder()).apply { block() }._build() -/** - * Protobuf type `StatusEffect` - */ -public object StatusEffectKt { - @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) - @com.google.protobuf.kotlin.ProtoDslMarker - public class Dsl private constructor( - private val _builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder - ) { - public companion object { - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _create(builder: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder): Dsl = Dsl(builder) - } - - @kotlin.jvm.JvmSynthetic - @kotlin.PublishedApi - internal fun _build(): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect = _builder.build() - - /** - * `string translation_key = 1;` - */ - public var translationKey: kotlin.String - @JvmName("getTranslationKey") - get() = _builder.translationKey - @JvmName("setTranslationKey") - set(value) { - _builder.translationKey = value - } - /** - * `string translation_key = 1;` - */ - public fun clearTranslationKey() { - _builder.clearTranslationKey() - } - - /** - * `int32 duration = 2;` - */ - public var duration: kotlin.Int - @JvmName("getDuration") - get() = _builder.duration - @JvmName("setDuration") - set(value) { - _builder.duration = value - } - /** - * `int32 duration = 2;` - */ - public fun clearDuration() { - _builder.clearDuration() - } - - /** - * `int32 amplifier = 3;` - */ - public var amplifier: kotlin.Int - @JvmName("getAmplifier") - get() = _builder.amplifier - @JvmName("setAmplifier") - set(value) { - _builder.amplifier = value - } - /** - * `int32 amplifier = 3;` - */ - public fun clearAmplifier() { - _builder.clearAmplifier() - } - } -} -@kotlin.jvm.JvmSynthetic -public inline fun com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.copy(block: `com.kyhsgeekcode.minecraft_env.proto`.StatusEffectKt.Dsl.() -> kotlin.Unit): com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect = - `com.kyhsgeekcode.minecraft_env.proto`.StatusEffectKt.Dsl._create(this.toBuilder()).apply { block() }._build() - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/AddListenerInterface.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java similarity index 91% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/AddListenerInterface.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java index 97846cf0..475b909d 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/AddListenerInterface.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env; +package com.kyhsgeekcode.minecraftenv; import org.jetbrains.annotations.NotNull; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/BiomeCenterFinder.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/BiomeCenterFinder.kt similarity index 80% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/BiomeCenterFinder.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/BiomeCenterFinder.kt index 9496c6b3..71534f70 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/BiomeCenterFinder.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/BiomeCenterFinder.kt @@ -1,15 +1,15 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.registry.entry.RegistryEntry import net.minecraft.server.world.ServerWorld import net.minecraft.util.math.BlockPos import net.minecraft.util.math.ChunkPos -import net.minecraft.world.World import net.minecraft.world.biome.Biome import net.minecraft.world.biome.source.BiomeCoords - -class BiomeCenterFinder(val world: ServerWorld) { +class BiomeCenterFinder( + val world: ServerWorld, +) { // 주어진 좌표에서 반경 내에 있는 바이옴의 중심을 계산 fun calculateBiomeCenter( startPos: BlockPos, @@ -27,11 +27,12 @@ class BiomeCenterFinder(val world: ServerWorld) { for (x in 0..15) { for (z in 0..15) { val blockPos = BlockPos(chunkPos.startX + x, startPos.y, chunkPos.startZ + z) - val biome = world.getGeneratorStoredBiome( - BiomeCoords.fromBlock(blockPos.x), - BiomeCoords.fromBlock(blockPos.y), - BiomeCoords.fromBlock(blockPos.z) - ) + val biome = + world.getGeneratorStoredBiome( + BiomeCoords.fromBlock(blockPos.x), + BiomeCoords.fromBlock(blockPos.y), + BiomeCoords.fromBlock(blockPos.z), + ) // 목표 바이옴과 일치하는 경우 경계 좌표로 간주 if (biome == targetBiome) { biomeBoundaryPositions.add(blockPos) @@ -79,18 +80,19 @@ class BiomeCenterFinder(val world: ServerWorld) { for (x in 0..15) { for (z in 0..15) { val blockPos = BlockPos(chunkPos.startX + x, startPos.y, chunkPos.startZ + z) - val biome = world.getGeneratorStoredBiome( - BiomeCoords.fromBlock(blockPos.x), - BiomeCoords.fromBlock(blockPos.y), - BiomeCoords.fromBlock(blockPos.z) - ) + val biome = + world.getGeneratorStoredBiome( + BiomeCoords.fromBlock(blockPos.x), + BiomeCoords.fromBlock(blockPos.y), + BiomeCoords.fromBlock(blockPos.z), + ) nearbyBiomes.add( NearbyBiome( blockPos.x, blockPos.y, blockPos.z, - biome - ) + biome, + ), ) } } @@ -105,4 +107,4 @@ data class NearbyBiome( val y: Int, val z: Int, val biome: RegistryEntry, -) \ No newline at end of file +) diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ChatMessageRecord.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ChatMessageRecord.kt similarity index 66% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ChatMessageRecord.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ChatMessageRecord.kt index 11882e3b..b035eff9 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ChatMessageRecord.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ChatMessageRecord.kt @@ -1,6 +1,6 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv data class ChatMessageRecord( val addedTime: Int, val message: String, -) \ No newline at end of file +) diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/CsvLogger.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/CsvLogger.kt similarity index 92% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/CsvLogger.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/CsvLogger.kt index 4dffd230..c10842e6 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/CsvLogger.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/CsvLogger.kt @@ -1,8 +1,7 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import java.io.File - class CsvLogger( path: String, private val enabled: Boolean = false, @@ -12,8 +11,9 @@ class CsvLogger( private val writer = file.bufferedWriter() fun log(message: String) { - if(!enabled) + if (!enabled) { return + } val timestamp = printWithTimeFormatter.format(java.time.LocalDateTime.now()) writer.write("$timestamp,$message") writer.newLine() @@ -37,4 +37,4 @@ class CsvLogger( fun close() { writer.close() } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EncodeImageToBytes.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EncodeImageToBytes.kt similarity index 94% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EncodeImageToBytes.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EncodeImageToBytes.kt index 67917f03..11faf904 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EncodeImageToBytes.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EncodeImageToBytes.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.client.texture.NativeImage import java.awt.RenderingHints @@ -14,7 +14,7 @@ fun encodeImageToBytes( originalSizeX: Int, originalSizeY: Int, targetSizeX: Int, - targetSizeY: Int + targetSizeY: Int, ): ByteArray { // if (originalSizeX == targetSizeX && originalSizeY == targetSizeY) // return image.bytes @@ -29,4 +29,3 @@ fun encodeImageToBytes( ImageIO.write(resizedImage, "png", baos) return baos.toByteArray() } - diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListener.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListener.kt similarity index 76% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListener.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListener.kt index cf434346..55882f5e 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListener.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListener.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.entity.Entity diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListenerImpl.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListenerImpl.kt similarity index 72% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListenerImpl.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListenerImpl.kt index b645d985..fcb497cb 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EntityRenderListenerImpl.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EntityRenderListenerImpl.kt @@ -1,8 +1,10 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.entity.Entity -class EntityRenderListenerImpl(renderer: AddListenerInterface) : EntityRenderListener { +class EntityRenderListenerImpl( + renderer: AddListenerInterface, +) : EntityRenderListener { private val _entities: MutableSet = mutableSetOf() val entities: Set get() = _entities @@ -18,4 +20,4 @@ class EntityRenderListenerImpl(renderer: AddListenerInterface) : EntityRenderLis init { renderer.addRenderListener(this) } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EnvironmentInitializer.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EnvironmentInitializer.kt similarity index 86% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EnvironmentInitializer.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EnvironmentInitializer.kt index cc9c6b7c..757ed052 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/EnvironmentInitializer.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/EnvironmentInitializer.kt @@ -1,9 +1,9 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv -import com.kyhsgeekcode.minecraft_env.mixin.ChatVisibleMessageAccessor -import com.kyhsgeekcode.minecraft_env.mixin.WindowSizeAccessor -import com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment -import com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage +import com.kyhsgeekcode.minecraftenv.mixin.ChatVisibleMessageAccessor +import com.kyhsgeekcode.minecraftenv.mixin.WindowSizeAccessor +import com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment +import com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage import net.minecraft.client.MinecraftClient import net.minecraft.client.gui.Element import net.minecraft.client.gui.hud.ChatHud @@ -13,7 +13,12 @@ import net.minecraft.client.gui.screen.world.CreateWorldScreen import net.minecraft.client.gui.screen.world.CustomizeFlatLevelScreen import net.minecraft.client.gui.screen.world.SelectWorldScreen import net.minecraft.client.gui.screen.world.WorldListWidget -import net.minecraft.client.gui.widget.* +import net.minecraft.client.gui.widget.ButtonWidget +import net.minecraft.client.gui.widget.CyclingButtonWidget +import net.minecraft.client.gui.widget.NarratedMultilineTextWidget +import net.minecraft.client.gui.widget.TabButtonWidget +import net.minecraft.client.gui.widget.TabNavigationWidget +import net.minecraft.client.gui.widget.TextFieldWidget import net.minecraft.client.network.ClientPlayerEntity import net.minecraft.client.option.NarratorMode import net.minecraft.client.tutorial.TutorialStep @@ -26,9 +31,11 @@ import java.nio.file.Files import kotlin.io.path.Path import kotlin.io.path.copyTo - interface CommandExecutor { - fun runCommand(server: ClientPlayerEntity, command: String) + fun runCommand( + server: ClientPlayerEntity, + command: String, + ) } class EnvironmentInitializer( @@ -54,8 +61,11 @@ class EnvironmentInitializer( } val window = MinecraftClient.getInstance().window val windowSizeGetter = (window as WindowSizeAccessor) - if (windowSizeGetter.windowedWidth != initialEnvironment.imageSizeX || windowSizeGetter.windowedHeight != initialEnvironment.imageSizeY) + if (windowSizeGetter.windowedWidth != initialEnvironment.imageSizeX || + windowSizeGetter.windowedHeight != initialEnvironment.imageSizeY + ) { window.setWindowedSize(initialEnvironment.imageSizeX, initialEnvironment.imageSizeY) + } if (!hasMinimizedWindow) { GLFW.glfwIconifyWindow(window.handle) hasMinimizedWindow = true @@ -75,20 +85,25 @@ class EnvironmentInitializer( csvLogger.profileEndPrint("Minecraft_env/onInitialize/ClientTick/EnvironmentInitializer/onClientTick") } - private fun enterExistingWorldUsingGUI(client: MinecraftClient, levelDisplayName: String) { + private fun enterExistingWorldUsingGUI( + client: MinecraftClient, + levelDisplayName: String, + ) { if (client.currentScreen == null) { return } println("Entering existing world: $levelDisplayName") when (val screen = client.currentScreen) { is TitleScreen -> { - screen.children().find { - it is ButtonWidget && it.message.string == "Singleplayer" - }?.let { - it as ButtonWidget - it.onPress() - return - } + screen + .children() + .find { + it is ButtonWidget && it.message.string == "Singleplayer" + }?.let { + it as ButtonWidget + it.onPress() + return + } } is SelectWorldScreen -> { @@ -132,7 +147,6 @@ class EnvironmentInitializer( } is CreateWorldScreen -> { - } else -> { @@ -148,13 +162,15 @@ class EnvironmentInitializer( } when (val screen = client.currentScreen) { is TitleScreen -> { - screen.children().find { - it is ButtonWidget && it.message.string == "Singleplayer" - }?.let { - it as ButtonWidget - it.onPress() - return - } + screen + .children() + .find { + it is ButtonWidget && it.message.string == "Singleplayer" + }?.let { + it as ButtonWidget + it.onPress() + return + } } is SelectWorldScreen -> { @@ -214,9 +230,9 @@ class EnvironmentInitializer( } } // Set allow cheats to requested - if (cheatButton != null) + if (cheatButton != null) { setupAllowCheats(cheatButton, cheatRequested) - else { + } else { println("Cheat button not found") throw Exception("Cheat button not found") } @@ -255,13 +271,15 @@ class EnvironmentInitializer( private fun createEmptyWorldAndEnterUsingGUI(client: MinecraftClient) { when (val screen = client.currentScreen) { is TitleScreen -> { - screen.children().find { - it is ButtonWidget && it.message.string == "Singleplayer" - }?.let { - it as ButtonWidget - it.onPress() - return - } + screen + .children() + .find { + it is ButtonWidget && it.message.string == "Singleplayer" + }?.let { + it as ButtonWidget + it.onPress() + return + } } is SelectWorldScreen -> { @@ -322,9 +340,9 @@ class EnvironmentInitializer( } } // Set allow cheats to requested - if (cheatButton != null) + if (cheatButton != null) { setupAllowCheats(cheatButton, cheatRequested) - else { + } else { println("Cheat button not found") throw Exception("Cheat button not found") } @@ -343,8 +361,9 @@ class EnvironmentInitializer( if (initialEnvironment.worldType == InitialEnvironment.WorldType.SUPERFLAT) { for (child in screen.children()) { // println(child) - if (worldTypeButton == null && child is CyclingButtonWidget<*> - && child.message.string.startsWith("World Type") + if (worldTypeButton == null && + child is CyclingButtonWidget<*> && + child.message.string.startsWith("World Type") ) { worldTypeButton = child } @@ -365,7 +384,6 @@ class EnvironmentInitializer( } is CustomizeFlatLevelScreen -> { - } } } @@ -402,7 +420,10 @@ class EnvironmentInitializer( } } - private fun setSimulationDistance(client: MinecraftClient, simulationDistance: Int) { + private fun setSimulationDistance( + client: MinecraftClient, + simulationDistance: Int, + ) { val options = client.options if (options != null) { if (options.simulationDistance.value != simulationDistance) { @@ -413,7 +434,10 @@ class EnvironmentInitializer( } } - private fun setRenderDistance(client: MinecraftClient, renderDistance: Int) { + private fun setRenderDistance( + client: MinecraftClient, + renderDistance: Int, + ) { val options = client.options if (options != null) { if (options.viewDistance.value != renderDistance) { @@ -424,7 +448,11 @@ class EnvironmentInitializer( } } - fun reset(chatHud: ChatHud, commandExecutor: CommandExecutor, variableCommandAfterReset: List) { + fun reset( + chatHud: ChatHud, + commandExecutor: CommandExecutor, + variableCommandAfterReset: List, + ) { println("Resetting...") hasRunInitWorld = false initWorldFinished = false @@ -442,17 +470,18 @@ class EnvironmentInitializer( // Get the chat messages to check if the initialization is done, and clear the chat val messages = ArrayList((chatHud as ChatVisibleMessageAccessor).visibleMessages) - val hasInitFinishMessage = messages.find { - val text = it.content - val builder = StringBuilder() - text.accept { index, style, codePoint -> - val ch = codePoint.toChar() - builder.append(ch) - true - } - val content = builder.toString() - content.contains("Initialization Done") - } != null + val hasInitFinishMessage = + messages.find { + val text = it.content + val builder = StringBuilder() + text.accept { index, style, codePoint -> + val ch = codePoint.toChar() + builder.append(ch) + true + } + val content = builder.toString() + content.contains("Initialization Done") + } != null initWorldFinished = (initWorldFinished || hasInitFinishMessage) // println("has init finish message: $hasInitFinishMessage, has run init world: $hasRunInitWorld, init world finished: $initWorldFinished") // TODO: Do not clear the chat, and delete only the message related to the initialization. @@ -469,13 +498,14 @@ class EnvironmentInitializer( chatList.add( ChatMessageRecord( it.addedTime, - content - ) + content, + ), ) } chatHud.clear(true) - if (hasRunInitWorld) + if (hasRunInitWorld) { return + } // copy the path to world file minecraftServer?.getSavePath(WorldSavePath.GENERATED)?.let { path -> println("World path: $path") @@ -500,10 +530,12 @@ class EnvironmentInitializer( commandExecutor.runCommand(player, c) } setUnlimitedTPS(myCommandExecutor) - for (command in initialEnvironment.initialExtraCommandsList) + for (command in initialEnvironment.initialExtraCommandsList) { commandExecutor.runCommand(this.player, "/$command") - for (command in variableCommandsAfterReset) + } + for (command in variableCommandsAfterReset) { commandExecutor.runCommand(this.player, "/$command") + } commandExecutor.runCommand(this.player, "/say Initialization Done") initWorldFinished = false hasRunInitWorld = true @@ -534,15 +566,13 @@ class EnvironmentInitializer( } } - private fun setupNoWeatherCycle(commandExecutor: (ClientPlayerEntity, String) -> Unit) { commandExecutor( player, - "/gamerule doWeatherCycle false" + "/gamerule doWeatherCycle false", ) } - private fun disablePauseOnLostFocus(client: MinecraftClient) { val options = client.options if (options != null) { @@ -565,16 +595,20 @@ class EnvironmentInitializer( } } - private fun setHudHidden(client: MinecraftClient, hudHidden: Boolean) { + private fun setHudHidden( + client: MinecraftClient, + hudHidden: Boolean, + ) { val options = client.options if (options != null) { if (options.hudHidden != hudHidden) { options.hudHidden = hudHidden client.options.write() - if (hudHidden) + if (hudHidden) { println("Hid hud") - else + } else { println("Showed hud") + } } } } @@ -600,4 +634,4 @@ class EnvironmentInitializer( } } } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/FramebufferCapturer.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/FramebufferCapturer.kt similarity index 58% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/FramebufferCapturer.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/FramebufferCapturer.kt index cadd9095..b77c69fb 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/FramebufferCapturer.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/FramebufferCapturer.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import com.google.protobuf.ByteString import org.lwjgl.opengl.GL11 @@ -10,57 +10,57 @@ object FramebufferCapturer { } fun captureFramebuffer( - textureId: Int, - frameBufferId: Int, - textureWidth: Int, - textureHeight: Int, - targetSizeX: Int, - targetSizeY: Int, - encodingMode: Int, - isExtensionAvailable: Boolean, - drawCursor: Boolean, - xPos: Int, - yPos: Int, + textureId: Int, + frameBufferId: Int, + textureWidth: Int, + textureHeight: Int, + targetSizeX: Int, + targetSizeY: Int, + encodingMode: Int, + isExtensionAvailable: Boolean, + drawCursor: Boolean, + xPos: Int, + yPos: Int, ): ByteString { if (encodingMode == ZEROCOPY) { captureFramebufferZerocopyImpl( - frameBufferId, - targetSizeX, - targetSizeY, - drawCursor, - xPos, - yPos + frameBufferId, + targetSizeX, + targetSizeY, + drawCursor, + xPos, + yPos, ) return ByteString.EMPTY } else { return captureFramebufferImpl( - textureId, - frameBufferId, - textureWidth, - textureHeight, - targetSizeX, - targetSizeY, - encodingMode, - isExtensionAvailable, - drawCursor, - xPos, - yPos + textureId, + frameBufferId, + textureWidth, + textureHeight, + targetSizeX, + targetSizeY, + encodingMode, + isExtensionAvailable, + drawCursor, + xPos, + yPos, ) } } external fun captureFramebufferImpl( - textureId: Int, - frameBufferId: Int, - textureWidth: Int, - textureHeight: Int, - targetSizeX: Int, - targetSizeY: Int, - encodingMode: Int, - isExtensionAvailable: Boolean, - drawCursor: Boolean, - xPos: Int, - yPos: Int, + textureId: Int, + frameBufferId: Int, + textureWidth: Int, + textureHeight: Int, + targetSizeX: Int, + targetSizeY: Int, + encodingMode: Int, + isExtensionAvailable: Boolean, + drawCursor: Boolean, + xPos: Int, + yPos: Int, ): ByteString external fun initializeGLEW(): Boolean @@ -82,8 +82,8 @@ object FramebufferCapturer { } else { println("FramebufferCapturer: Vendor: $vendor") } - val num_extensions = GL30.glGetInteger(GL30.GL_NUM_EXTENSIONS) - for (i in 0 until num_extensions) { + val numExtensions = GL30.glGetInteger(GL30.GL_NUM_EXTENSIONS) + for (i in 0 until numExtensions) { val extension = GL30.glGetStringi(GL30.GL_EXTENSIONS, i) println("FramebufferCapturer: Extension $i: $extension") if (extension == null) { @@ -99,7 +99,12 @@ object FramebufferCapturer { hasCheckedExtension = true } - fun initializeZeroCopy(width: Int, height: Int, colorAttachment: Int, depthAttachment: Int) { + fun initializeZeroCopy( + width: Int, + height: Int, + colorAttachment: Int, + depthAttachment: Int, + ) { val result = initializeZerocopyImpl(width, height, colorAttachment, depthAttachment) if (result == null) { println("FramebufferCapturer: ZeroCopy initialization failed") @@ -109,19 +114,19 @@ object FramebufferCapturer { } external fun initializeZerocopyImpl( - width: Int, - height: Int, - colorAttachment: Int, - depthAttachment: Int + width: Int, + height: Int, + colorAttachment: Int, + depthAttachment: Int, ): ByteString? external fun captureFramebufferZerocopyImpl( - frameBufferId: Int, - targetSizeX: Int, - targetSizeY: Int, - drawCursor: Boolean, - mouseX: Int, - mouseY: Int + frameBufferId: Int, + targetSizeX: Int, + targetSizeY: Int, + drawCursor: Boolean, + mouseX: Int, + mouseY: Int, ) const val RAW = 0 diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/GetMessagesInterface.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java similarity index 85% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/GetMessagesInterface.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java index c7547cd1..466f8234 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/GetMessagesInterface.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env; +package com.kyhsgeekcode.minecraftenv; import java.util.ArrayList; import java.util.List; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/HeightMapProvider.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/HeightMapProvider.kt similarity index 86% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/HeightMapProvider.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/HeightMapProvider.kt index 6501920a..4cb446bd 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/HeightMapProvider.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/HeightMapProvider.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.util.math.BlockPos import net.minecraft.util.math.ChunkPos @@ -7,7 +7,11 @@ import net.minecraft.world.World class HeightMapProvider { // Returns the height map of the given position with the given radius in chunks - fun getHeightMap(world: World, pos: BlockPos, radiusInChunks: Int): List { + fun getHeightMap( + world: World, + pos: BlockPos, + radiusInChunks: Int, + ): List { val heightMapInfoList = mutableListOf() for (dx in -radiusInChunks..radiusInChunks) { for (dz in -radiusInChunks..radiusInChunks) { @@ -31,5 +35,5 @@ data class HeightMapInfo( val x: Int, val z: Int, val height: Int, - val blockName: String -) \ No newline at end of file + val blockName: String, +) diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/KeyboardInfo.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/KeyboardInfo.kt new file mode 100644 index 00000000..9284dc73 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/KeyboardInfo.kt @@ -0,0 +1,104 @@ +package com.kyhsgeekcode.minecraftenv + +import com.kyhsgeekcode.minecraftenv.proto.ActionSpace +import org.lwjgl.glfw.GLFW.GLFW_KEY_1 +import org.lwjgl.glfw.GLFW.GLFW_KEY_2 +import org.lwjgl.glfw.GLFW.GLFW_KEY_3 +import org.lwjgl.glfw.GLFW.GLFW_KEY_4 +import org.lwjgl.glfw.GLFW.GLFW_KEY_5 +import org.lwjgl.glfw.GLFW.GLFW_KEY_6 +import org.lwjgl.glfw.GLFW.GLFW_KEY_7 +import org.lwjgl.glfw.GLFW.GLFW_KEY_8 +import org.lwjgl.glfw.GLFW.GLFW_KEY_9 +import org.lwjgl.glfw.GLFW.GLFW_KEY_A +import org.lwjgl.glfw.GLFW.GLFW_KEY_D +import org.lwjgl.glfw.GLFW.GLFW_KEY_E +import org.lwjgl.glfw.GLFW.GLFW_KEY_LEFT_CONTROL +import org.lwjgl.glfw.GLFW.GLFW_KEY_LEFT_SHIFT +import org.lwjgl.glfw.GLFW.GLFW_KEY_Q +import org.lwjgl.glfw.GLFW.GLFW_KEY_S +import org.lwjgl.glfw.GLFW.GLFW_KEY_SPACE +import org.lwjgl.glfw.GLFW.GLFW_KEY_W +import org.lwjgl.glfw.GLFW.GLFW_PRESS +import org.lwjgl.glfw.GLFW.GLFW_RELEASE +import org.lwjgl.glfw.GLFW.GLFW_REPEAT +import org.lwjgl.glfw.GLFWCharModsCallbackI +import org.lwjgl.glfw.GLFWKeyCallbackI + +object KeyboardInfo { + var charModsCallback: GLFWCharModsCallbackI? = null + var keyCallback: GLFWKeyCallbackI? = null + var handle: Long = 0 + + var currentState: MutableMap = mutableMapOf() + + val keyMappings = + mapOf( + "W" to GLFW_KEY_W, + "A" to GLFW_KEY_A, + "S" to GLFW_KEY_S, + "D" to GLFW_KEY_D, + "LShift" to GLFW_KEY_LEFT_SHIFT, + "Ctrl" to GLFW_KEY_LEFT_CONTROL, + "Space" to GLFW_KEY_SPACE, + "E" to GLFW_KEY_E, + "Q" to GLFW_KEY_Q, +// "F" to GLFW_KEY_F, + "Hotbar1" to GLFW_KEY_1, + "Hotbar2" to GLFW_KEY_2, + "Hotbar3" to GLFW_KEY_3, + "Hotbar4" to GLFW_KEY_4, + "Hotbar5" to GLFW_KEY_5, + "Hotbar6" to GLFW_KEY_6, + "Hotbar7" to GLFW_KEY_7, + "Hotbar8" to GLFW_KEY_8, + "Hotbar9" to GLFW_KEY_9, + ) + + fun onAction(actionDict: ActionSpace.ActionSpaceMessageV2) { + val actions = + mapOf( + "W" to actionDict.forward, + "A" to actionDict.left, + "S" to actionDict.back, + "D" to actionDict.right, + "LShift" to actionDict.sneak, + "Ctrl" to actionDict.sprint, + "Space" to actionDict.jump, + "E" to actionDict.inventory, + "Q" to actionDict.drop, +// "F" to actionDict.swapHands, + "Hotbar1" to actionDict.hotbar1, + "Hotbar2" to actionDict.hotbar2, + "Hotbar3" to actionDict.hotbar3, + "Hotbar4" to actionDict.hotbar4, + "Hotbar5" to actionDict.hotbar5, + "Hotbar6" to actionDict.hotbar6, + "Hotbar7" to actionDict.hotbar7, + "Hotbar8" to actionDict.hotbar8, + "Hotbar9" to actionDict.hotbar9, + ) + + // 각 키의 상태를 비교하여 변화가 있으면 keyCallback 호출 + for ((key, glfwKey) in keyMappings) { + val previousState = currentState[glfwKey] ?: false + val currentState = actions[key] ?: false + + if (!previousState && currentState) { + // 키가 처음 눌렸을 때 GLFW_PRESS 호출 + keyCallback?.invoke(handle, glfwKey, 0, GLFW_PRESS, 0) + } else if (previousState && currentState) { + // 키가 계속 눌린 상태라면 GLFW_REPEAT 호출 + keyCallback?.invoke(handle, glfwKey, 0, GLFW_REPEAT, 0) + } else if (previousState && !currentState) { + // 키가 떼졌을 때 GLFW_RELEASE 호출 + keyCallback?.invoke(handle, glfwKey, 0, GLFW_RELEASE, 0) + } + + // 현재 상태 갱신 + this.currentState[glfwKey] = currentState + } + } + + fun isKeyPressed(key: Int): Boolean = currentState[key] ?: false +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MessageIO.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MessageIO.kt similarity index 92% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MessageIO.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MessageIO.kt index 4ef5034c..fd3531e2 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MessageIO.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MessageIO.kt @@ -1,10 +1,14 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import com.google.common.io.LittleEndianDataOutputStream -import com.kyhsgeekcode.minecraft_env.proto.ActionSpace -import com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment -import com.kyhsgeekcode.minecraft_env.proto.ObservationSpace -import java.io.* +import com.kyhsgeekcode.minecraftenv.proto.ActionSpace +import com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment +import com.kyhsgeekcode.minecraftenv.proto.ObservationSpace +import java.io.ByteArrayOutputStream +import java.io.DataInputStream +import java.io.FileInputStream +import java.io.FileOutputStream +import java.io.IOException import java.net.SocketTimeoutException import java.nio.ByteBuffer import java.nio.ByteOrder @@ -12,16 +16,18 @@ import java.nio.channels.SocketChannel interface MessageIO { fun readAction(): ActionSpace.ActionSpaceMessageV2 + fun readInitialEnvironment(): InitialEnvironment.InitialEnvironmentMessage - fun writeObservation(observation: com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage) + fun writeObservation(observation: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) } class TCPSocketMessageIO( - private val socket: java.net.Socket + private val socket: java.net.Socket, ) : MessageIO { private val outputStream = socket.getOutputStream() private val inputStream = socket.getInputStream() + override fun readAction(): ActionSpace.ActionSpaceMessageV2 { printWithTime("Reading action space") // read action from inputStream using protobuf @@ -71,7 +77,7 @@ class TCPSocketMessageIO( } class DomainSocketMessageIO( - private val socketChannel: SocketChannel + private val socketChannel: SocketChannel, ) : MessageIO { override fun readAction(): ActionSpace.ActionSpaceMessageV2 { printWithTime("Reading action space") @@ -151,9 +157,8 @@ fun SocketChannel.readNBytes(len: Int): ByteArray { class NamedPipeMessageIO( private val readPipePath: String, - private val writePipePath: String + private val writePipePath: String, ) : MessageIO { - override fun readAction(): ActionSpace.ActionSpaceMessageV2 { FileInputStream(readPipePath).use { fis -> DataInputStream(fis).use { dis -> @@ -182,4 +187,4 @@ class NamedPipeMessageIO( } } } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Minecraft_env.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftEnv.kt similarity index 50% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Minecraft_env.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftEnv.kt index 11bb7c3f..9bbcfe61 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Minecraft_env.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftEnv.kt @@ -1,11 +1,19 @@ @file:OptIn(ExperimentalPathApi::class) -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import com.google.protobuf.ByteString -import com.kyhsgeekcode.minecraft_env.proto.* -import com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 -import com.kyhsgeekcode.minecraft_env.proto.ObservationSpace +import com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 +import com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment +import com.kyhsgeekcode.minecraftenv.proto.ObservationSpace +import com.kyhsgeekcode.minecraftenv.proto.biomeInfo +import com.kyhsgeekcode.minecraftenv.proto.blockInfo +import com.kyhsgeekcode.minecraftenv.proto.chatMessageInfo +import com.kyhsgeekcode.minecraftenv.proto.entitiesWithinDistance +import com.kyhsgeekcode.minecraftenv.proto.heightInfo +import com.kyhsgeekcode.minecraftenv.proto.hitResult +import com.kyhsgeekcode.minecraftenv.proto.nearbyBiome +import com.kyhsgeekcode.minecraftenv.proto.observationSpaceMessage import com.mojang.blaze3d.platform.GlConst import com.mojang.blaze3d.systems.RenderSystem import net.fabricmc.api.ModInitializer @@ -34,7 +42,6 @@ import net.minecraft.util.math.Vec3d import net.minecraft.util.shape.VoxelShapes import net.minecraft.world.World import net.minecraft.world.biome.source.BiomeCoords -import net.minecraft.world.chunk.ChunkStatus import java.io.IOException import java.net.SocketTimeoutException import java.net.StandardProtocolFamily @@ -49,7 +56,6 @@ import kotlin.math.cos import kotlin.math.sin import kotlin.system.exitProcess - enum class ResetPhase { WAIT_PLAYER_DEATH, WAIT_PLAYER_RESPAWN, @@ -65,10 +71,11 @@ enum class IOPhase { SENT_OBSERVATION_SHOULD_READ_ACTION, } - val chatList = mutableListOf() -class Minecraft_env : ModInitializer, CommandExecutor { +class MinecraftEnv : + ModInitializer, + CommandExecutor { private lateinit var initialEnvironment: InitialEnvironment.InitialEnvironmentMessage private var soundListener: MinecraftSoundListener? = null private var entityListener: EntityRenderListenerImpl? = null // tracks the entities rendered in the last tick @@ -83,11 +90,10 @@ class Minecraft_env : ModInitializer, CommandExecutor { private var skipSync = false private var ioPhase = IOPhase.BEGINNING - override fun onInitialize() { - val ld_preload = System.getenv("LD_PRELOAD") - if (ld_preload != null) { - println("LD_PRELOAD is set: $ld_preload") + val isLdPreloadSet = System.getenv("LD_PRELOAD") + if (isLdPreloadSet != null) { + println("LD_PRELOAD is set: $isLdPreloadSet") } else { println("LD_PRELOAD is not set") } @@ -96,19 +102,20 @@ class Minecraft_env : ModInitializer, CommandExecutor { try { val portStr = System.getenv("PORT") val port = portStr?.toInt() ?: 8000 - val verbose = when (val verboseStr = System.getenv("VERBOSE")) { - "1" -> true - "0" -> false - else -> verboseStr?.toBoolean() ?: false - } + val verbose = + when (val verboseStr = System.getenv("VERBOSE")) { + "1" -> true + "0" -> false + else -> verboseStr?.toBoolean() ?: false + } doPrintWithTime = verbose - val socket_file_path = Path.of("/tmp/minecraftrl_${port}.sock") - socket_file_path.toFile().deleteOnExit() + val socketFilePath = Path.of("/tmp/minecraftrl_$port.sock") + socketFilePath.toFile().deleteOnExit() csvLogger.log("Connecting to $port") printWithTime("Connecting to $port") - Files.deleteIfExists(socket_file_path) + Files.deleteIfExists(socketFilePath) val serverSocket = - ServerSocketChannel.open(StandardProtocolFamily.UNIX).bind(UnixDomainSocketAddress.of(socket_file_path)) + ServerSocketChannel.open(StandardProtocolFamily.UNIX).bind(UnixDomainSocketAddress.of(socketFilePath)) csvLogger.profileStartPrint("Minecraft_env/onInitialize/Accept") socket = serverSocket.accept() csvLogger.profileEndPrint("Minecraft_env/onInitialize/Accept") @@ -127,7 +134,7 @@ class Minecraft_env : ModInitializer, CommandExecutor { initialEnvironment.imageSizeX, initialEnvironment.imageSizeY, client.framebuffer.colorAttachment, - client.framebuffer.depthAttachment + client.framebuffer.depthAttachment, ) csvLogger.log("Initialized zerocopy") } @@ -136,74 +143,88 @@ class Minecraft_env : ModInitializer, CommandExecutor { resetPhase = ResetPhase.WAIT_INIT_ENDS csvLogger.log("Initial environment read; $ioPhase $resetPhase") val initializer = EnvironmentInitializer(initialEnvironment, csvLogger) - ClientTickEvents.START_CLIENT_TICK.register(ClientTickEvents.StartTick { client: MinecraftClient -> - printWithTime("Start Client tick") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/ClientTick") - initializer.onClientTick(client) - if (soundListener == null) soundListener = MinecraftSoundListener(client.soundManager) - if (entityListener == null) entityListener = - EntityRenderListenerImpl(client.worldRenderer as AddListenerInterface) - if (deathMessageCollector == null) deathMessageCollector = - client.networkHandler as GetMessagesInterface? - csvLogger.profileEndPrint("Minecraft_env/onInitialize/ClientTick") - }) - ClientTickEvents.START_WORLD_TICK.register(ClientTickEvents.StartWorldTick { world: ClientWorld -> - // read input - printWithTime("Start client World tick") - csvLogger.log("Start World tick") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/ClientWorldTick") - onStartWorldTick(initializer, world, messageIO) - csvLogger.profileEndPrint("Minecraft_env/onInitialize/ClientWorldTick") - csvLogger.log("End World tick") - }) - ClientTickEvents.END_WORLD_TICK.register(ClientTickEvents.EndWorldTick { world: ClientWorld -> - // allow server to start tick - tickSynchronizer.notifyServerTickStart() - // wait until server tick ends + ClientTickEvents.START_CLIENT_TICK.register( + ClientTickEvents.StartTick { client: MinecraftClient -> + printWithTime("Start Client tick") + csvLogger.profileStartPrint("Minecraft_env/onInitialize/ClientTick") + initializer.onClientTick(client) + if (soundListener == null) soundListener = MinecraftSoundListener(client.soundManager) + if (entityListener == null) { + entityListener = + EntityRenderListenerImpl(client.worldRenderer as AddListenerInterface) + } + if (deathMessageCollector == null) { + deathMessageCollector = + client.networkHandler as GetMessagesInterface? + } + csvLogger.profileEndPrint("Minecraft_env/onInitialize/ClientTick") + }, + ) + ClientTickEvents.START_WORLD_TICK.register( + ClientTickEvents.StartWorldTick { world: ClientWorld -> + // read input + printWithTime("Start client World tick") + csvLogger.log("Start World tick") + csvLogger.profileStartPrint("Minecraft_env/onInitialize/ClientWorldTick") + onStartWorldTick(initializer, world, messageIO) + csvLogger.profileEndPrint("Minecraft_env/onInitialize/ClientWorldTick") + csvLogger.log("End World tick") + }, + ) + ClientTickEvents.END_WORLD_TICK.register( + ClientTickEvents.EndWorldTick { world: ClientWorld -> + // allow server to start tick + tickSynchronizer.notifyServerTickStart() + // wait until server tick ends // printWithTime("Wait server world tick ends") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndWorldTick/WaitServerTickEnds") - if (skipSync) { - csvLogger.log("Skip waiting server world tick ends") - } else { - csvLogger.log("Wait server world tick ends") - tickSynchronizer.waitForServerTickCompletion() - } - csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndWorldTick/WaitServerTickEnds") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation") - if ( - ioPhase == IOPhase.GOT_INITIAL_ENVIRONMENT_SENT_OBSERVATION_SKIP_SEND_OBSERVATION || - ioPhase == IOPhase.SENT_OBSERVATION_SHOULD_READ_ACTION - ) { - // pass - csvLogger.log("Skip send observation; $ioPhase") - } else { - csvLogger.log("Real send observation; $ioPhase") - sendObservation(messageIO, world) - } - csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation") - }) - ServerTickEvents.START_SERVER_TICK.register(ServerTickEvents.StartTick { server: MinecraftServer -> - // wait until client tick ends - printWithTime("Wait client world tick ends") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/StartServerTick/WaitClientAction") - if (skipSync) { - csvLogger.log("Server tick start; skip waiting client world tick ends") - printWithTime("Server tick start; skip waiting client world tick ends") - } else { - csvLogger.log("Real Wait client world tick ends") - printWithTime("Real Wait client world tick ends") - tickSynchronizer.waitForClientAction() - } - csvLogger.profileEndPrint("Minecraft_env/onInitialize/StartServerTick/WaitClientAction") - }) - ServerTickEvents.END_SERVER_TICK.register(ServerTickEvents.EndTick { server: MinecraftServer -> - // allow client to end tick - printWithTime("Notify server tick completion") - csvLogger.log("Notify server tick completion") - csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndServerTick/NotifyClientSendObservation") - tickSynchronizer.notifyClientSendObservation() - csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndServerTick/NotifyClientSendObservation") - }) + csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndWorldTick/WaitServerTickEnds") + if (skipSync) { + csvLogger.log("Skip waiting server world tick ends") + } else { + csvLogger.log("Wait server world tick ends") + tickSynchronizer.waitForServerTickCompletion() + } + csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndWorldTick/WaitServerTickEnds") + csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation") + if ( + ioPhase == IOPhase.GOT_INITIAL_ENVIRONMENT_SENT_OBSERVATION_SKIP_SEND_OBSERVATION || + ioPhase == IOPhase.SENT_OBSERVATION_SHOULD_READ_ACTION + ) { + // pass + csvLogger.log("Skip send observation; $ioPhase") + } else { + csvLogger.log("Real send observation; $ioPhase") + sendObservation(messageIO, world) + } + csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation") + }, + ) + ServerTickEvents.START_SERVER_TICK.register( + ServerTickEvents.StartTick { server: MinecraftServer -> + // wait until client tick ends + printWithTime("Wait client world tick ends") + csvLogger.profileStartPrint("Minecraft_env/onInitialize/StartServerTick/WaitClientAction") + if (skipSync) { + csvLogger.log("Server tick start; skip waiting client world tick ends") + printWithTime("Server tick start; skip waiting client world tick ends") + } else { + csvLogger.log("Real Wait client world tick ends") + printWithTime("Real Wait client world tick ends") + tickSynchronizer.waitForClientAction() + } + csvLogger.profileEndPrint("Minecraft_env/onInitialize/StartServerTick/WaitClientAction") + }, + ) + ServerTickEvents.END_SERVER_TICK.register( + ServerTickEvents.EndTick { server: MinecraftServer -> + // allow client to end tick + printWithTime("Notify server tick completion") + csvLogger.log("Notify server tick completion") + csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndServerTick/NotifyClientSendObservation") + tickSynchronizer.notifyClientSendObservation() + csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndServerTick/NotifyClientSendObservation") + }, + ) } private fun onStartWorldTick( @@ -269,11 +290,16 @@ class Minecraft_env : ModInitializer, CommandExecutor { if (commands.isNotEmpty()) { for (command in commands) { - if (handleCommand(command, client, player)) + if (handleCommand(command, client, player)) { return + } } } - if (player.isDead) return else if (client.currentScreen is DeathScreen) sendSetScreenNull(client) + if (player.isDead) { + return + } else if (client.currentScreen is DeathScreen) { + sendSetScreenNull(client) + } if (applyAction(action, player, client)) return } catch (e: SocketTimeoutException) { printWithTime("Timeout") @@ -294,7 +320,6 @@ class Minecraft_env : ModInitializer, CommandExecutor { client.setScreen(null) } - // Returns: Should ignore action private fun handleCommand( command: String, @@ -378,8 +403,10 @@ class Minecraft_env : ModInitializer, CommandExecutor { return false } - - private fun sendObservation(messageIO: MessageIO, world: World) { + private fun sendObservation( + messageIO: MessageIO, + world: World, + ) { printWithTime("send Observation") csvLogger.log("send Observation") val client = MinecraftClient.getInstance() @@ -402,8 +429,8 @@ class Minecraft_env : ModInitializer, CommandExecutor { client.networkHandler?.sendPacket(ClientStatusC2SPacket(ClientStatusC2SPacket.Mode.REQUEST_STATS)) val buffer = client.framebuffer try { - val image_1: ByteString - val image_2: ByteString + val imageByteString1: ByteString + val imageByteString2: ByteString val oldX = player.pos.x val oldY = player.pos.y val oldZ = player.pos.z @@ -417,18 +444,20 @@ class Minecraft_env : ModInitializer, CommandExecutor { // calculate left direction based on yaw // go to the left by eyeWidth block val eyeWidth = initialEnvironment.eyeDistance - val left = center.add( - eyeWidth * -sin(Math.toRadians(player.yaw.toDouble())), - 0.0, - eyeWidth * cos(Math.toRadians(player.yaw.toDouble())) - ) + val left = + center.add( + eyeWidth * -sin(Math.toRadians(player.yaw.toDouble())), + 0.0, + eyeWidth * cos(Math.toRadians(player.yaw.toDouble())), + ) // calculate right direction based on yaw // go to the right by eyeWidth block - val right = center.add( - eyeWidth * sin(Math.toRadians(player.yaw.toDouble())), - 0.0, - eyeWidth * -cos(Math.toRadians(player.yaw.toDouble())) - ) + val right = + center.add( + eyeWidth * sin(Math.toRadians(player.yaw.toDouble())), + 0.0, + eyeWidth * -cos(Math.toRadians(player.yaw.toDouble())), + ) // go to left and render, take screenshot player.prevX = left.x player.prevY = left.y @@ -437,19 +466,20 @@ class Minecraft_env : ModInitializer, CommandExecutor { printWithTime("New left position: ${left.x}, ${left.y}, ${left.z} ${player.prevX}, ${player.prevY}, ${player.prevZ}") // (client as ClientRenderInvoker).invokeRender(true) render(client) - image_1 = FramebufferCapturer.captureFramebuffer( - buffer.colorAttachment, - buffer.fbo, - buffer.textureWidth, - buffer.textureHeight, - initialEnvironment.imageSizeX, - initialEnvironment.imageSizeY, - initialEnvironment.screenEncodingMode, - false, - MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable - MouseInfo.mouseX.toInt(), - MouseInfo.mouseY.toInt(), - ) + imageByteString1 = + FramebufferCapturer.captureFramebuffer( + buffer.colorAttachment, + buffer.fbo, + buffer.textureWidth, + buffer.textureHeight, + initialEnvironment.imageSizeX, + initialEnvironment.imageSizeY, + initialEnvironment.screenEncodingMode, + false, + MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable + MouseInfo.mouseX.toInt(), + MouseInfo.mouseY.toInt(), + ) player.prevX = right.x player.prevY = right.y player.prevZ = right.z @@ -457,19 +487,20 @@ class Minecraft_env : ModInitializer, CommandExecutor { printWithTime("New right position: ${right.x}, ${right.y}, ${right.z} ${player.prevX}, ${player.prevY}, ${player.prevZ}") // (client as ClientRenderInvoker).invokeRender(true) render(client) - image_2 = FramebufferCapturer.captureFramebuffer( - buffer.colorAttachment, - buffer.fbo, - buffer.textureWidth, - buffer.textureHeight, - initialEnvironment.imageSizeX, - initialEnvironment.imageSizeY, - initialEnvironment.screenEncodingMode, - false, - MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable - MouseInfo.mouseX.toInt(), - MouseInfo.mouseY.toInt(), - ) + imageByteString2 = + FramebufferCapturer.captureFramebuffer( + buffer.colorAttachment, + buffer.fbo, + buffer.textureWidth, + buffer.textureHeight, + initialEnvironment.imageSizeX, + initialEnvironment.imageSizeY, + initialEnvironment.screenEncodingMode, + false, + MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable + MouseInfo.mouseX.toInt(), + MouseInfo.mouseY.toInt(), + ) // return to the original position player.prevX = oldPrevX player.prevY = oldPrevY @@ -483,195 +514,210 @@ class Minecraft_env : ModInitializer, CommandExecutor { (MouseInfo.mouseX * client.window.scaledWidth.toDouble() / client.window.width.toDouble()).toInt() val j: Int = (MouseInfo.mouseY * client.window.scaledHeight.toDouble() / client.window.height.toDouble()).toInt() - image_1 = FramebufferCapturer.captureFramebuffer( - buffer.colorAttachment, - buffer.fbo, - buffer.textureWidth, - buffer.textureHeight, - initialEnvironment.imageSizeX, - initialEnvironment.imageSizeY, - initialEnvironment.screenEncodingMode, - false, - MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable - MouseInfo.mouseX.toInt(), - MouseInfo.mouseY.toInt(), - ) + imageByteString1 = + FramebufferCapturer.captureFramebuffer( + buffer.colorAttachment, + buffer.fbo, + buffer.textureWidth, + buffer.textureHeight, + initialEnvironment.imageSizeX, + initialEnvironment.imageSizeY, + initialEnvironment.screenEncodingMode, + false, + MouseInfo.showCursor, // FramebufferCapturer.isExtensionAvailable + MouseInfo.mouseX.toInt(), + MouseInfo.mouseY.toInt(), + ) // ByteString.copyFrom(image1ByteArray) - image_2 = ByteString.empty() // ByteString.copyFrom(image1ByteArray) + imageByteString2 = ByteString.EMPTY // ByteString.copyFrom(image1ByteArray) csvLogger.profileEndPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation/Prepare/SingleEye/ByteString") } csvLogger.profileStartPrint("Minecraft_env/onInitialize/EndWorldTick/SendObservation/Prepare/Message") - val observationSpaceMessage = observationSpaceMessage { - image = image_1 - x = pos.x - y = pos.y - z = pos.z - pitch = player.pitch.toDouble() - yaw = player.yaw.toDouble() - health = player.health.toDouble() - foodLevel = player.hungerManager.foodLevel.toDouble() - saturationLevel = player.hungerManager.saturationLevel.toDouble() - isDead = player.isDead - val allItems = sequenceOf( - player.inventory.main, - player.inventory.armor, - player.inventory.offHand - ).flatten() - inventory.addAll(allItems.map { - it.toMessage() - }.asIterable()) - - if (initialEnvironment.requestRaycast) { - raycastResult = player.raycast(100.0, 1.0f, false).toMessage(world) - } else { - // Optimized: dummy hit result - raycastResult = hitResult { - type = ObservationSpace.HitResult.Type.MISS + val observationSpaceMessage = + observationSpaceMessage { + image = imageByteString1 + x = pos.x + y = pos.y + z = pos.z + pitch = player.pitch.toDouble() + yaw = player.yaw.toDouble() + health = player.health.toDouble() + foodLevel = player.hungerManager.foodLevel.toDouble() + saturationLevel = player.hungerManager.saturationLevel.toDouble() + isDead = player.isDead + val allItems = + sequenceOf( + player.inventory.main, + player.inventory.armor, + player.inventory.offHand, + ).flatten() + inventory.addAll( + allItems + .map { + it.toMessage() + }.asIterable(), + ) + + if (initialEnvironment.requestRaycast) { + raycastResult = player.raycast(100.0, 1.0f, false).toMessage(world) + } else { + // Optimized: dummy hit result + raycastResult = + hitResult { + type = ObservationSpace.HitResult.Type.MISS + } } - } - soundSubtitles.addAll( - soundListener!!.entries.map { - it.toMessage() + soundSubtitles.addAll( + soundListener!!.entries.map { + it.toMessage() + }, + ) + statusEffects.addAll( + player.statusEffects.map { + it.toMessage() + }, + ) + for (killStatKey in initialEnvironment.killedStatKeysList) { + val key = EntityType.get(killStatKey).get() + val stat = player.statHandler.getStat(Stats.KILLED.getOrCreateStat(key)) + killedStatistics[killStatKey] = stat } - ) - statusEffects.addAll(player.statusEffects.map { - it.toMessage() - }) - for (killStatKey in initialEnvironment.killedStatKeysList) { - val key = EntityType.get(killStatKey).get() - val stat = player.statHandler.getStat(Stats.KILLED.getOrCreateStat(key)) - killedStatistics[killStatKey] = stat - } - for (mineStatKey in initialEnvironment.minedStatKeysList) { - val key = Registries.BLOCK.get(Identifier.of("minecraft", mineStatKey)) - val stat = player.statHandler.getStat(Stats.MINED.getOrCreateStat(key)) - minedStatistics[mineStatKey] = stat - } - for (miscStatKey in initialEnvironment.miscStatKeysList) { - val key = Registries.CUSTOM_STAT.get(Identifier.of("minecraft", miscStatKey)) - miscStatistics[miscStatKey] = player.statHandler.getStat(Stats.CUSTOM.getOrCreateStat(key)) - } - entityListener?.run { - for (entity in entities) { - // notify where entity is, what it is (supervised) - visibleEntities.add(entity.toMessage()) + for (mineStatKey in initialEnvironment.minedStatKeysList) { + val key = Registries.BLOCK.get(Identifier.of("minecraft", mineStatKey)) + val stat = player.statHandler.getStat(Stats.MINED.getOrCreateStat(key)) + minedStatistics[mineStatKey] = stat } - } - for (distance in initialEnvironment.surroundingEntityDistancesList) { - val distanceDouble = distance.toDouble() - val EntitiesWithinDistanceMessage = entitiesWithinDistance { - world.getOtherEntities( - player, - player.boundingBox.expand(distanceDouble, distanceDouble, distanceDouble) - ) - .forEach { - entities.add(it.toMessage()) - } + for (miscStatKey in initialEnvironment.miscStatKeysList) { + val key = Registries.CUSTOM_STAT.get(Identifier.of("minecraft", miscStatKey)) + miscStatistics[miscStatKey] = player.statHandler.getStat(Stats.CUSTOM.getOrCreateStat(key)) } - surroundingEntities[distance] = EntitiesWithinDistanceMessage - } -// bobberThrown = serverPlayerEntity?.fishHook != null - bobberThrown = player.fishHook != null - experience = player.totalExperience - worldTime = world.time // world tick, monotonic increasing - lastDeathMessage = deathMessageCollector?.lastDeathMessage?.firstOrNull() ?: "" - image2 = image_2 - - if (initialEnvironment.requiresSurroundingBlocks) { - val blocks = mutableListOf() - for (i in (player.blockX - 1)..(player.blockX + 1)) { - for (j in player.blockY - 1..player.blockY + 1) { - for (k in player.blockZ - 1..player.blockZ + 1) { - val block = world.getBlockState(BlockPos(i, j, k)) - blocks.add( - blockInfo { - x = i - y = j - z = k - translationKey = block.block.translationKey + entityListener?.run { + for (entity in entities) { + // notify where entity is, what it is (supervised) + visibleEntities.add(entity.toMessage()) + } + } + for (distance in initialEnvironment.surroundingEntityDistancesList) { + val distanceDouble = distance.toDouble() + val entitiesWithinDistanceMessage = + entitiesWithinDistance { + world + .getOtherEntities( + player, + player.boundingBox.expand(distanceDouble, distanceDouble, distanceDouble), + ).forEach { + entities.add(it.toMessage()) } - ) } - } + surroundingEntities[distance] = entitiesWithinDistanceMessage } - surroundingBlocks.addAll(blocks) - } - suffocating = player.isInsideWall - eyeInBlock = player.checkIfCameraBlocked() - for (chat in chatList) { - chatMessages.add(chatMessageInfo { - message = chat.message - addedTime = chat.addedTime.toLong() - indicator = "" - }) - } - chatList.clear() - - // Populate biome info if needed - if (initialEnvironment.requiresBiomeInfo) { - println("Get world") - val serverWorld = client.server!!.overworld - println("End Get world") - val currentPlayerBiome = serverWorld.getGeneratorStoredBiome( - BiomeCoords.fromBlock(player.blockPos.x), - BiomeCoords.fromBlock(player.blockPos.y), - BiomeCoords.fromBlock(player.blockPos.z), - ) - println("Current player biome: $currentPlayerBiome") - val biomeCenterFinder = BiomeCenterFinder(serverWorld) - val biomeCenter = biomeCenterFinder.calculateBiomeCenter( - player.blockPos, - 4, - currentPlayerBiome - ) - println("Finish biome center") - if (biomeCenter != null) { - biomeInfo = biomeInfo { - centerX = biomeCenter.x - centerY = biomeCenter.y - centerZ = biomeCenter.z - biomeName = currentPlayerBiome.idAsString +// bobberThrown = serverPlayerEntity?.fishHook != null + bobberThrown = player.fishHook != null + experience = player.totalExperience + worldTime = world.time // world tick, monotonic increasing + lastDeathMessage = deathMessageCollector?.lastDeathMessage?.firstOrNull() ?: "" + image2 = imageByteString2 + + if (initialEnvironment.requiresSurroundingBlocks) { + val blocks = mutableListOf() + for (i in (player.blockX - 1)..(player.blockX + 1)) { + for (j in player.blockY - 1..player.blockY + 1) { + for (k in player.blockZ - 1..player.blockZ + 1) { + val block = world.getBlockState(BlockPos(i, j, k)) + blocks.add( + blockInfo { + x = i + y = j + z = k + translationKey = block.block.translationKey + }, + ) + } + } } + surroundingBlocks.addAll(blocks) } - val nearbyBiomes1 = biomeCenterFinder.getNearbyBiomes(player.blockPos, 2) - for (biomePos in nearbyBiomes1) { - nearbyBiomes.add( - nearbyBiome { - x = biomePos.x - y = biomePos.y - z = biomePos.z - biomeName = biomePos.biome.idAsString - } + suffocating = player.isInsideWall + eyeInBlock = player.checkIfCameraBlocked() + for (chat in chatList) { + chatMessages.add( + chatMessageInfo { + message = chat.message + addedTime = chat.addedTime.toLong() + indicator = "" + }, ) } - println("Finish nearby biome") - } + chatList.clear() + + // Populate biome info if needed + if (initialEnvironment.requiresBiomeInfo) { + println("Get world") + val serverWorld = client.server!!.overworld + println("End Get world") + val currentPlayerBiome = + serverWorld.getGeneratorStoredBiome( + BiomeCoords.fromBlock(player.blockPos.x), + BiomeCoords.fromBlock(player.blockPos.y), + BiomeCoords.fromBlock(player.blockPos.z), + ) + println("Current player biome: $currentPlayerBiome") + val biomeCenterFinder = BiomeCenterFinder(serverWorld) + val biomeCenter = + biomeCenterFinder.calculateBiomeCenter( + player.blockPos, + 4, + currentPlayerBiome, + ) + println("Finish biome center") + if (biomeCenter != null) { + biomeInfo = + biomeInfo { + centerX = biomeCenter.x + centerY = biomeCenter.y + centerZ = biomeCenter.z + biomeName = currentPlayerBiome.idAsString + } + } + val nearbyBiomes1 = biomeCenterFinder.getNearbyBiomes(player.blockPos, 2) + for (biomePos in nearbyBiomes1) { + nearbyBiomes.add( + nearbyBiome { + x = biomePos.x + y = biomePos.y + z = biomePos.z + biomeName = biomePos.biome.idAsString + }, + ) + } + println("Finish nearby biome") + } - submergedInWater = player.isSubmergedInWater - isInLava = player.isInLava - submergedInLava = player.isSubmergedIn(FluidTags.LAVA) - - if (initialEnvironment.requiresHeightmap) { - val heightMapProvider = HeightMapProvider() - val heightMap = heightMapProvider.getHeightMap(world, player.blockPos, 1) - for (heightMapInfo in heightMap) { - heightInfo.add( - heightInfo { - x = heightMapInfo.x - z = heightMapInfo.z - height = heightMapInfo.height - blockName = heightMapInfo.blockName - } - ) + submergedInWater = player.isSubmergedInWater + isInLava = player.isInLava + submergedInLava = player.isSubmergedIn(FluidTags.LAVA) + + if (initialEnvironment.requiresHeightmap) { + val heightMapProvider = HeightMapProvider() + val heightMap = heightMapProvider.getHeightMap(world, player.blockPos, 1) + for (heightMapInfo in heightMap) { + heightInfo.add( + heightInfo { + x = heightMapInfo.x + z = heightMapInfo.z + height = heightMapInfo.height + blockName = heightMapInfo.blockName + }, + ) + } + } + isOnGround = player.isOnGround + isTouchingWater = player.isTouchingWater + if (initialEnvironment.screenEncodingMode == FramebufferCapturer.ZEROCOPY) { + ipcHandle = FramebufferCapturer.ipcHandle } } - isOnGround = player.isOnGround - isTouchingWater = player.isTouchingWater - if (initialEnvironment.screenEncodingMode == FramebufferCapturer.ZEROCOPY) { - ipcHandle = FramebufferCapturer.ipcHandle - } - } if (ioPhase == IOPhase.GOT_INITIAL_ENVIRONMENT_SHOULD_SEND_OBSERVATION) { // csvLogger.log("Sent observation; $ioPhase") ioPhase = IOPhase.GOT_INITIAL_ENVIRONMENT_SENT_OBSERVATION_SKIP_SEND_OBSERVATION @@ -697,18 +743,22 @@ class Minecraft_env : ModInitializer, CommandExecutor { threadGroup.enumerate(threads) for (thread in threads) { - if (thread == null) + if (thread == null) { continue - if (thread != Thread.currentThread()) + } + if (thread != Thread.currentThread()) { thread.interrupt() + } } printWithTime("Will exitprocess -3") exitProcess(-3) } } - - override fun runCommand(player: ClientPlayerEntity, command: String) { + override fun runCommand( + player: ClientPlayerEntity, + command: String, + ) { var command = command printWithTime("Running command: $command") csvLogger.log("Running command: $command") @@ -719,7 +769,6 @@ class Minecraft_env : ModInitializer, CommandExecutor { printWithTime("End send command: $command") csvLogger.log("End send command: $command") } - } fun ClientPlayerEntity.checkIfCameraBlocked(): Boolean { @@ -727,17 +776,19 @@ fun ClientPlayerEntity.checkIfCameraBlocked(): Boolean { val box = Box.of(this.eyePos, f.toDouble(), 1.0E-6, f.toDouble()) return BlockPos.stream(box).anyMatch { pos: BlockPos -> val blockState: BlockState = this.world.getBlockState(pos) - !blockState.isAir && VoxelShapes.matchesAnywhere( - blockState.getCollisionShape( - this.world, pos - ).offset(pos.x.toDouble(), pos.y.toDouble(), pos.z.toDouble()), - VoxelShapes.cuboid(box), - BooleanBiFunction.AND - ) + !blockState.isAir && + VoxelShapes.matchesAnywhere( + blockState + .getCollisionShape( + this.world, + pos, + ).offset(pos.x.toDouble(), pos.y.toDouble(), pos.z.toDouble()), + VoxelShapes.cuboid(box), + BooleanBiFunction.AND, + ) } } - fun render(client: MinecraftClient) { RenderSystem.clear(GlConst.GL_DEPTH_BUFFER_BIT or GlConst.GL_COLOR_BUFFER_BIT, IS_SYSTEM_MAC) client.framebuffer.beginWrite(true) @@ -745,9 +796,9 @@ fun render(client: MinecraftClient) { RenderSystem.enableCull() val l = Util.getMeasuringTimeNano() client.gameRenderer.render( - client.renderTickCounter,// client.renderTickCounter.tickDelta, - true // tick + client.renderTickCounter, // client.renderTickCounter.tickDelta, + true, // tick ) client.framebuffer.endWrite() client.framebuffer.draw(client.window.framebufferWidth, client.window.framebufferHeight) -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MinecraftSoundListener.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftSoundListener.kt similarity index 68% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MinecraftSoundListener.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftSoundListener.kt index 5f282cb6..3b13b833 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MinecraftSoundListener.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MinecraftSoundListener.kt @@ -1,37 +1,55 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv -import com.kyhsgeekcode.minecraft_env.proto.soundEntry +import com.kyhsgeekcode.minecraftenv.proto.soundEntry import net.minecraft.client.sound.SoundInstance import net.minecraft.client.sound.SoundInstanceListener import net.minecraft.client.sound.SoundManager import net.minecraft.client.sound.WeightedSoundSet import net.minecraft.text.TranslatableTextContent -data class SoundEntry(val translateKey: String, var age: Long, var x: Double, var y: Double, var z: Double) { - fun reset(x: Double, y: Double, z: Double) { +data class SoundEntry( + val translateKey: String, + var age: Long, + var x: Double, + var y: Double, + var z: Double, +) { + fun reset( + x: Double, + y: Double, + z: Double, + ) { this.x = x this.y = y this.z = z age = 0 } - fun toMessage() = soundEntry { - translateKey = this@SoundEntry.translateKey - age = this@SoundEntry.age - x = this@SoundEntry.x - y = this@SoundEntry.y - z = this@SoundEntry.z - } + fun toMessage() = + soundEntry { + translateKey = this@SoundEntry.translateKey + age = this@SoundEntry.age + x = this@SoundEntry.x + y = this@SoundEntry.y + z = this@SoundEntry.z + } } -class MinecraftSoundListener(soundManager: SoundManager) : SoundInstanceListener { +class MinecraftSoundListener( + soundManager: SoundManager, +) : SoundInstanceListener { init { soundManager.registerListener(this) } private val _entries: MutableList = mutableListOf() val entries = _entries as List - override fun onSoundPlayed(sound: SoundInstance?, soundSet: WeightedSoundSet?, range: Float) { + + override fun onSoundPlayed( + sound: SoundInstance?, + soundSet: WeightedSoundSet?, + range: Float, + ) { if (sound == null) return if (soundSet == null) return val subtitle = soundSet.subtitle ?: return @@ -64,4 +82,4 @@ class MinecraftSoundListener(soundManager: SoundManager) : SoundInstanceListener } } } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MouseInfo.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MouseInfo.kt similarity index 75% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MouseInfo.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MouseInfo.kt index 4d2ff472..861301a0 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/MouseInfo.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/MouseInfo.kt @@ -1,9 +1,14 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv -import com.kyhsgeekcode.minecraft_env.mixin.MouseXYAccessor -import com.kyhsgeekcode.minecraft_env.proto.ActionSpace +import com.kyhsgeekcode.minecraftenv.mixin.MouseXYAccessor +import com.kyhsgeekcode.minecraftenv.proto.ActionSpace import net.minecraft.client.MinecraftClient -import org.lwjgl.glfw.GLFW.* +import org.lwjgl.glfw.GLFW.GLFW_KEY_LEFT_SHIFT +import org.lwjgl.glfw.GLFW.GLFW_MOD_SHIFT +import org.lwjgl.glfw.GLFW.GLFW_MOUSE_BUTTON_LEFT +import org.lwjgl.glfw.GLFW.GLFW_MOUSE_BUTTON_RIGHT +import org.lwjgl.glfw.GLFW.GLFW_PRESS +import org.lwjgl.glfw.GLFW.GLFW_RELEASE import org.lwjgl.glfw.GLFWCursorPosCallbackI import org.lwjgl.glfw.GLFWMouseButtonCallbackI @@ -16,16 +21,18 @@ object MouseInfo { var showCursor: Boolean = false var currentState: MutableMap = mutableMapOf() - val buttonMappings = mapOf( - "use" to GLFW_MOUSE_BUTTON_RIGHT, - "attack" to GLFW_MOUSE_BUTTON_LEFT - ) + val buttonMappings = + mapOf( + "use" to GLFW_MOUSE_BUTTON_RIGHT, + "attack" to GLFW_MOUSE_BUTTON_LEFT, + ) fun onAction(actionDict: ActionSpace.ActionSpaceMessageV2) { - val actions = mapOf( - "use" to actionDict.use, - "attack" to actionDict.attack - ) + val actions = + mapOf( + "use" to actionDict.use, + "attack" to actionDict.attack, + ) val shift = KeyboardInfo.isKeyPressed(GLFW_KEY_LEFT_SHIFT) val mods = if (shift) GLFW_MOD_SHIFT else 0 // 각 마우스 버튼 상태를 비교하여 변화가 있으면 mouseCallback 호출 @@ -46,12 +53,12 @@ object MouseInfo { } } + fun getMousePos(): Pair = Pair(mouseX, mouseY) - fun getMousePos(): Pair { - return Pair(mouseX, mouseY) - } - - fun setCursorPos(x: Double, y: Double) { + fun setCursorPos( + x: Double, + y: Double, + ) { mouseX = x mouseY = y // Do not call the callback @@ -65,7 +72,10 @@ object MouseInfo { showCursor = show } - fun moveMouseBy(dx: Int, dy: Int) { + fun moveMouseBy( + dx: Int, + dy: Int, + ) { // dx와 dy의 절대값 계산 (정수로 변환) val stepsX = Math.abs(dx) val stepsY = Math.abs(dy) @@ -90,4 +100,4 @@ object MouseInfo { } } } -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ObservationSpace.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ObservationSpace.kt similarity index 82% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ObservationSpace.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ObservationSpace.kt index a455b402..53240b0d 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/ObservationSpace.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ObservationSpace.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import net.minecraft.item.Item @@ -7,14 +7,14 @@ data class ItemStack( val translationKey: String, val count: Int, val durability: Int, - val maxDurability: Int + val maxDurability: Int, ) { constructor(itemStack: net.minecraft.item.ItemStack) : this( Item.getRawId(itemStack.item), itemStack.item.translationKey, itemStack.count, itemStack.maxDamage - itemStack.damage, - itemStack.maxDamage + itemStack.maxDamage, ) } @@ -50,8 +50,11 @@ data class StatusEffect( data class ObservationSpace( val image: String = "", - val x: Double = 0.0, val y: Double = 0.0, val z: Double = 0.0, - val yaw: Double = 0.0, val pitch: Double = 0.0, + val x: Double = 0.0, + val y: Double = 0.0, + val z: Double = 0.0, + val yaw: Double = 0.0, + val pitch: Double = 0.0, val health: Double = 20.0, val foodLevel: Double = 20.0, val saturationLevel: Double = 0.0, @@ -59,5 +62,5 @@ data class ObservationSpace( val inventory: List = listOf(), val raycastResult: HitResult = HitResult(net.minecraft.util.hit.HitResult.Type.MISS), val soundSubtitles: List = listOf(), - val statusEffects: List = listOf() -) \ No newline at end of file + val statusEffects: List = listOf(), +) diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Point3D.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java similarity index 55% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Point3D.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java index b8db0b05..9bfd8bc5 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/Point3D.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env; +package com.kyhsgeekcode.minecraftenv; public record Point3D(int x, int y, int z) { diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/PrintWithTime.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/PrintWithTime.kt similarity index 80% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/PrintWithTime.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/PrintWithTime.kt index b1bd56de..d01dc45d 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/PrintWithTime.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/PrintWithTime.kt @@ -1,21 +1,25 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import java.time.format.DateTimeFormatter val printWithTimeFormatter: DateTimeFormatter = DateTimeFormatter.ofPattern("HH:mm:ss.SSSSSS") var doPrintWithTime = false + fun printWithTime(msg: String) { return - if (doPrintWithTime) + if (doPrintWithTime) { println("${printWithTimeFormatter.format(java.time.LocalDateTime.now())} $msg") + } } fun profileStartPrint(tag: String) { - if (doPrintWithTime) + if (doPrintWithTime) { println("${printWithTimeFormatter.format(java.time.LocalDateTime.now())} start $tag") + } } fun profileEndPrint(tag: String) { - if (doPrintWithTime) + if (doPrintWithTime) { println("${printWithTimeFormatter.format(java.time.LocalDateTime.now())} end $tag") -} \ No newline at end of file + } +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSpeed.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSpeed.kt similarity index 59% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSpeed.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSpeed.kt index 2004ff5a..781609f2 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSpeed.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSpeed.kt @@ -1,5 +1,5 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv object TickSpeed { val mspt = 1L; // default: 50mspt -} \ No newline at end of file +} diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSynchronizer.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSynchronizer.kt similarity index 98% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSynchronizer.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSynchronizer.kt index bdbf6496..2fd03d85 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/TickSynchronizer.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/TickSynchronizer.kt @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env +package com.kyhsgeekcode.minecraftenv import java.util.concurrent.locks.Condition import java.util.concurrent.locks.ReentrantLock diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ToMessage.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ToMessage.kt new file mode 100644 index 00000000..b9a09847 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/ToMessage.kt @@ -0,0 +1,77 @@ +package com.kyhsgeekcode.minecraftenv + +import com.kyhsgeekcode.minecraftenv.proto.blockInfo +import com.kyhsgeekcode.minecraftenv.proto.entityInfo +import com.kyhsgeekcode.minecraftenv.proto.hitResult +import com.kyhsgeekcode.minecraftenv.proto.itemStack +import com.kyhsgeekcode.minecraftenv.proto.statusEffect +import net.minecraft.block.Block +import net.minecraft.entity.Entity +import net.minecraft.entity.LivingEntity +import net.minecraft.entity.effect.StatusEffectInstance +import net.minecraft.item.Item +import net.minecraft.item.ItemStack +import net.minecraft.util.hit.BlockHitResult +import net.minecraft.util.hit.EntityHitResult +import net.minecraft.util.hit.HitResult +import net.minecraft.util.math.BlockPos +import net.minecraft.world.World + +fun Entity.toMessage() = + entityInfo { + uniqueName = this@toMessage.uuidAsString + translationKey = type.translationKey + x = this@toMessage.x + y = this@toMessage.y + z = this@toMessage.z + yaw = this@toMessage.yaw.toDouble() + pitch = this@toMessage.pitch.toDouble() + health = (this@toMessage as? LivingEntity)?.health?.toDouble() ?: 0.0 + } + +fun StatusEffectInstance.toMessage() = + statusEffect { + translationKey = this@toMessage.translationKey + duration = this@toMessage.duration + amplifier = this@toMessage.amplifier + } + +fun HitResult.toMessage(world: World) = + when (type) { + HitResult.Type.MISS -> + hitResult { + type = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS + } + + HitResult.Type.BLOCK -> + hitResult { + type = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.BLOCK + val blockPos = (this@toMessage as BlockHitResult).blockPos + val block = world.getBlockState(blockPos).block + targetBlock = block.toMessage(blockPos) + } + + HitResult.Type.ENTITY -> + hitResult { + val entity = (this@toMessage as EntityHitResult).entity + type = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.ENTITY + targetEntity = entity.toMessage() + } + } + +fun Block.toMessage(blockPos: BlockPos) = + blockInfo { + x = blockPos.x + y = blockPos.y + z = blockPos.z + translationKey = this@toMessage.translationKey + } + +fun ItemStack.toMessage() = + itemStack { + rawId = Item.getRawId(this@toMessage.item) + translationKey = this@toMessage.translationKey + count = this@toMessage.count + durability = this@toMessage.maxDamage - this@toMessage.damage + maxDurability = this@toMessage.maxDamage + } diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/client/Minecraft_envClient.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java similarity index 90% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/client/Minecraft_envClient.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java index fe32c052..dee7a8dd 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/client/Minecraft_envClient.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.client; +package com.kyhsgeekcode.minecraftenv.client; import net.fabricmc.api.ClientModInitializer; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ChatVisibleMessageAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java similarity index 88% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ChatVisibleMessageAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java index 31f342f9..50616772 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ChatVisibleMessageAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.gui.hud.ChatHudLine; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientCommonNetworkHandlerClientAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java similarity index 87% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientCommonNetworkHandlerClientAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java index f0eaf208..b43f70d3 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientCommonNetworkHandlerClientAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.MinecraftClient; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientEntityRenderDispatcherAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java similarity index 88% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientEntityRenderDispatcherAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java index a27af6e0..35f3cfa5 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientEntityRenderDispatcherAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.render.entity.EntityRenderDispatcher; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientIsWindowFocusedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java similarity index 86% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientIsWindowFocusedMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java index 6232a810..f16db6b4 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientIsWindowFocusedMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.MinecraftClient; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientPlayNetworkHandlerMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java similarity index 91% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientPlayNetworkHandlerMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java index 6f5ee433..9929ffc4 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientPlayNetworkHandlerMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java @@ -1,6 +1,6 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; -import com.kyhsgeekcode.minecraft_env.GetMessagesInterface; +import com.kyhsgeekcode.minecraftenv.GetMessagesInterface; import net.minecraft.client.network.ClientPlayNetworkHandler; import net.minecraft.client.world.ClientWorld; import net.minecraft.entity.Entity; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientRenderInvoker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java similarity index 85% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientRenderInvoker.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java index 8abb3403..b52df9fd 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientRenderInvoker.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.MinecraftClient; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientWorldMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java similarity index 87% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientWorldMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java index b14ab66f..8b594d1a 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ClientWorldMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java @@ -1,6 +1,6 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; -import com.kyhsgeekcode.minecraft_env.AddListenerInterface; +import com.kyhsgeekcode.minecraftenv.AddListenerInterface; import net.minecraft.client.render.WorldRenderer; import net.minecraft.entity.Entity; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/DisableRegionalComplianceMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java similarity index 94% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/DisableRegionalComplianceMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java index ff764fbf..4b9872dc 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/DisableRegionalComplianceMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.resource.PeriodicNotificationManager; import net.minecraft.resource.ReloadableResourceManagerImpl; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/GammaMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java similarity index 97% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/GammaMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java index 938b48bf..c97ee797 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/GammaMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; /* * This file is part of the Gamma Utils project and is licensed under the GNU Lesser General Public License v3.0. diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/InputUtilMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java similarity index 90% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/InputUtilMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java index 9d668b20..49fa9437 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/InputUtilMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java @@ -1,7 +1,7 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; -import com.kyhsgeekcode.minecraft_env.KeyboardInfo; -import com.kyhsgeekcode.minecraft_env.MouseInfo; +import com.kyhsgeekcode.minecraftenv.KeyboardInfo; +import com.kyhsgeekcode.minecraftenv.MouseInfo; import org.lwjgl.glfw.*; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Overwrite; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MinecraftServer_tickspeedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java similarity index 98% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MinecraftServer_tickspeedMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java index 920f198a..5ab5308b 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MinecraftServer_tickspeedMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java @@ -1,6 +1,6 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; -import com.kyhsgeekcode.minecraft_env.TickSpeed; +import com.kyhsgeekcode.minecraftenv.TickSpeed; import net.minecraft.server.MinecraftServer; import net.minecraft.server.ServerTask; import net.minecraft.server.ServerTickManager; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MouseXYAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java similarity index 85% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MouseXYAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java index 29b0c247..2b089c2a 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/MouseXYAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.Mouse; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java similarity index 96% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java index b902d1cc..77ea3154 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.MinecraftClient; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderSystemPollEventsInvoker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java similarity index 85% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderSystemPollEventsInvoker.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java index bedcb5a0..8f096f59 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderSystemPollEventsInvoker.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Invoker; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderTickCounterAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java similarity index 91% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderTickCounterAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java index 7d3d0ffc..5e5009b4 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/RenderTickCounterAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.render.RenderTickCounter; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/SaveWorldMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java similarity index 92% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/SaveWorldMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java index 17de6393..c65fa4f2 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/SaveWorldMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.server.MinecraftServer; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java similarity index 91% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java index f7f4b9a8..183cf0d7 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.server.network.ServerPlayNetworkHandler; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/TickSpeedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java similarity index 96% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/TickSpeedMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java index 02bdfcb1..560c085a 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/TickSpeedMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.render.RenderTickCounter; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowOffScreenMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java similarity index 94% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowOffScreenMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java index 3ab93e9c..d6bd4546 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowOffScreenMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import net.minecraft.client.WindowSettings; import net.minecraft.client.util.Window; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowSizeAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java similarity index 86% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowSizeAccessor.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java index df60eb60..2624ccef 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WindowSizeAccessor.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java @@ -1,4 +1,4 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WorldRendererCallEntityRenderMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java similarity index 88% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WorldRendererCallEntityRenderMixin.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java index d214c458..3da8b3cf 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/mixin/WorldRendererCallEntityRenderMixin.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java @@ -1,7 +1,7 @@ -package com.kyhsgeekcode.minecraft_env.mixin; +package com.kyhsgeekcode.minecraftenv.mixin; -import com.kyhsgeekcode.minecraft_env.AddListenerInterface; -import com.kyhsgeekcode.minecraft_env.EntityRenderListener; +import com.kyhsgeekcode.minecraftenv.AddListenerInterface; +import com.kyhsgeekcode.minecraftenv.EntityRenderListener; import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.entity.Entity; diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpace.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java similarity index 93% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpace.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java index 975e27e3..9a09944b 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpace.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java @@ -3,7 +3,7 @@ // source: action_space.proto // Protobuf Java Version: 4.27.3 -package com.kyhsgeekcode.minecraft_env.proto; +package com.kyhsgeekcode.minecraftenv.proto; public final class ActionSpace { private ActionSpace() {} @@ -226,15 +226,15 @@ private ActionSpaceMessageV2() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); } public static final int ATTACK_FIELD_NUMBER = 1; @@ -726,10 +726,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2)) { + if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2)) { return super.equals(obj); } - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 other = (com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2) obj; + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other = (com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) obj; if (getAttack() != other.getAttack()) return false; @@ -865,44 +865,44 @@ public int hashCode() { return hash; } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(byte[] data) + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(java.io.InputStream input) + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -910,26 +910,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessag .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom(java.io.InputStream input) + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -942,7 +942,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessag public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 prototype) { + public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -963,21 +963,21 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:ActionSpaceMessageV2) - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2OrBuilder { + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); } - // Construct using com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.newBuilder() + // Construct using com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.newBuilder() private Builder() { } @@ -1021,17 +1021,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance(); } @java.lang.Override - public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 build() { - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 result = buildPartial(); + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 build() { + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1039,14 +1039,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 bui } @java.lang.Override - public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 buildPartial() { - com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 result = new com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2(this); + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 buildPartial() { + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = new com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 result) { + private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attack_ = attack_; @@ -1122,16 +1122,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ActionSpace.Acti @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2) { - return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2)other); + if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) { + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 other) { - if (other == com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance()) return this; + public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other) { + if (other == com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance()) return this; if (other.getAttack() != false) { setAttack(other.getAttack()); } @@ -2222,12 +2222,12 @@ public Builder addCommandsBytes( } // @@protoc_insertion_point(class_scope:ActionSpaceMessageV2) - private static final com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2(); + DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2(); } - public static com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -2263,7 +2263,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -2294,7 +2294,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ActionSpace.ActionSpaceMessageV2 get "\022\020\n\010hotbar_7\030\022 \001(\010\022\020\n\010hotbar_8\030\023 \001(\010\022\020\n\010" + "hotbar_9\030\024 \001(\010\022\024\n\014camera_pitch\030\025 \001(\002\022\022\n\n" + "camera_yaw\030\026 \001(\002\022\020\n\010commands\030\027 \003(\tB&\n$co" + - "m.kyhsgeekcode.minecraft_env.protob\006prot" + + "m.kyhsgeekcode.minecraftenv.protob\006prot" + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceKt.kt similarity index 81% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceKt.kt rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceKt.kt index 2320c2c7..69b8eb84 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ActionSpaceKt.kt +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceKt.kt @@ -4,5 +4,5 @@ // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") -package com.kyhsgeekcode.minecraft_env.proto; +package com.kyhsgeekcode.minecraftenv.proto diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceMessageV2Kt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceMessageV2Kt.kt new file mode 100644 index 00000000..448cb517 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpaceMessageV2Kt.kt @@ -0,0 +1,579 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: action_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializeactionSpaceMessageV2") +public inline fun actionSpaceMessageV2( + block: com.kyhsgeekcode.minecraftenv.proto.ActionSpaceMessageV2Kt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 = + com.kyhsgeekcode.minecraftenv.proto.ActionSpaceMessageV2Kt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `ActionSpaceMessageV2` + */ +public object ActionSpaceMessageV2Kt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 = _builder.build() + + /** + * ``` + * Discrete actions for movement and other commands as bool + * ``` + * + * `bool attack = 1;` + */ + public var attack: kotlin.Boolean + @JvmName("getAttack") + get() = _builder.getAttack() + + @JvmName("setAttack") + set(value) { + _builder.setAttack(value) + } + + /** + * ``` + * Discrete actions for movement and other commands as bool + * ``` + * + * `bool attack = 1;` + */ + public fun clearAttack() { + _builder.clearAttack() + } + + /** + * `bool back = 2;` + */ + public var back: kotlin.Boolean + @JvmName("getBack") + get() = _builder.getBack() + + @JvmName("setBack") + set(value) { + _builder.setBack(value) + } + + /** + * `bool back = 2;` + */ + public fun clearBack() { + _builder.clearBack() + } + + /** + * `bool forward = 3;` + */ + public var forward: kotlin.Boolean + @JvmName("getForward") + get() = _builder.getForward() + + @JvmName("setForward") + set(value) { + _builder.setForward(value) + } + + /** + * `bool forward = 3;` + */ + public fun clearForward() { + _builder.clearForward() + } + + /** + * `bool jump = 4;` + */ + public var jump: kotlin.Boolean + @JvmName("getJump") + get() = _builder.getJump() + + @JvmName("setJump") + set(value) { + _builder.setJump(value) + } + + /** + * `bool jump = 4;` + */ + public fun clearJump() { + _builder.clearJump() + } + + /** + * `bool left = 5;` + */ + public var left: kotlin.Boolean + @JvmName("getLeft") + get() = _builder.getLeft() + + @JvmName("setLeft") + set(value) { + _builder.setLeft(value) + } + + /** + * `bool left = 5;` + */ + public fun clearLeft() { + _builder.clearLeft() + } + + /** + * `bool right = 6;` + */ + public var right: kotlin.Boolean + @JvmName("getRight") + get() = _builder.getRight() + + @JvmName("setRight") + set(value) { + _builder.setRight(value) + } + + /** + * `bool right = 6;` + */ + public fun clearRight() { + _builder.clearRight() + } + + /** + * `bool sneak = 7;` + */ + public var sneak: kotlin.Boolean + @JvmName("getSneak") + get() = _builder.getSneak() + + @JvmName("setSneak") + set(value) { + _builder.setSneak(value) + } + + /** + * `bool sneak = 7;` + */ + public fun clearSneak() { + _builder.clearSneak() + } + + /** + * `bool sprint = 8;` + */ + public var sprint: kotlin.Boolean + @JvmName("getSprint") + get() = _builder.getSprint() + + @JvmName("setSprint") + set(value) { + _builder.setSprint(value) + } + + /** + * `bool sprint = 8;` + */ + public fun clearSprint() { + _builder.clearSprint() + } + + /** + * `bool use = 9;` + */ + public var use: kotlin.Boolean + @JvmName("getUse") + get() = _builder.getUse() + + @JvmName("setUse") + set(value) { + _builder.setUse(value) + } + + /** + * `bool use = 9;` + */ + public fun clearUse() { + _builder.clearUse() + } + + /** + * `bool drop = 10;` + */ + public var drop: kotlin.Boolean + @JvmName("getDrop") + get() = _builder.getDrop() + + @JvmName("setDrop") + set(value) { + _builder.setDrop(value) + } + + /** + * `bool drop = 10;` + */ + public fun clearDrop() { + _builder.clearDrop() + } + + /** + * `bool inventory = 11;` + */ + public var inventory: kotlin.Boolean + @JvmName("getInventory") + get() = _builder.getInventory() + + @JvmName("setInventory") + set(value) { + _builder.setInventory(value) + } + + /** + * `bool inventory = 11;` + */ + public fun clearInventory() { + _builder.clearInventory() + } + + /** + * ``` + * Hotbar selection (1-9) as bool + * ``` + * + * `bool hotbar_1 = 12;` + */ + public var hotbar1: kotlin.Boolean + @JvmName("getHotbar1") + get() = _builder.getHotbar1() + + @JvmName("setHotbar1") + set(value) { + _builder.setHotbar1(value) + } + + /** + * ``` + * Hotbar selection (1-9) as bool + * ``` + * + * `bool hotbar_1 = 12;` + */ + public fun clearHotbar1() { + _builder.clearHotbar1() + } + + /** + * `bool hotbar_2 = 13;` + */ + public var hotbar2: kotlin.Boolean + @JvmName("getHotbar2") + get() = _builder.getHotbar2() + + @JvmName("setHotbar2") + set(value) { + _builder.setHotbar2(value) + } + + /** + * `bool hotbar_2 = 13;` + */ + public fun clearHotbar2() { + _builder.clearHotbar2() + } + + /** + * `bool hotbar_3 = 14;` + */ + public var hotbar3: kotlin.Boolean + @JvmName("getHotbar3") + get() = _builder.getHotbar3() + + @JvmName("setHotbar3") + set(value) { + _builder.setHotbar3(value) + } + + /** + * `bool hotbar_3 = 14;` + */ + public fun clearHotbar3() { + _builder.clearHotbar3() + } + + /** + * `bool hotbar_4 = 15;` + */ + public var hotbar4: kotlin.Boolean + @JvmName("getHotbar4") + get() = _builder.getHotbar4() + + @JvmName("setHotbar4") + set(value) { + _builder.setHotbar4(value) + } + + /** + * `bool hotbar_4 = 15;` + */ + public fun clearHotbar4() { + _builder.clearHotbar4() + } + + /** + * `bool hotbar_5 = 16;` + */ + public var hotbar5: kotlin.Boolean + @JvmName("getHotbar5") + get() = _builder.getHotbar5() + + @JvmName("setHotbar5") + set(value) { + _builder.setHotbar5(value) + } + + /** + * `bool hotbar_5 = 16;` + */ + public fun clearHotbar5() { + _builder.clearHotbar5() + } + + /** + * `bool hotbar_6 = 17;` + */ + public var hotbar6: kotlin.Boolean + @JvmName("getHotbar6") + get() = _builder.getHotbar6() + + @JvmName("setHotbar6") + set(value) { + _builder.setHotbar6(value) + } + + /** + * `bool hotbar_6 = 17;` + */ + public fun clearHotbar6() { + _builder.clearHotbar6() + } + + /** + * `bool hotbar_7 = 18;` + */ + public var hotbar7: kotlin.Boolean + @JvmName("getHotbar7") + get() = _builder.getHotbar7() + + @JvmName("setHotbar7") + set(value) { + _builder.setHotbar7(value) + } + + /** + * `bool hotbar_7 = 18;` + */ + public fun clearHotbar7() { + _builder.clearHotbar7() + } + + /** + * `bool hotbar_8 = 19;` + */ + public var hotbar8: kotlin.Boolean + @JvmName("getHotbar8") + get() = _builder.getHotbar8() + + @JvmName("setHotbar8") + set(value) { + _builder.setHotbar8(value) + } + + /** + * `bool hotbar_8 = 19;` + */ + public fun clearHotbar8() { + _builder.clearHotbar8() + } + + /** + * `bool hotbar_9 = 20;` + */ + public var hotbar9: kotlin.Boolean + @JvmName("getHotbar9") + get() = _builder.getHotbar9() + + @JvmName("setHotbar9") + set(value) { + _builder.setHotbar9(value) + } + + /** + * `bool hotbar_9 = 20;` + */ + public fun clearHotbar9() { + _builder.clearHotbar9() + } + + /** + * ``` + * Camera movement (pitch and yaw) + * ``` + * + * `float camera_pitch = 21;` + */ + public var cameraPitch: kotlin.Float + @JvmName("getCameraPitch") + get() = _builder.getCameraPitch() + + @JvmName("setCameraPitch") + set(value) { + _builder.setCameraPitch(value) + } + + /** + * ``` + * Camera movement (pitch and yaw) + * ``` + * + * `float camera_pitch = 21;` + */ + public fun clearCameraPitch() { + _builder.clearCameraPitch() + } + + /** + * `float camera_yaw = 22;` + */ + public var cameraYaw: kotlin.Float + @JvmName("getCameraYaw") + get() = _builder.getCameraYaw() + + @JvmName("setCameraYaw") + set(value) { + _builder.setCameraYaw(value) + } + + /** + * `float camera_yaw = 22;` + */ + public fun clearCameraYaw() { + _builder.clearCameraYaw() + } + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + public class CommandsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + + /** + * `repeated string commands = 23;` + * @return A list containing the commands. + */ + public val commands: com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = + com.google.protobuf.kotlin.DslList( + _builder.getCommandsList(), + ) + + /** + * `repeated string commands = 23;` + * @param value The commands to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addCommands") + public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { + _builder.addCommands(value) + } + + /** + * `repeated string commands = 23;` + * @param value The commands to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignCommands") + @Suppress("NOTHING_TO_INLINE") + public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { + add(value) + } + + /** + * `repeated string commands = 23;` + * @param values The commands to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllCommands") + public fun com.google.protobuf.kotlin.DslList.addAll( + values: kotlin.collections.Iterable, + ) { + _builder.addAllCommands(values) + } + + /** + * `repeated string commands = 23;` + * @param values The commands to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllCommands") + @Suppress("NOTHING_TO_INLINE") + public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign( + values: kotlin.collections.Iterable, + ) { + addAll(values) + } + + /** + * `repeated string commands = 23;` + * @param index The index to set the value at. + * @param value The commands to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setCommands") + public operator fun com.google.protobuf.kotlin.DslList.set( + index: kotlin.Int, + value: kotlin.String, + ) { + _builder.setCommands(index, value) + } + + /** + * `repeated string commands = 23;` + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearCommands") + public fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearCommands() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.ActionSpaceMessageV2Kt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 = + `com.kyhsgeekcode.minecraftenv.proto`.ActionSpaceMessageV2Kt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BiomeInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BiomeInfoKt.kt new file mode 100644 index 00000000..e0d35a37 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BiomeInfoKt.kt @@ -0,0 +1,158 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializebiomeInfo") +public inline fun biomeInfo( + block: com.kyhsgeekcode.minecraftenv.proto.BiomeInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo = + com.kyhsgeekcode.minecraftenv.proto.BiomeInfoKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `BiomeInfo` + */ +public object BiomeInfoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo = _builder.build() + + /** + * ``` + * 바이옴의 이름 + * ``` + * + * `string biome_name = 1;` + */ + public var biomeName: kotlin.String + @JvmName("getBiomeName") + get() = _builder.biomeName + + @JvmName("setBiomeName") + set(value) { + _builder.biomeName = value + } + + /** + * ``` + * 바이옴의 이름 + * ``` + * + * `string biome_name = 1;` + */ + public fun clearBiomeName() { + _builder.clearBiomeName() + } + + /** + * ``` + * 바이옴 중심의 x 좌표 + * ``` + * + * `int32 center_x = 2;` + */ + public var centerX: kotlin.Int + @JvmName("getCenterX") + get() = _builder.centerX + + @JvmName("setCenterX") + set(value) { + _builder.centerX = value + } + + /** + * ``` + * 바이옴 중심의 x 좌표 + * ``` + * + * `int32 center_x = 2;` + */ + public fun clearCenterX() { + _builder.clearCenterX() + } + + /** + * ``` + * 바이옴 중심의 y 좌표 + * ``` + * + * `int32 center_y = 3;` + */ + public var centerY: kotlin.Int + @JvmName("getCenterY") + get() = _builder.centerY + + @JvmName("setCenterY") + set(value) { + _builder.centerY = value + } + + /** + * ``` + * 바이옴 중심의 y 좌표 + * ``` + * + * `int32 center_y = 3;` + */ + public fun clearCenterY() { + _builder.clearCenterY() + } + + /** + * ``` + * 바이옴 중심의 z 좌표 + * ``` + * + * `int32 center_z = 4;` + */ + public var centerZ: kotlin.Int + @JvmName("getCenterZ") + get() = _builder.centerZ + + @JvmName("setCenterZ") + set(value) { + _builder.centerZ = value + } + + /** + * ``` + * 바이옴 중심의 z 좌표 + * ``` + * + * `int32 center_z = 4;` + */ + public fun clearCenterZ() { + _builder.clearCenterZ() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.BiomeInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo = + `com.kyhsgeekcode.minecraftenv.proto`.BiomeInfoKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BlockInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BlockInfoKt.kt new file mode 100644 index 00000000..bcd84a14 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/BlockInfoKt.kt @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializeblockInfo") +public inline fun blockInfo( + block: com.kyhsgeekcode.minecraftenv.proto.BlockInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo = + com.kyhsgeekcode.minecraftenv.proto.BlockInfoKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `BlockInfo` + */ +public object BlockInfoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo = _builder.build() + + /** + * `int32 x = 1;` + */ + public var x: kotlin.Int + @JvmName("getX") + get() = _builder.x + + @JvmName("setX") + set(value) { + _builder.x = value + } + + /** + * `int32 x = 1;` + */ + public fun clearX() { + _builder.clearX() + } + + /** + * `int32 y = 2;` + */ + public var y: kotlin.Int + @JvmName("getY") + get() = _builder.y + + @JvmName("setY") + set(value) { + _builder.y = value + } + + /** + * `int32 y = 2;` + */ + public fun clearY() { + _builder.clearY() + } + + /** + * `int32 z = 3;` + */ + public var z: kotlin.Int + @JvmName("getZ") + get() = _builder.z + + @JvmName("setZ") + set(value) { + _builder.z = value + } + + /** + * `int32 z = 3;` + */ + public fun clearZ() { + _builder.clearZ() + } + + /** + * `string translation_key = 4;` + */ + public var translationKey: kotlin.String + @JvmName("getTranslationKey") + get() = _builder.translationKey + + @JvmName("setTranslationKey") + set(value) { + _builder.translationKey = value + } + + /** + * `string translation_key = 4;` + */ + public fun clearTranslationKey() { + _builder.clearTranslationKey() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.BlockInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo = + `com.kyhsgeekcode.minecraftenv.proto`.BlockInfoKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ChatMessageInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ChatMessageInfoKt.kt new file mode 100644 index 00000000..976f2f8f --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ChatMessageInfoKt.kt @@ -0,0 +1,115 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializechatMessageInfo") +public inline fun chatMessageInfo( + block: com.kyhsgeekcode.minecraftenv.proto.ChatMessageInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo = + com.kyhsgeekcode.minecraftenv.proto.ChatMessageInfoKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `ChatMessageInfo` + */ +public object ChatMessageInfoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo = _builder.build() + + /** + * `int64 added_time = 1;` + */ + public var addedTime: kotlin.Long + @JvmName("getAddedTime") + get() = _builder.addedTime + + @JvmName("setAddedTime") + set(value) { + _builder.addedTime = value + } + + /** + * `int64 added_time = 1;` + */ + public fun clearAddedTime() { + _builder.clearAddedTime() + } + + /** + * `string message = 2;` + */ + public var message: kotlin.String + @JvmName("getMessage") + get() = _builder.message + + @JvmName("setMessage") + set(value) { + _builder.message = value + } + + /** + * `string message = 2;` + */ + public fun clearMessage() { + _builder.clearMessage() + } + + /** + * ``` + * TODO;; always empty + * ``` + * + * `string indicator = 3;` + */ + public var indicator: kotlin.String + @JvmName("getIndicator") + get() = _builder.indicator + + @JvmName("setIndicator") + set(value) { + _builder.indicator = value + } + + /** + * ``` + * TODO;; always empty + * ``` + * + * `string indicator = 3;` + */ + public fun clearIndicator() { + _builder.clearIndicator() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.ChatMessageInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo = + `com.kyhsgeekcode.minecraftenv.proto`.ChatMessageInfoKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntitiesWithinDistanceKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntitiesWithinDistanceKt.kt new file mode 100644 index 00000000..bd9fd4b0 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntitiesWithinDistanceKt.kt @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializeentitiesWithinDistance") +public inline fun entitiesWithinDistance( + block: com.kyhsgeekcode.minecraftenv.proto.EntitiesWithinDistanceKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance = + com.kyhsgeekcode.minecraftenv.proto.EntitiesWithinDistanceKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `EntitiesWithinDistance` + */ +public object EntitiesWithinDistanceKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder): Dsl = + Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance = _builder.build() + + /** + * An uninstantiable, behaviorless type to represent the field in + * generics. + */ + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + public class EntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() + + /** + * `repeated .EntityInfo entities = 1;` + */ + public val entities: + com.google.protobuf.kotlin.DslList + @kotlin.jvm.JvmSynthetic + get() = + com.google.protobuf.kotlin.DslList( + _builder.entitiesList, + ) + + /** + * `repeated .EntityInfo entities = 1;` + * @param value The entities to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addEntities") + public fun com.google.protobuf.kotlin.DslList.add( + value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + ) { + _builder.addEntities(value) + } + + /** + * `repeated .EntityInfo entities = 1;` + * @param value The entities to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignEntities") + @Suppress("NOTHING_TO_INLINE") + public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign( + value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + ) { + add(value) + } + + /** + * `repeated .EntityInfo entities = 1;` + * @param values The entities to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("addAllEntities") + public fun com.google.protobuf.kotlin.DslList.addAll( + values: kotlin.collections.Iterable, + ) { + _builder.addAllEntities(values) + } + + /** + * `repeated .EntityInfo entities = 1;` + * @param values The entities to add. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("plusAssignAllEntities") + @Suppress("NOTHING_TO_INLINE") + public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign( + values: kotlin.collections.Iterable, + ) { + addAll(values) + } + + /** + * `repeated .EntityInfo entities = 1;` + * @param index The index to set the value at. + * @param value The entities to set. + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("setEntities") + public operator fun com.google.protobuf.kotlin.DslList.set( + index: kotlin.Int, + value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + ) { + _builder.setEntities(index, value) + } + + /** + * `repeated .EntityInfo entities = 1;` + */ + @kotlin.jvm.JvmSynthetic + @kotlin.jvm.JvmName("clearEntities") + public fun com.google.protobuf.kotlin.DslList.clear() { + _builder.clearEntities() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.EntitiesWithinDistanceKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance = + `com.kyhsgeekcode.minecraftenv.proto`.EntitiesWithinDistanceKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntityInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntityInfoKt.kt new file mode 100644 index 00000000..3dff2ece --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/EntityInfoKt.kt @@ -0,0 +1,202 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializeentityInfo") +public inline fun entityInfo( + block: com.kyhsgeekcode.minecraftenv.proto.EntityInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo = + com.kyhsgeekcode.minecraftenv.proto.EntityInfoKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `EntityInfo` + */ +public object EntityInfoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo = _builder.build() + + /** + * `string unique_name = 1;` + */ + public var uniqueName: kotlin.String + @JvmName("getUniqueName") + get() = _builder.uniqueName + + @JvmName("setUniqueName") + set(value) { + _builder.uniqueName = value + } + + /** + * `string unique_name = 1;` + */ + public fun clearUniqueName() { + _builder.clearUniqueName() + } + + /** + * `string translation_key = 2;` + */ + public var translationKey: kotlin.String + @JvmName("getTranslationKey") + get() = _builder.translationKey + + @JvmName("setTranslationKey") + set(value) { + _builder.translationKey = value + } + + /** + * `string translation_key = 2;` + */ + public fun clearTranslationKey() { + _builder.clearTranslationKey() + } + + /** + * `double x = 3;` + */ + public var x: kotlin.Double + @JvmName("getX") + get() = _builder.x + + @JvmName("setX") + set(value) { + _builder.x = value + } + + /** + * `double x = 3;` + */ + public fun clearX() { + _builder.clearX() + } + + /** + * `double y = 4;` + */ + public var y: kotlin.Double + @JvmName("getY") + get() = _builder.y + + @JvmName("setY") + set(value) { + _builder.y = value + } + + /** + * `double y = 4;` + */ + public fun clearY() { + _builder.clearY() + } + + /** + * `double z = 5;` + */ + public var z: kotlin.Double + @JvmName("getZ") + get() = _builder.z + + @JvmName("setZ") + set(value) { + _builder.z = value + } + + /** + * `double z = 5;` + */ + public fun clearZ() { + _builder.clearZ() + } + + /** + * `double yaw = 6;` + */ + public var yaw: kotlin.Double + @JvmName("getYaw") + get() = _builder.yaw + + @JvmName("setYaw") + set(value) { + _builder.yaw = value + } + + /** + * `double yaw = 6;` + */ + public fun clearYaw() { + _builder.clearYaw() + } + + /** + * `double pitch = 7;` + */ + public var pitch: kotlin.Double + @JvmName("getPitch") + get() = _builder.pitch + + @JvmName("setPitch") + set(value) { + _builder.pitch = value + } + + /** + * `double pitch = 7;` + */ + public fun clearPitch() { + _builder.clearPitch() + } + + /** + * `double health = 8;` + */ + public var health: kotlin.Double + @JvmName("getHealth") + get() = _builder.health + + @JvmName("setHealth") + set(value) { + _builder.health = value + } + + /** + * `double health = 8;` + */ + public fun clearHealth() { + _builder.clearHealth() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.EntityInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo = + `com.kyhsgeekcode.minecraftenv.proto`.EntityInfoKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HeightInfoKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HeightInfoKt.kt new file mode 100644 index 00000000..9fc077aa --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HeightInfoKt.kt @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializeheightInfo") +public inline fun heightInfo( + block: com.kyhsgeekcode.minecraftenv.proto.HeightInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo = + com.kyhsgeekcode.minecraftenv.proto.HeightInfoKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `HeightInfo` + */ +public object HeightInfoKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo = _builder.build() + + /** + * `int32 x = 1;` + */ + public var x: kotlin.Int + @JvmName("getX") + get() = _builder.x + + @JvmName("setX") + set(value) { + _builder.x = value + } + + /** + * `int32 x = 1;` + */ + public fun clearX() { + _builder.clearX() + } + + /** + * `int32 z = 2;` + */ + public var z: kotlin.Int + @JvmName("getZ") + get() = _builder.z + + @JvmName("setZ") + set(value) { + _builder.z = value + } + + /** + * `int32 z = 2;` + */ + public fun clearZ() { + _builder.clearZ() + } + + /** + * `int32 height = 3;` + */ + public var height: kotlin.Int + @JvmName("getHeight") + get() = _builder.height + + @JvmName("setHeight") + set(value) { + _builder.height = value + } + + /** + * `int32 height = 3;` + */ + public fun clearHeight() { + _builder.clearHeight() + } + + /** + * `string block_name = 4;` + */ + public var blockName: kotlin.String + @JvmName("getBlockName") + get() = _builder.blockName + + @JvmName("setBlockName") + set(value) { + _builder.blockName = value + } + + /** + * `string block_name = 4;` + */ + public fun clearBlockName() { + _builder.clearBlockName() + } + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.HeightInfoKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo = + `com.kyhsgeekcode.minecraftenv.proto`.HeightInfoKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HitResultKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HitResultKt.kt new file mode 100644 index 00000000..a8f5ec87 --- /dev/null +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/HitResultKt.kt @@ -0,0 +1,139 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: observation_space.proto + +// Generated files should ignore deprecation warnings +@file:Suppress("DEPRECATION") + +package com.kyhsgeekcode.minecraftenv.proto + +@kotlin.jvm.JvmName("-initializehitResult") +public inline fun hitResult( + block: com.kyhsgeekcode.minecraftenv.proto.HitResultKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult = + com.kyhsgeekcode.minecraftenv.proto.HitResultKt.Dsl + ._create( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + .newBuilder(), + ).apply { + block() + }._build() + +/** + * Protobuf type `HitResult` + */ +public object HitResultKt { + @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) + @com.google.protobuf.kotlin.ProtoDslMarker + public class Dsl private constructor( + private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, + ) { + public companion object { + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder): Dsl = Dsl(builder) + } + + @kotlin.jvm.JvmSynthetic + @kotlin.PublishedApi + internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult = _builder.build() + + /** + * `.HitResult.Type type = 1;` + */ + public var type: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type + @JvmName("getType") + get() = _builder.type + + @JvmName("setType") + set(value) { + _builder.type = value + } + public var typeValue: kotlin.Int + @JvmName("getTypeValue") + get() = _builder.typeValue + + @JvmName("setTypeValue") + set(value) { + _builder.typeValue = value + } + + /** + * `.HitResult.Type type = 1;` + */ + public fun clearType() { + _builder.clearType() + } + + /** + * `.BlockInfo target_block = 2;` + */ + public var targetBlock: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + @JvmName("getTargetBlock") + get() = _builder.targetBlock + + @JvmName("setTargetBlock") + set(value) { + _builder.targetBlock = value + } + + /** + * `.BlockInfo target_block = 2;` + */ + public fun clearTargetBlock() { + _builder.clearTargetBlock() + } + + /** + * `.BlockInfo target_block = 2;` + * @return Whether the targetBlock field is set. + */ + public fun hasTargetBlock(): kotlin.Boolean = _builder.hasTargetBlock() + + public val HitResultKt.Dsl.targetBlockOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo? + get() = _builder.targetBlockOrNull + + /** + * `.EntityInfo target_entity = 3;` + */ + public var targetEntity: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + @JvmName("getTargetEntity") + get() = _builder.targetEntity + + @JvmName("setTargetEntity") + set(value) { + _builder.targetEntity = value + } + + /** + * `.EntityInfo target_entity = 3;` + */ + public fun clearTargetEntity() { + _builder.clearTargetEntity() + } + + /** + * `.EntityInfo target_entity = 3;` + * @return Whether the targetEntity field is set. + */ + public fun hasTargetEntity(): kotlin.Boolean = _builder.hasTargetEntity() + + public val HitResultKt.Dsl.targetEntityOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo? + get() = _builder.targetEntityOrNull + } +} + +@kotlin.jvm.JvmSynthetic +public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.copy( + block: `com.kyhsgeekcode.minecraftenv.proto`.HitResultKt.Dsl.() -> kotlin.Unit, +): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult = + `com.kyhsgeekcode.minecraftenv.proto`.HitResultKt.Dsl + ._create(this.toBuilder()) + .apply { block() } + ._build() + +public val com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder.targetBlockOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo? + get() = if (hasTargetBlock()) getTargetBlock() else null + +public val com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder.targetEntityOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo? + get() = if (hasTargetEntity()) getTargetEntity() else null diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironment.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java similarity index 94% rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironment.java rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java index 98dc5ded..d4b70a9b 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironment.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java @@ -3,7 +3,7 @@ // source: initial_environment.proto // Protobuf Java Version: 4.27.3 -package com.kyhsgeekcode.minecraft_env.proto; +package com.kyhsgeekcode.minecraftenv.proto; public final class InitialEnvironment { private InitialEnvironment() {} @@ -125,7 +125,7 @@ public GameMode findValueByNumber(int number) { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(0); + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(0); } private static final GameMode[] VALUES = values(); @@ -260,7 +260,7 @@ public Difficulty findValueByNumber(int number) { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(1); + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(1); } private static final Difficulty[] VALUES = values(); @@ -404,7 +404,7 @@ public WorldType findValueByNumber(int number) { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(2); + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(2); } private static final WorldType[] VALUES = values(); @@ -471,7 +471,7 @@ public interface InitialEnvironmentMessageOrBuilder extends * .GameMode gamemode = 3; * @return The gamemode. */ - com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode getGamemode(); + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode(); /** *
@@ -490,7 +490,7 @@ public interface InitialEnvironmentMessageOrBuilder extends
      * .Difficulty difficulty = 4;
      * @return The difficulty.
      */
-    com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty getDifficulty();
+    com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty();
 
     /**
      * 
@@ -509,7 +509,7 @@ public interface InitialEnvironmentMessageOrBuilder extends
      * .WorldType worldType = 5;
      * @return The worldType.
      */
-    com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType getWorldType();
+    com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType();
 
     /**
      * 
@@ -869,15 +869,15 @@ private InitialEnvironmentMessage() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class);
     }
 
     public static final int IMAGESIZEX_FIELD_NUMBER = 1;
@@ -931,9 +931,9 @@ public int getImageSizeY() {
      * .GameMode gamemode = 3;
      * @return The gamemode.
      */
-    @java.lang.Override public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode getGamemode() {
-      com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.forNumber(gamemode_);
-      return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result;
+    @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode() {
+      com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_);
+      return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result;
     }
 
     public static final int DIFFICULTY_FIELD_NUMBER = 4;
@@ -957,9 +957,9 @@ public int getImageSizeY() {
      * .Difficulty difficulty = 4;
      * @return The difficulty.
      */
-    @java.lang.Override public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty getDifficulty() {
-      com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.forNumber(difficulty_);
-      return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result;
+    @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty() {
+      com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber(difficulty_);
+      return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result;
     }
 
     public static final int WORLDTYPE_FIELD_NUMBER = 5;
@@ -983,9 +983,9 @@ public int getImageSizeY() {
      * .WorldType worldType = 5;
      * @return The worldType.
      */
-    @java.lang.Override public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType getWorldType() {
-      com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.forNumber(worldType_);
-      return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result;
+    @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType() {
+      com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_);
+      return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result;
     }
 
     public static final int WORLDTYPEARGS_FIELD_NUMBER = 6;
@@ -1553,13 +1553,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (imageSizeY_ != 0) {
         output.writeInt32(2, imageSizeY_);
       }
-      if (gamemode_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) {
+      if (gamemode_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) {
         output.writeEnum(3, gamemode_);
       }
-      if (difficulty_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) {
+      if (difficulty_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) {
         output.writeEnum(4, difficulty_);
       }
-      if (worldType_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) {
+      if (worldType_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) {
         output.writeEnum(5, worldType_);
       }
       if (!com.google.protobuf.GeneratedMessage.isStringEmpty(worldTypeArgs_)) {
@@ -1652,15 +1652,15 @@ public int getSerializedSize() {
         size += com.google.protobuf.CodedOutputStream
           .computeInt32Size(2, imageSizeY_);
       }
-      if (gamemode_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) {
+      if (gamemode_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) {
         size += com.google.protobuf.CodedOutputStream
           .computeEnumSize(3, gamemode_);
       }
-      if (difficulty_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) {
+      if (difficulty_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) {
         size += com.google.protobuf.CodedOutputStream
           .computeEnumSize(4, difficulty_);
       }
-      if (worldType_ != com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) {
+      if (worldType_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) {
         size += com.google.protobuf.CodedOutputStream
           .computeEnumSize(5, worldType_);
       }
@@ -1797,10 +1797,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage other = (com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage) obj;
+      com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other = (com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) obj;
 
       if (getImageSizeX()
           != other.getImageSizeX()) return false;
@@ -1953,44 +1953,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -1998,26 +1998,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnv
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -2030,7 +2030,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnv
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -2051,21 +2051,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:InitialEnvironmentMessage)
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessageOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessageOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.newBuilder()
       private Builder() {
 
       }
@@ -2119,17 +2119,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage build() {
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage build() {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2137,14 +2137,14 @@ public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmen
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage result = new com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage(this);
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.imageSizeX_ = imageSizeX_;
@@ -2241,16 +2241,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironme
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance()) return this;
         if (other.getImageSizeX() != 0) {
           setImageSizeX(other.getImageSizeX());
         }
@@ -2715,9 +2715,9 @@ public Builder setGamemodeValue(int value) {
        * @return The gamemode.
        */
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode getGamemode() {
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.forNumber(gamemode_);
-        return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result;
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode() {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_);
+        return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result;
       }
       /**
        * 
@@ -2728,7 +2728,7 @@ public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode getGamem
        * @param value The gamemode to set.
        * @return This builder for chaining.
        */
-      public Builder setGamemode(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.GameMode value) {
+      public Builder setGamemode(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode value) {
         if (value == null) {
           throw new NullPointerException();
         }
@@ -2788,9 +2788,9 @@ public Builder setDifficultyValue(int value) {
        * @return The difficulty.
        */
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty getDifficulty() {
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.forNumber(difficulty_);
-        return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result;
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty() {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber(difficulty_);
+        return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result;
       }
       /**
        * 
@@ -2801,7 +2801,7 @@ public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty getDif
        * @param value The difficulty to set.
        * @return This builder for chaining.
        */
-      public Builder setDifficulty(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.Difficulty value) {
+      public Builder setDifficulty(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty value) {
         if (value == null) {
           throw new NullPointerException();
         }
@@ -2861,9 +2861,9 @@ public Builder setWorldTypeValue(int value) {
        * @return The worldType.
        */
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType getWorldType() {
-        com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.forNumber(worldType_);
-        return result == null ? com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result;
+      public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType() {
+        com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_);
+        return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result;
       }
       /**
        * 
@@ -2874,7 +2874,7 @@ public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType getWorl
        * @param value The worldType to set.
        * @return This builder for chaining.
        */
-      public Builder setWorldType(com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.WorldType value) {
+      public Builder setWorldType(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType value) {
         if (value == null) {
           throw new NullPointerException();
         }
@@ -4372,12 +4372,12 @@ public Builder clearRequiresHeightmap() {
     }
 
     // @@protoc_insertion_point(class_scope:InitialEnvironmentMessage)
-    private static final com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -4413,7 +4413,7 @@ public com.google.protobuf.Parser getParserForType()
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentKt.kt
similarity index 82%
rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentKt.kt
rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentKt.kt
index 5b4ed9b9..db430161 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/InitialEnvironmentKt.kt
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentKt.kt
@@ -4,5 +4,5 @@
 
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
-package com.kyhsgeekcode.minecraft_env.proto;
 
+package com.kyhsgeekcode.minecraftenv.proto
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentMessageKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentMessageKt.kt
new file mode 100644
index 00000000..26b82c64
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironmentMessageKt.kt
@@ -0,0 +1,1174 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: initial_environment.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializeinitialEnvironmentMessage")
+public inline fun initialEnvironmentMessage(
+    block: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironmentMessageKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage =
+    com.kyhsgeekcode.minecraftenv.proto.InitialEnvironmentMessageKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `InitialEnvironmentMessage`
+ */
+public object InitialEnvironmentMessageKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder): Dsl =
+                Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage = _builder.build()
+
+        /**
+         * ```
+         * Required. The width of the image.
+         * ```
+         *
+         * `int32 imageSizeX = 1;`
+         */
+        public var imageSizeX: kotlin.Int
+            @JvmName("getImageSizeX")
+            get() = _builder.getImageSizeX()
+
+            @JvmName("setImageSizeX")
+            set(value) {
+                _builder.setImageSizeX(value)
+            }
+
+        /**
+         * ```
+         * Required. The width of the image.
+         * ```
+         *
+         * `int32 imageSizeX = 1;`
+         */
+        public fun clearImageSizeX() {
+            _builder.clearImageSizeX()
+        }
+
+        /**
+         * ```
+         * Required. The height of the image.
+         * ```
+         *
+         * `int32 imageSizeY = 2;`
+         */
+        public var imageSizeY: kotlin.Int
+            @JvmName("getImageSizeY")
+            get() = _builder.getImageSizeY()
+
+            @JvmName("setImageSizeY")
+            set(value) {
+                _builder.setImageSizeY(value)
+            }
+
+        /**
+         * ```
+         * Required. The height of the image.
+         * ```
+         *
+         * `int32 imageSizeY = 2;`
+         */
+        public fun clearImageSizeY() {
+            _builder.clearImageSizeY()
+        }
+
+        /**
+         * ```
+         * Default = SURVIVAL
+         * ```
+         *
+         * `.GameMode gamemode = 3;`
+         */
+        public var gamemode: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode
+            @JvmName("getGamemode")
+            get() = _builder.getGamemode()
+
+            @JvmName("setGamemode")
+            set(value) {
+                _builder.setGamemode(value)
+            }
+        public var gamemodeValue: kotlin.Int
+            @JvmName("getGamemodeValue")
+            get() = _builder.getGamemodeValue()
+
+            @JvmName("setGamemodeValue")
+            set(value) {
+                _builder.setGamemodeValue(value)
+            }
+
+        /**
+         * ```
+         * Default = SURVIVAL
+         * ```
+         *
+         * `.GameMode gamemode = 3;`
+         */
+        public fun clearGamemode() {
+            _builder.clearGamemode()
+        }
+
+        /**
+         * ```
+         * Default = NORMAL
+         * ```
+         *
+         * `.Difficulty difficulty = 4;`
+         */
+        public var difficulty: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty
+            @JvmName("getDifficulty")
+            get() = _builder.getDifficulty()
+
+            @JvmName("setDifficulty")
+            set(value) {
+                _builder.setDifficulty(value)
+            }
+        public var difficultyValue: kotlin.Int
+            @JvmName("getDifficultyValue")
+            get() = _builder.getDifficultyValue()
+
+            @JvmName("setDifficultyValue")
+            set(value) {
+                _builder.setDifficultyValue(value)
+            }
+
+        /**
+         * ```
+         * Default = NORMAL
+         * ```
+         *
+         * `.Difficulty difficulty = 4;`
+         */
+        public fun clearDifficulty() {
+            _builder.clearDifficulty()
+        }
+
+        /**
+         * ```
+         * Default = DEFAULT
+         * ```
+         *
+         * `.WorldType worldType = 5;`
+         */
+        public var worldType: com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType
+            @JvmName("getWorldType")
+            get() = _builder.getWorldType()
+
+            @JvmName("setWorldType")
+            set(value) {
+                _builder.setWorldType(value)
+            }
+        public var worldTypeValue: kotlin.Int
+            @JvmName("getWorldTypeValue")
+            get() = _builder.getWorldTypeValue()
+
+            @JvmName("setWorldTypeValue")
+            set(value) {
+                _builder.setWorldTypeValue(value)
+            }
+
+        /**
+         * ```
+         * Default = DEFAULT
+         * ```
+         *
+         * `.WorldType worldType = 5;`
+         */
+        public fun clearWorldType() {
+            _builder.clearWorldType()
+        }
+
+        /**
+         * ```
+         * Empty for no value
+         * ```
+         *
+         * `string worldTypeArgs = 6;`
+         */
+        public var worldTypeArgs: kotlin.String
+            @JvmName("getWorldTypeArgs")
+            get() = _builder.getWorldTypeArgs()
+
+            @JvmName("setWorldTypeArgs")
+            set(value) {
+                _builder.setWorldTypeArgs(value)
+            }
+
+        /**
+         * ```
+         * Empty for no value
+         * ```
+         *
+         * `string worldTypeArgs = 6;`
+         */
+        public fun clearWorldTypeArgs() {
+            _builder.clearWorldTypeArgs()
+        }
+
+        /**
+         * ```
+         * Empty for no value
+         * ```
+         *
+         * `string seed = 7;`
+         */
+        public var seed: kotlin.String
+            @JvmName("getSeed")
+            get() = _builder.getSeed()
+
+            @JvmName("setSeed")
+            set(value) {
+                _builder.setSeed(value)
+            }
+
+        /**
+         * ```
+         * Empty for no value
+         * ```
+         *
+         * `string seed = 7;`
+         */
+        public fun clearSeed() {
+            _builder.clearSeed()
+        }
+
+        /**
+         * ```
+         * Default = true
+         * ```
+         *
+         * `bool generate_structures = 8;`
+         */
+        public var generateStructures: kotlin.Boolean
+            @JvmName("getGenerateStructures")
+            get() = _builder.getGenerateStructures()
+
+            @JvmName("setGenerateStructures")
+            set(value) {
+                _builder.setGenerateStructures(value)
+            }
+
+        /**
+         * ```
+         * Default = true
+         * ```
+         *
+         * `bool generate_structures = 8;`
+         */
+        public fun clearGenerateStructures() {
+            _builder.clearGenerateStructures()
+        }
+
+        /**
+         * ```
+         * Default = false
+         * ```
+         *
+         * `bool bonus_chest = 9;`
+         */
+        public var bonusChest: kotlin.Boolean
+            @JvmName("getBonusChest")
+            get() = _builder.getBonusChest()
+
+            @JvmName("setBonusChest")
+            set(value) {
+                _builder.setBonusChest(value)
+            }
+
+        /**
+         * ```
+         * Default = false
+         * ```
+         *
+         * `bool bonus_chest = 9;`
+         */
+        public fun clearBonusChest() {
+            _builder.clearBonusChest()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class DatapackPathsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @return A list containing the datapackPaths.
+         */
+        public val datapackPaths: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getDatapackPathsList(),
+                )
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @param value The datapackPaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addDatapackPaths")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addDatapackPaths(value)
+        }
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @param value The datapackPaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignDatapackPaths")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
+            add(value)
+        }
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @param values The datapackPaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllDatapackPaths")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllDatapackPaths(values)
+        }
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @param values The datapackPaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllDatapackPaths")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         * @param index The index to set the value at.
+         * @param value The datapackPaths to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setDatapackPaths")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setDatapackPaths(index, value)
+        }
+
+        /**
+         * `repeated string datapackPaths = 10;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearDatapackPaths")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearDatapackPaths()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class InitialExtraCommandsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @return A list containing the initialExtraCommands.
+         */
+        public val initialExtraCommands: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getInitialExtraCommandsList(),
+                )
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @param value The initialExtraCommands to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addInitialExtraCommands")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addInitialExtraCommands(value)
+        }
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @param value The initialExtraCommands to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignInitialExtraCommands")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: kotlin.String,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @param values The initialExtraCommands to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllInitialExtraCommands")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllInitialExtraCommands(values)
+        }
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @param values The initialExtraCommands to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllInitialExtraCommands")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         * @param index The index to set the value at.
+         * @param value The initialExtraCommands to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setInitialExtraCommands")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setInitialExtraCommands(index, value)
+        }
+
+        /**
+         * `repeated string initialExtraCommands = 11;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearInitialExtraCommands")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearInitialExtraCommands()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class KilledStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @return A list containing the killedStatKeys.
+         */
+        public val killedStatKeys: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getKilledStatKeysList(),
+                )
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @param value The killedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addKilledStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addKilledStatKeys(value)
+        }
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @param value The killedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignKilledStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
+            add(value)
+        }
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @param values The killedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllKilledStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllKilledStatKeys(values)
+        }
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @param values The killedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllKilledStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         * @param index The index to set the value at.
+         * @param value The killedStatKeys to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setKilledStatKeys")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setKilledStatKeys(index, value)
+        }
+
+        /**
+         * `repeated string killedStatKeys = 12;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearKilledStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearKilledStatKeys()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class MinedStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @return A list containing the minedStatKeys.
+         */
+        public val minedStatKeys: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getMinedStatKeysList(),
+                )
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @param value The minedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addMinedStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addMinedStatKeys(value)
+        }
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @param value The minedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignMinedStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
+            add(value)
+        }
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @param values The minedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllMinedStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllMinedStatKeys(values)
+        }
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @param values The minedStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllMinedStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         * @param index The index to set the value at.
+         * @param value The minedStatKeys to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setMinedStatKeys")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setMinedStatKeys(index, value)
+        }
+
+        /**
+         * `repeated string minedStatKeys = 13;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearMinedStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearMinedStatKeys()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class MiscStatKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @return A list containing the miscStatKeys.
+         */
+        public val miscStatKeys: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getMiscStatKeysList(),
+                )
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @param value The miscStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addMiscStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addMiscStatKeys(value)
+        }
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @param value The miscStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignMiscStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
+            add(value)
+        }
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @param values The miscStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllMiscStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllMiscStatKeys(values)
+        }
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @param values The miscStatKeys to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllMiscStatKeys")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         * @param index The index to set the value at.
+         * @param value The miscStatKeys to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setMiscStatKeys")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setMiscStatKeys(index, value)
+        }
+
+        /**
+         * `repeated string miscStatKeys = 14;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearMiscStatKeys")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearMiscStatKeys()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class SurroundingEntityDistancesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         */
+        public val surroundingEntityDistances: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getSurroundingEntityDistancesList(),
+                )
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         * @param value The surroundingEntityDistances to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addSurroundingEntityDistances")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) {
+            _builder.addSurroundingEntityDistances(value)
+        }
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         * @param value The surroundingEntityDistances to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignSurroundingEntityDistances")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: kotlin.Int,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         * @param values The surroundingEntityDistances to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllSurroundingEntityDistances")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllSurroundingEntityDistances(values)
+        }
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         * @param values The surroundingEntityDistances to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllSurroundingEntityDistances")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         * @param index The index to set the value at.
+         * @param value The surroundingEntityDistances to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setSurroundingEntityDistances")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.Int,
+        ) {
+            _builder.setSurroundingEntityDistances(index, value)
+        }
+
+        /**
+         * `repeated int32 surroundingEntityDistances = 15;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearSurroundingEntityDistances")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearSurroundingEntityDistances()
+        }
+
+        /**
+         * `bool hudHidden = 16;`
+         */
+        public var hudHidden: kotlin.Boolean
+            @JvmName("getHudHidden")
+            get() = _builder.getHudHidden()
+
+            @JvmName("setHudHidden")
+            set(value) {
+                _builder.setHudHidden(value)
+            }
+
+        /**
+         * `bool hudHidden = 16;`
+         */
+        public fun clearHudHidden() {
+            _builder.clearHudHidden()
+        }
+
+        /**
+         * `int32 render_distance = 17;`
+         */
+        public var renderDistance: kotlin.Int
+            @JvmName("getRenderDistance")
+            get() = _builder.getRenderDistance()
+
+            @JvmName("setRenderDistance")
+            set(value) {
+                _builder.setRenderDistance(value)
+            }
+
+        /**
+         * `int32 render_distance = 17;`
+         */
+        public fun clearRenderDistance() {
+            _builder.clearRenderDistance()
+        }
+
+        /**
+         * `int32 simulation_distance = 18;`
+         */
+        public var simulationDistance: kotlin.Int
+            @JvmName("getSimulationDistance")
+            get() = _builder.getSimulationDistance()
+
+            @JvmName("setSimulationDistance")
+            set(value) {
+                _builder.setSimulationDistance(value)
+            }
+
+        /**
+         * `int32 simulation_distance = 18;`
+         */
+        public fun clearSimulationDistance() {
+            _builder.clearSimulationDistance()
+        }
+
+        /**
+         * ```
+         * If > 0, binocular mode
+         * ```
+         *
+         * `float eye_distance = 19;`
+         */
+        public var eyeDistance: kotlin.Float
+            @JvmName("getEyeDistance")
+            get() = _builder.getEyeDistance()
+
+            @JvmName("setEyeDistance")
+            set(value) {
+                _builder.setEyeDistance(value)
+            }
+
+        /**
+         * ```
+         * If > 0, binocular mode
+         * ```
+         *
+         * `float eye_distance = 19;`
+         */
+        public fun clearEyeDistance() {
+            _builder.clearEyeDistance()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class StructurePathsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @return A list containing the structurePaths.
+         */
+        public val structurePaths: com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.getStructurePathsList(),
+                )
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @param value The structurePaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addStructurePaths")
+        public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
+            _builder.addStructurePaths(value)
+        }
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @param value The structurePaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignStructurePaths")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
+            add(value)
+        }
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @param values The structurePaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllStructurePaths")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllStructurePaths(values)
+        }
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @param values The structurePaths to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllStructurePaths")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated string structurePaths = 20;`
+         * @param index The index to set the value at.
+         * @param value The structurePaths to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setStructurePaths")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: kotlin.String,
+        ) {
+            _builder.setStructurePaths(index, value)
+        }
+
+        /**
+         * `repeated string structurePaths = 20;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearStructurePaths")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearStructurePaths()
+        }
+
+        /**
+         * `bool no_fov_effect = 21;`
+         */
+        public var noFovEffect: kotlin.Boolean
+            @JvmName("getNoFovEffect")
+            get() = _builder.getNoFovEffect()
+
+            @JvmName("setNoFovEffect")
+            set(value) {
+                _builder.setNoFovEffect(value)
+            }
+
+        /**
+         * `bool no_fov_effect = 21;`
+         */
+        public fun clearNoFovEffect() {
+            _builder.clearNoFovEffect()
+        }
+
+        /**
+         * `bool request_raycast = 22;`
+         */
+        public var requestRaycast: kotlin.Boolean
+            @JvmName("getRequestRaycast")
+            get() = _builder.getRequestRaycast()
+
+            @JvmName("setRequestRaycast")
+            set(value) {
+                _builder.setRequestRaycast(value)
+            }
+
+        /**
+         * `bool request_raycast = 22;`
+         */
+        public fun clearRequestRaycast() {
+            _builder.clearRequestRaycast()
+        }
+
+        /**
+         * `int32 screen_encoding_mode = 23;`
+         */
+        public var screenEncodingMode: kotlin.Int
+            @JvmName("getScreenEncodingMode")
+            get() = _builder.getScreenEncodingMode()
+
+            @JvmName("setScreenEncodingMode")
+            set(value) {
+                _builder.setScreenEncodingMode(value)
+            }
+
+        /**
+         * `int32 screen_encoding_mode = 23;`
+         */
+        public fun clearScreenEncodingMode() {
+            _builder.clearScreenEncodingMode()
+        }
+
+        /**
+         * `bool requiresSurroundingBlocks = 24;`
+         */
+        public var requiresSurroundingBlocks: kotlin.Boolean
+            @JvmName("getRequiresSurroundingBlocks")
+            get() = _builder.getRequiresSurroundingBlocks()
+
+            @JvmName("setRequiresSurroundingBlocks")
+            set(value) {
+                _builder.setRequiresSurroundingBlocks(value)
+            }
+
+        /**
+         * `bool requiresSurroundingBlocks = 24;`
+         */
+        public fun clearRequiresSurroundingBlocks() {
+            _builder.clearRequiresSurroundingBlocks()
+        }
+
+        /**
+         * `string level_display_name_to_play = 25;`
+         */
+        public var levelDisplayNameToPlay: kotlin.String
+            @JvmName("getLevelDisplayNameToPlay")
+            get() = _builder.getLevelDisplayNameToPlay()
+
+            @JvmName("setLevelDisplayNameToPlay")
+            set(value) {
+                _builder.setLevelDisplayNameToPlay(value)
+            }
+
+        /**
+         * `string level_display_name_to_play = 25;`
+         */
+        public fun clearLevelDisplayNameToPlay() {
+            _builder.clearLevelDisplayNameToPlay()
+        }
+
+        /**
+         * ```
+         * Default = 70
+         * ```
+         *
+         * `float fov = 26;`
+         */
+        public var fov: kotlin.Float
+            @JvmName("getFov")
+            get() = _builder.getFov()
+
+            @JvmName("setFov")
+            set(value) {
+                _builder.setFov(value)
+            }
+
+        /**
+         * ```
+         * Default = 70
+         * ```
+         *
+         * `float fov = 26;`
+         */
+        public fun clearFov() {
+            _builder.clearFov()
+        }
+
+        /**
+         * `bool requiresBiomeInfo = 27;`
+         */
+        public var requiresBiomeInfo: kotlin.Boolean
+            @JvmName("getRequiresBiomeInfo")
+            get() = _builder.getRequiresBiomeInfo()
+
+            @JvmName("setRequiresBiomeInfo")
+            set(value) {
+                _builder.setRequiresBiomeInfo(value)
+            }
+
+        /**
+         * `bool requiresBiomeInfo = 27;`
+         */
+        public fun clearRequiresBiomeInfo() {
+            _builder.clearRequiresBiomeInfo()
+        }
+
+        /**
+         * `bool requiresHeightmap = 28;`
+         */
+        public var requiresHeightmap: kotlin.Boolean
+            @JvmName("getRequiresHeightmap")
+            get() = _builder.getRequiresHeightmap()
+
+            @JvmName("setRequiresHeightmap")
+            set(value) {
+                _builder.setRequiresHeightmap(value)
+            }
+
+        /**
+         * `bool requiresHeightmap = 28;`
+         */
+        public fun clearRequiresHeightmap() {
+            _builder.clearRequiresHeightmap()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.InitialEnvironmentMessageKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage =
+    `com.kyhsgeekcode.minecraftenv.proto`.InitialEnvironmentMessageKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ItemStackKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ItemStackKt.kt
new file mode 100644
index 00000000..ffbcbcb6
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ItemStackKt.kt
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: observation_space.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializeitemStack")
+public inline fun itemStack(
+    block: com.kyhsgeekcode.minecraftenv.proto.ItemStackKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack =
+    com.kyhsgeekcode.minecraftenv.proto.ItemStackKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `ItemStack`
+ */
+public object ItemStackKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder): Dsl = Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack = _builder.build()
+
+        /**
+         * `int32 raw_id = 1;`
+         */
+        public var rawId: kotlin.Int
+            @JvmName("getRawId")
+            get() = _builder.rawId
+
+            @JvmName("setRawId")
+            set(value) {
+                _builder.rawId = value
+            }
+
+        /**
+         * `int32 raw_id = 1;`
+         */
+        public fun clearRawId() {
+            _builder.clearRawId()
+        }
+
+        /**
+         * `string translation_key = 2;`
+         */
+        public var translationKey: kotlin.String
+            @JvmName("getTranslationKey")
+            get() = _builder.translationKey
+
+            @JvmName("setTranslationKey")
+            set(value) {
+                _builder.translationKey = value
+            }
+
+        /**
+         * `string translation_key = 2;`
+         */
+        public fun clearTranslationKey() {
+            _builder.clearTranslationKey()
+        }
+
+        /**
+         * `int32 count = 3;`
+         */
+        public var count: kotlin.Int
+            @JvmName("getCount")
+            get() = _builder.count
+
+            @JvmName("setCount")
+            set(value) {
+                _builder.count = value
+            }
+
+        /**
+         * `int32 count = 3;`
+         */
+        public fun clearCount() {
+            _builder.clearCount()
+        }
+
+        /**
+         * `int32 durability = 4;`
+         */
+        public var durability: kotlin.Int
+            @JvmName("getDurability")
+            get() = _builder.durability
+
+            @JvmName("setDurability")
+            set(value) {
+                _builder.durability = value
+            }
+
+        /**
+         * `int32 durability = 4;`
+         */
+        public fun clearDurability() {
+            _builder.clearDurability()
+        }
+
+        /**
+         * `int32 max_durability = 5;`
+         */
+        public var maxDurability: kotlin.Int
+            @JvmName("getMaxDurability")
+            get() = _builder.maxDurability
+
+            @JvmName("setMaxDurability")
+            set(value) {
+                _builder.maxDurability = value
+            }
+
+        /**
+         * `int32 max_durability = 5;`
+         */
+        public fun clearMaxDurability() {
+            _builder.clearMaxDurability()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.ItemStackKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack =
+    `com.kyhsgeekcode.minecraftenv.proto`.ItemStackKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/NearbyBiomeKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/NearbyBiomeKt.kt
new file mode 100644
index 00000000..46f3dd5e
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/NearbyBiomeKt.kt
@@ -0,0 +1,126 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: observation_space.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializenearbyBiome")
+public inline fun nearbyBiome(
+    block: com.kyhsgeekcode.minecraftenv.proto.NearbyBiomeKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome =
+    com.kyhsgeekcode.minecraftenv.proto.NearbyBiomeKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `NearbyBiome`
+ */
+public object NearbyBiomeKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder): Dsl = Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome = _builder.build()
+
+        /**
+         * `string biome_name = 1;`
+         */
+        public var biomeName: kotlin.String
+            @JvmName("getBiomeName")
+            get() = _builder.biomeName
+
+            @JvmName("setBiomeName")
+            set(value) {
+                _builder.biomeName = value
+            }
+
+        /**
+         * `string biome_name = 1;`
+         */
+        public fun clearBiomeName() {
+            _builder.clearBiomeName()
+        }
+
+        /**
+         * `int32 x = 2;`
+         */
+        public var x: kotlin.Int
+            @JvmName("getX")
+            get() = _builder.x
+
+            @JvmName("setX")
+            set(value) {
+                _builder.x = value
+            }
+
+        /**
+         * `int32 x = 2;`
+         */
+        public fun clearX() {
+            _builder.clearX()
+        }
+
+        /**
+         * `int32 y = 3;`
+         */
+        public var y: kotlin.Int
+            @JvmName("getY")
+            get() = _builder.y
+
+            @JvmName("setY")
+            set(value) {
+                _builder.y = value
+            }
+
+        /**
+         * `int32 y = 3;`
+         */
+        public fun clearY() {
+            _builder.clearY()
+        }
+
+        /**
+         * `int32 z = 4;`
+         */
+        public var z: kotlin.Int
+            @JvmName("getZ")
+            get() = _builder.z
+
+            @JvmName("setZ")
+            set(value) {
+                _builder.z = value
+            }
+
+        /**
+         * `int32 z = 4;`
+         */
+        public fun clearZ() {
+            _builder.clearZ()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.NearbyBiomeKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome =
+    `com.kyhsgeekcode.minecraftenv.proto`.NearbyBiomeKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpace.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java
similarity index 82%
rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpace.java
rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java
index ef9872b8..1be007ad 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpace.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java
@@ -3,7 +3,7 @@
 // source: observation_space.proto
 // Protobuf Java Version: 4.29.1
 
-package com.kyhsgeekcode.minecraft_env.proto;
+package com.kyhsgeekcode.minecraftenv.proto;
 
 public final class ObservationSpace {
   private ObservationSpace() {}
@@ -92,15 +92,15 @@ private ItemStack() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ItemStack_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class);
     }
 
     public static final int RAW_ID_FIELD_NUMBER = 1;
@@ -253,10 +253,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) obj;
 
       if (getRawId()
           != other.getRawId()) return false;
@@ -294,44 +294,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -339,26 +339,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack pa
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -371,7 +371,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack pa
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -392,21 +392,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:ItemStack)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ItemStack_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.newBuilder()
       private Builder() {
 
       }
@@ -431,17 +431,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ItemStack_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -449,14 +449,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack build() {
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.rawId_ = rawId_;
@@ -477,16 +477,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance()) return this;
         if (other.getRawId() != 0) {
           setRawId(other.getRawId());
         }
@@ -776,12 +776,12 @@ public Builder clearMaxDurability() {
     }
 
     // @@protoc_insertion_point(class_scope:ItemStack)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -817,7 +817,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -884,15 +884,15 @@ private BlockInfo() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class);
     }
 
     public static final int X_FIELD_NUMBER = 1;
@@ -1027,10 +1027,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) obj;
 
       if (getX()
           != other.getX()) return false;
@@ -1064,44 +1064,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -1109,26 +1109,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo pa
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -1141,7 +1141,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo pa
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -1162,21 +1162,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:BlockInfo)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.newBuilder()
       private Builder() {
 
       }
@@ -1200,17 +1200,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1218,14 +1218,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo build() {
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.x_ = x_;
@@ -1243,16 +1243,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()) return this;
         if (other.getX() != 0) {
           setX(other.getX());
         }
@@ -1502,12 +1502,12 @@ public Builder setTranslationKeyBytes(
     }
 
     // @@protoc_insertion_point(class_scope:BlockInfo)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -1543,7 +1543,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -1641,15 +1641,15 @@ private EntityInfo() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class);
     }
 
     public static final int UNIQUE_NAME_FIELD_NUMBER = 1;
@@ -1883,10 +1883,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) obj;
 
       if (!getUniqueName()
           .equals(other.getUniqueName())) return false;
@@ -1948,44 +1948,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -1993,26 +1993,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo p
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -2025,7 +2025,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo p
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -2046,21 +2046,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:EntityInfo)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.newBuilder()
       private Builder() {
 
       }
@@ -2088,17 +2088,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2106,14 +2106,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo build()
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.uniqueName_ = uniqueName_;
@@ -2143,16 +2143,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()) return this;
         if (!other.getUniqueName().isEmpty()) {
           uniqueName_ = other.uniqueName_;
           bitField0_ |= 0x00000001;
@@ -2604,12 +2604,12 @@ public Builder clearHealth() {
     }
 
     // @@protoc_insertion_point(class_scope:EntityInfo)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -2645,7 +2645,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -2664,7 +2664,7 @@ public interface HitResultOrBuilder extends
      * .HitResult.Type type = 1;
      * @return The type.
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type getType();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType();
 
     /**
      * .BlockInfo target_block = 2;
@@ -2675,11 +2675,11 @@ public interface HitResultOrBuilder extends
      * .BlockInfo target_block = 2;
      * @return The targetBlock.
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getTargetBlock();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock();
     /**
      * .BlockInfo target_block = 2;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder();
 
     /**
      * .EntityInfo target_entity = 3;
@@ -2690,11 +2690,11 @@ public interface HitResultOrBuilder extends
      * .EntityInfo target_entity = 3;
      * @return The targetEntity.
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getTargetEntity();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity();
     /**
      * .EntityInfo target_entity = 3;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder();
   }
   /**
    * Protobuf type {@code HitResult}
@@ -2723,15 +2723,15 @@ private HitResult() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HitResult_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class);
     }
 
     /**
@@ -2834,7 +2834,7 @@ public Type findValueByNumber(int number) {
       }
       public static final com.google.protobuf.Descriptors.EnumDescriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDescriptor().getEnumTypes().get(0);
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Type[] VALUES = values();
@@ -2874,13 +2874,13 @@ private Type(int value) {
      * .HitResult.Type type = 1;
      * @return The type.
      */
-    @java.lang.Override public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type getType() {
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.forNumber(type_);
-      return result == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result;
+    @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType() {
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_);
+      return result == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result;
     }
 
     public static final int TARGET_BLOCK_FIELD_NUMBER = 2;
-    private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo targetBlock_;
+    private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo targetBlock_;
     /**
      * .BlockInfo target_block = 2;
      * @return Whether the targetBlock field is set.
@@ -2894,19 +2894,19 @@ public boolean hasTargetBlock() {
      * @return The targetBlock.
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getTargetBlock() {
-      return targetBlock_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock() {
+      return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
     }
     /**
      * .BlockInfo target_block = 2;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() {
-      return targetBlock_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() {
+      return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
     }
 
     public static final int TARGET_ENTITY_FIELD_NUMBER = 3;
-    private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo targetEntity_;
+    private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo targetEntity_;
     /**
      * .EntityInfo target_entity = 3;
      * @return Whether the targetEntity field is set.
@@ -2920,15 +2920,15 @@ public boolean hasTargetEntity() {
      * @return The targetEntity.
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getTargetEntity() {
-      return targetEntity_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity() {
+      return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
     }
     /**
      * .EntityInfo target_entity = 3;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() {
-      return targetEntity_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() {
+      return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
     }
 
     private byte memoizedIsInitialized = -1;
@@ -2945,7 +2945,7 @@ public final boolean isInitialized() {
     @java.lang.Override
     public void writeTo(com.google.protobuf.CodedOutputStream output)
                         throws java.io.IOException {
-      if (type_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) {
+      if (type_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) {
         output.writeEnum(1, type_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -2963,7 +2963,7 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) {
+      if (type_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) {
         size += com.google.protobuf.CodedOutputStream
           .computeEnumSize(1, type_);
       }
@@ -2985,10 +2985,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) obj;
 
       if (type_ != other.type_) return false;
       if (hasTargetBlock() != other.hasTargetBlock()) return false;
@@ -3027,44 +3027,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -3072,26 +3072,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult pa
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -3104,7 +3104,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult pa
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -3125,21 +3125,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:HitResult)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HitResult_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
@@ -3177,17 +3177,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HitResult_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -3195,14 +3195,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult build() {
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.type_ = type_;
@@ -3225,16 +3225,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -3330,16 +3330,16 @@ public Builder setTypeValue(int value) {
        * @return The type.
        */
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type getType() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.forNumber(type_);
-        return result == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result;
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_);
+        return result == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result;
       }
       /**
        * .HitResult.Type type = 1;
        * @param value The type to set.
        * @return This builder for chaining.
        */
-      public Builder setType(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Type value) {
+      public Builder setType(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type value) {
         if (value == null) {
           throw new NullPointerException();
         }
@@ -3359,9 +3359,9 @@ public Builder clearType() {
         return this;
       }
 
-      private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo targetBlock_;
+      private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo targetBlock_;
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder> targetBlockBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> targetBlockBuilder_;
       /**
        * .BlockInfo target_block = 2;
        * @return Whether the targetBlock field is set.
@@ -3373,9 +3373,9 @@ public boolean hasTargetBlock() {
        * .BlockInfo target_block = 2;
        * @return The targetBlock.
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getTargetBlock() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock() {
         if (targetBlockBuilder_ == null) {
-          return targetBlock_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
+          return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
         } else {
           return targetBlockBuilder_.getMessage();
         }
@@ -3383,7 +3383,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getTarget
       /**
        * .BlockInfo target_block = 2;
        */
-      public Builder setTargetBlock(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo value) {
+      public Builder setTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) {
         if (targetBlockBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3400,7 +3400,7 @@ public Builder setTargetBlock(com.kyhsgeekcode.minecraft_env.proto.ObservationSp
        * .BlockInfo target_block = 2;
        */
       public Builder setTargetBlock(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
         if (targetBlockBuilder_ == null) {
           targetBlock_ = builderForValue.build();
         } else {
@@ -3413,11 +3413,11 @@ public Builder setTargetBlock(
       /**
        * .BlockInfo target_block = 2;
        */
-      public Builder mergeTargetBlock(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo value) {
+      public Builder mergeTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) {
         if (targetBlockBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0) &&
             targetBlock_ != null &&
-            targetBlock_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance()) {
+            targetBlock_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()) {
             getTargetBlockBuilder().mergeFrom(value);
           } else {
             targetBlock_ = value;
@@ -3447,7 +3447,7 @@ public Builder clearTargetBlock() {
       /**
        * .BlockInfo target_block = 2;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder getTargetBlockBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder getTargetBlockBuilder() {
         bitField0_ |= 0x00000002;
         onChanged();
         return getTargetBlockFieldBuilder().getBuilder();
@@ -3455,23 +3455,23 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder g
       /**
        * .BlockInfo target_block = 2;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() {
         if (targetBlockBuilder_ != null) {
           return targetBlockBuilder_.getMessageOrBuilder();
         } else {
           return targetBlock_ == null ?
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_;
         }
       }
       /**
        * .BlockInfo target_block = 2;
        */
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> 
           getTargetBlockFieldBuilder() {
         if (targetBlockBuilder_ == null) {
           targetBlockBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>(
                   getTargetBlock(),
                   getParentForChildren(),
                   isClean());
@@ -3480,9 +3480,9 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder
         return targetBlockBuilder_;
       }
 
-      private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo targetEntity_;
+      private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo targetEntity_;
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> targetEntityBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> targetEntityBuilder_;
       /**
        * .EntityInfo target_entity = 3;
        * @return Whether the targetEntity field is set.
@@ -3494,9 +3494,9 @@ public boolean hasTargetEntity() {
        * .EntityInfo target_entity = 3;
        * @return The targetEntity.
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getTargetEntity() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity() {
         if (targetEntityBuilder_ == null) {
-          return targetEntity_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
+          return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
         } else {
           return targetEntityBuilder_.getMessage();
         }
@@ -3504,7 +3504,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getTarge
       /**
        * .EntityInfo target_entity = 3;
        */
-      public Builder setTargetEntity(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+      public Builder setTargetEntity(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (targetEntityBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3521,7 +3521,7 @@ public Builder setTargetEntity(com.kyhsgeekcode.minecraft_env.proto.ObservationS
        * .EntityInfo target_entity = 3;
        */
       public Builder setTargetEntity(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (targetEntityBuilder_ == null) {
           targetEntity_ = builderForValue.build();
         } else {
@@ -3534,11 +3534,11 @@ public Builder setTargetEntity(
       /**
        * .EntityInfo target_entity = 3;
        */
-      public Builder mergeTargetEntity(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+      public Builder mergeTargetEntity(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (targetEntityBuilder_ == null) {
           if (((bitField0_ & 0x00000004) != 0) &&
             targetEntity_ != null &&
-            targetEntity_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance()) {
+            targetEntity_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()) {
             getTargetEntityBuilder().mergeFrom(value);
           } else {
             targetEntity_ = value;
@@ -3568,7 +3568,7 @@ public Builder clearTargetEntity() {
       /**
        * .EntityInfo target_entity = 3;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder getTargetEntityBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getTargetEntityBuilder() {
         bitField0_ |= 0x00000004;
         onChanged();
         return getTargetEntityFieldBuilder().getBuilder();
@@ -3576,23 +3576,23 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder
       /**
        * .EntityInfo target_entity = 3;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() {
         if (targetEntityBuilder_ != null) {
           return targetEntityBuilder_.getMessageOrBuilder();
         } else {
           return targetEntity_ == null ?
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_;
         }
       }
       /**
        * .EntityInfo target_entity = 3;
        */
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> 
           getTargetEntityFieldBuilder() {
         if (targetEntityBuilder_ == null) {
           targetEntityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>(
                   getTargetEntity(),
                   getParentForChildren(),
                   isClean());
@@ -3605,12 +3605,12 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
     }
 
     // @@protoc_insertion_point(class_scope:HitResult)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -3646,7 +3646,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -3707,15 +3707,15 @@ private StatusEffect() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class);
     }
 
     public static final int TRANSLATION_KEY_FIELD_NUMBER = 1;
@@ -3832,10 +3832,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) obj;
 
       if (!getTranslationKey()
           .equals(other.getTranslationKey())) return false;
@@ -3865,44 +3865,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -3910,26 +3910,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -3942,7 +3942,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -3963,21 +3963,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:StatusEffect)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.newBuilder()
       private Builder() {
 
       }
@@ -4000,17 +4000,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4018,14 +4018,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect build(
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.translationKey_ = translationKey_;
@@ -4040,16 +4040,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance()) return this;
         if (!other.getTranslationKey().isEmpty()) {
           translationKey_ = other.translationKey_;
           bitField0_ |= 0x00000001;
@@ -4259,12 +4259,12 @@ public Builder clearAmplifier() {
     }
 
     // @@protoc_insertion_point(class_scope:StatusEffect)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -4300,7 +4300,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -4373,15 +4373,15 @@ private SoundEntry() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class);
     }
 
     public static final int TRANSLATE_KEY_FIELD_NUMBER = 1;
@@ -4534,10 +4534,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) obj;
 
       if (!getTranslateKey()
           .equals(other.getTranslateKey())) return false;
@@ -4582,44 +4582,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -4627,26 +4627,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry p
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -4659,7 +4659,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry p
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -4680,21 +4680,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:SoundEntry)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.newBuilder()
       private Builder() {
 
       }
@@ -4719,17 +4719,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4737,14 +4737,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry build()
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.translateKey_ = translateKey_;
@@ -4765,16 +4765,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance()) return this;
         if (!other.getTranslateKey().isEmpty()) {
           translateKey_ = other.translateKey_;
           bitField0_ |= 0x00000001;
@@ -5064,12 +5064,12 @@ public Builder clearZ() {
     }
 
     // @@protoc_insertion_point(class_scope:SoundEntry)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -5105,7 +5105,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -5118,12 +5118,12 @@ public interface EntitiesWithinDistanceOrBuilder extends
     /**
      * repeated .EntityInfo entities = 1;
      */
-    java.util.List 
+    java.util.List 
         getEntitiesList();
     /**
      * repeated .EntityInfo entities = 1;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getEntities(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index);
     /**
      * repeated .EntityInfo entities = 1;
      */
@@ -5131,12 +5131,12 @@ public interface EntitiesWithinDistanceOrBuilder extends
     /**
      * repeated .EntityInfo entities = 1;
      */
-    java.util.List 
+    java.util.List 
         getEntitiesOrBuilderList();
     /**
      * repeated .EntityInfo entities = 1;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
         int index);
   }
   /**
@@ -5166,32 +5166,32 @@ private EntitiesWithinDistance() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder.class);
     }
 
     public static final int ENTITIES_FIELD_NUMBER = 1;
     @SuppressWarnings("serial")
-    private java.util.List entities_;
+    private java.util.List entities_;
     /**
      * repeated .EntityInfo entities = 1;
      */
     @java.lang.Override
-    public java.util.List getEntitiesList() {
+    public java.util.List getEntitiesList() {
       return entities_;
     }
     /**
      * repeated .EntityInfo entities = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getEntitiesOrBuilderList() {
       return entities_;
     }
@@ -5206,14 +5206,14 @@ public int getEntitiesCount() {
      * repeated .EntityInfo entities = 1;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getEntities(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index) {
       return entities_.get(index);
     }
     /**
      * repeated .EntityInfo entities = 1;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
         int index) {
       return entities_.get(index);
     }
@@ -5258,10 +5258,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) obj;
 
       if (!getEntitiesList()
           .equals(other.getEntitiesList())) return false;
@@ -5285,44 +5285,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -5330,26 +5330,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWith
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -5362,7 +5362,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWith
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -5383,21 +5383,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:EntitiesWithinDistance)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.newBuilder()
       private Builder() {
 
       }
@@ -5424,17 +5424,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5442,15 +5442,15 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDista
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance(this);
         buildPartialRepeatedFields(result);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance result) {
+      private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) {
         if (entitiesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             entities_ = java.util.Collections.unmodifiableList(entities_);
@@ -5462,22 +5462,22 @@ private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraft_env.proto.Obs
         }
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) {
         int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance()) return this;
         if (entitiesBuilder_ == null) {
           if (!other.entities_.isEmpty()) {
             if (entities_.isEmpty()) {
@@ -5531,9 +5531,9 @@ public Builder mergeFrom(
                 done = true;
                 break;
               case 10: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(),
                         extensionRegistry);
                 if (entitiesBuilder_ == null) {
                   ensureEntitiesIsMutable();
@@ -5560,22 +5560,22 @@ public Builder mergeFrom(
       }
       private int bitField0_;
 
-      private java.util.List entities_ =
+      private java.util.List entities_ =
         java.util.Collections.emptyList();
       private void ensureEntitiesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          entities_ = new java.util.ArrayList(entities_);
+          entities_ = new java.util.ArrayList(entities_);
           bitField0_ |= 0x00000001;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> entitiesBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> entitiesBuilder_;
 
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public java.util.List getEntitiesList() {
+      public java.util.List getEntitiesList() {
         if (entitiesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(entities_);
         } else {
@@ -5595,7 +5595,7 @@ public int getEntitiesCount() {
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getEntities(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index) {
         if (entitiesBuilder_ == null) {
           return entities_.get(index);
         } else {
@@ -5606,7 +5606,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getEntit
        * repeated .EntityInfo entities = 1;
        */
       public Builder setEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (entitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5623,7 +5623,7 @@ public Builder setEntities(
        * repeated .EntityInfo entities = 1;
        */
       public Builder setEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (entitiesBuilder_ == null) {
           ensureEntitiesIsMutable();
           entities_.set(index, builderForValue.build());
@@ -5636,7 +5636,7 @@ public Builder setEntities(
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public Builder addEntities(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+      public Builder addEntities(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (entitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5653,7 +5653,7 @@ public Builder addEntities(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
        * repeated .EntityInfo entities = 1;
        */
       public Builder addEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (entitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5670,7 +5670,7 @@ public Builder addEntities(
        * repeated .EntityInfo entities = 1;
        */
       public Builder addEntities(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (entitiesBuilder_ == null) {
           ensureEntitiesIsMutable();
           entities_.add(builderForValue.build());
@@ -5684,7 +5684,7 @@ public Builder addEntities(
        * repeated .EntityInfo entities = 1;
        */
       public Builder addEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (entitiesBuilder_ == null) {
           ensureEntitiesIsMutable();
           entities_.add(index, builderForValue.build());
@@ -5698,7 +5698,7 @@ public Builder addEntities(
        * repeated .EntityInfo entities = 1;
        */
       public Builder addAllEntities(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (entitiesBuilder_ == null) {
           ensureEntitiesIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -5738,14 +5738,14 @@ public Builder removeEntities(int index) {
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder getEntitiesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getEntitiesBuilder(
           int index) {
         return getEntitiesFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder(
           int index) {
         if (entitiesBuilder_ == null) {
           return entities_.get(index);  } else {
@@ -5755,7 +5755,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public java.util.List 
+      public java.util.List 
            getEntitiesOrBuilderList() {
         if (entitiesBuilder_ != null) {
           return entitiesBuilder_.getMessageOrBuilderList();
@@ -5766,31 +5766,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder() {
         return getEntitiesFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance());
       }
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder(
           int index) {
         return getEntitiesFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance());
       }
       /**
        * repeated .EntityInfo entities = 1;
        */
-      public java.util.List 
+      public java.util.List 
            getEntitiesBuilderList() {
         return getEntitiesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> 
           getEntitiesFieldBuilder() {
         if (entitiesBuilder_ == null) {
           entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>(
                   entities_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -5804,12 +5804,12 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder
     }
 
     // @@protoc_insertion_point(class_scope:EntitiesWithinDistance)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -5845,7 +5845,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -5921,15 +5921,15 @@ private ChatMessageInfo() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class);
     }
 
     public static final int ADDED_TIME_FIELD_NUMBER = 1;
@@ -6081,10 +6081,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) obj;
 
       if (getAddedTime()
           != other.getAddedTime()) return false;
@@ -6115,44 +6115,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -6160,26 +6160,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageI
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -6192,7 +6192,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageI
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -6213,21 +6213,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:ChatMessageInfo)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.newBuilder()
       private Builder() {
 
       }
@@ -6250,17 +6250,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -6268,14 +6268,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo bui
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.addedTime_ = addedTime_;
@@ -6290,16 +6290,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance()) return this;
         if (other.getAddedTime() != 0L) {
           setAddedTime(other.getAddedTime());
         }
@@ -6571,12 +6571,12 @@ public Builder setIndicatorBytes(
     }
 
     // @@protoc_insertion_point(class_scope:ChatMessageInfo)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -6612,7 +6612,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -6699,15 +6699,15 @@ private BiomeInfo() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class);
     }
 
     public static final int BIOME_NAME_FIELD_NUMBER = 1;
@@ -6862,10 +6862,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) obj;
 
       if (!getBiomeName()
           .equals(other.getBiomeName())) return false;
@@ -6899,44 +6899,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -6944,26 +6944,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo pa
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -6976,7 +6976,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo pa
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -6997,21 +6997,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:BiomeInfo)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.newBuilder()
       private Builder() {
 
       }
@@ -7035,17 +7035,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -7053,14 +7053,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo build() {
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.biomeName_ = biomeName_;
@@ -7078,16 +7078,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) return this;
         if (!other.getBiomeName().isEmpty()) {
           biomeName_ = other.biomeName_;
           bitField0_ |= 0x00000001;
@@ -7393,12 +7393,12 @@ public Builder clearCenterZ() {
     }
 
     // @@protoc_insertion_point(class_scope:BiomeInfo)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -7434,7 +7434,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -7501,15 +7501,15 @@ private NearbyBiome() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class);
     }
 
     public static final int BIOME_NAME_FIELD_NUMBER = 1;
@@ -7644,10 +7644,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) obj;
 
       if (!getBiomeName()
           .equals(other.getBiomeName())) return false;
@@ -7681,44 +7681,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -7726,26 +7726,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -7758,7 +7758,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -7779,21 +7779,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:NearbyBiome)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.newBuilder()
       private Builder() {
 
       }
@@ -7817,17 +7817,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -7835,14 +7835,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome build()
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.biomeName_ = biomeName_;
@@ -7860,16 +7860,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance()) return this;
         if (!other.getBiomeName().isEmpty()) {
           biomeName_ = other.biomeName_;
           bitField0_ |= 0x00000001;
@@ -8119,12 +8119,12 @@ public Builder clearZ() {
     }
 
     // @@protoc_insertion_point(class_scope:NearbyBiome)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -8160,7 +8160,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -8227,15 +8227,15 @@ private HeightInfo() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class);
     }
 
     public static final int X_FIELD_NUMBER = 1;
@@ -8370,10 +8370,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) obj;
 
       if (getX()
           != other.getX()) return false;
@@ -8407,44 +8407,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -8452,26 +8452,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo p
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -8484,7 +8484,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo p
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -8505,21 +8505,21 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:HeightInfo)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.newBuilder()
       private Builder() {
 
       }
@@ -8543,17 +8543,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -8561,14 +8561,14 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo build()
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo(this);
         if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.x_ = x_;
@@ -8586,16 +8586,16 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance()) return this;
         if (other.getX() != 0) {
           setX(other.getX());
         }
@@ -8845,12 +8845,12 @@ public Builder setBlockNameBytes(
     }
 
     // @@protoc_insertion_point(class_scope:HeightInfo)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -8886,7 +8886,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -8959,12 +8959,12 @@ public interface ObservationSpaceMessageOrBuilder extends
     /**
      * repeated .ItemStack inventory = 11;
      */
-    java.util.List 
+    java.util.List 
         getInventoryList();
     /**
      * repeated .ItemStack inventory = 11;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getInventory(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index);
     /**
      * repeated .ItemStack inventory = 11;
      */
@@ -8972,12 +8972,12 @@ public interface ObservationSpaceMessageOrBuilder extends
     /**
      * repeated .ItemStack inventory = 11;
      */
-    java.util.List 
+    java.util.List 
         getInventoryOrBuilderList();
     /**
      * repeated .ItemStack inventory = 11;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
         int index);
 
     /**
@@ -8989,21 +8989,21 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder getInve
      * .HitResult raycast_result = 12;
      * @return The raycastResult.
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getRaycastResult();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult();
     /**
      * .HitResult raycast_result = 12;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder();
 
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
-    java.util.List 
+    java.util.List 
         getSoundSubtitlesList();
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index);
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
@@ -9011,23 +9011,23 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder getInve
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
-    java.util.List 
+    java.util.List 
         getSoundSubtitlesOrBuilderList();
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
         int index);
 
     /**
      * repeated .StatusEffect status_effects = 14;
      */
-    java.util.List 
+    java.util.List 
         getStatusEffectsList();
     /**
      * repeated .StatusEffect status_effects = 14;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getStatusEffects(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index);
     /**
      * repeated .StatusEffect status_effects = 14;
      */
@@ -9035,12 +9035,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder getSou
     /**
      * repeated .StatusEffect status_effects = 14;
      */
-    java.util.List 
+    java.util.List 
         getStatusEffectsOrBuilderList();
     /**
      * repeated .StatusEffect status_effects = 14;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
         int index);
 
     /**
@@ -9142,12 +9142,12 @@ int getMiscStatisticsOrThrow(
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
-    java.util.List 
+    java.util.List 
         getVisibleEntitiesList();
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getVisibleEntities(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index);
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
@@ -9155,12 +9155,12 @@ int getMiscStatisticsOrThrow(
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
-    java.util.List 
+    java.util.List 
         getVisibleEntitiesOrBuilderList();
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
         int index);
 
     /**
@@ -9176,25 +9176,25 @@ boolean containsSurroundingEntities(
      * Use {@link #getSurroundingEntitiesMap()} instead.
      */
     @java.lang.Deprecated
-    java.util.Map
+    java.util.Map
     getSurroundingEntities();
     /**
      * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
      */
-    java.util.Map
+    java.util.Map
     getSurroundingEntitiesMap();
     /**
      * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
      */
     /* nullable */
-com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrDefault(
+com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrDefault(
         int key,
         /* nullable */
-com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance defaultValue);
+com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance defaultValue);
     /**
      * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
         int key);
 
     /**
@@ -9240,7 +9240,7 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance get
      *
      * repeated .BlockInfo surrounding_blocks = 25;
      */
-    java.util.List 
+    java.util.List 
         getSurroundingBlocksList();
     /**
      * 
@@ -9249,7 +9249,7 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance get
      *
      * repeated .BlockInfo surrounding_blocks = 25;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index);
     /**
      * 
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
@@ -9265,7 +9265,7 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance get
      *
      * repeated .BlockInfo surrounding_blocks = 25;
      */
-    java.util.List 
+    java.util.List 
         getSurroundingBlocksOrBuilderList();
     /**
      * 
@@ -9274,7 +9274,7 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance get
      *
      * repeated .BlockInfo surrounding_blocks = 25;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
         int index);
 
     /**
@@ -9292,12 +9292,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getSurr
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
-    java.util.List 
+    java.util.List 
         getChatMessagesList();
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index);
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
@@ -9305,12 +9305,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getSurr
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
-    java.util.List 
+    java.util.List 
         getChatMessagesOrBuilderList();
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
         int index);
 
     /**
@@ -9322,21 +9322,21 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder g
      * .BiomeInfo biome_info = 29;
      * @return The biomeInfo.
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getBiomeInfo();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo();
     /**
      * .BiomeInfo biome_info = 29;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder();
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder();
 
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
-    java.util.List 
+    java.util.List 
         getNearbyBiomesList();
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index);
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
@@ -9344,12 +9344,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder g
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
-    java.util.List 
+    java.util.List 
         getNearbyBiomesOrBuilderList();
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
         int index);
 
     /**
@@ -9373,12 +9373,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder getNe
     /**
      * repeated .HeightInfo height_info = 34;
      */
-    java.util.List 
+    java.util.List 
         getHeightInfoList();
     /**
      * repeated .HeightInfo height_info = 34;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getHeightInfo(int index);
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index);
     /**
      * repeated .HeightInfo height_info = 34;
      */
@@ -9386,12 +9386,12 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder getNe
     /**
      * repeated .HeightInfo height_info = 34;
      */
-    java.util.List 
+    java.util.List 
         getHeightInfoOrBuilderList();
     /**
      * repeated .HeightInfo height_info = 34;
      */
-    com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
         int index);
 
     /**
@@ -9450,7 +9450,7 @@ private ObservationSpaceMessage() {
 
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -9474,9 +9474,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable
+      return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.Builder.class);
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder.class);
     }
 
     private int bitField0_;
@@ -9592,19 +9592,19 @@ public boolean getIsDead() {
 
     public static final int INVENTORY_FIELD_NUMBER = 11;
     @SuppressWarnings("serial")
-    private java.util.List inventory_;
+    private java.util.List inventory_;
     /**
      * repeated .ItemStack inventory = 11;
      */
     @java.lang.Override
-    public java.util.List getInventoryList() {
+    public java.util.List getInventoryList() {
       return inventory_;
     }
     /**
      * repeated .ItemStack inventory = 11;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getInventoryOrBuilderList() {
       return inventory_;
     }
@@ -9619,20 +9619,20 @@ public int getInventoryCount() {
      * repeated .ItemStack inventory = 11;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getInventory(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index) {
       return inventory_.get(index);
     }
     /**
      * repeated .ItemStack inventory = 11;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
         int index) {
       return inventory_.get(index);
     }
 
     public static final int RAYCAST_RESULT_FIELD_NUMBER = 12;
-    private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult raycastResult_;
+    private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult raycastResult_;
     /**
      * .HitResult raycast_result = 12;
      * @return Whether the raycastResult field is set.
@@ -9646,32 +9646,32 @@ public boolean hasRaycastResult() {
      * @return The raycastResult.
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getRaycastResult() {
-      return raycastResult_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult() {
+      return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
     }
     /**
      * .HitResult raycast_result = 12;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() {
-      return raycastResult_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() {
+      return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
     }
 
     public static final int SOUND_SUBTITLES_FIELD_NUMBER = 13;
     @SuppressWarnings("serial")
-    private java.util.List soundSubtitles_;
+    private java.util.List soundSubtitles_;
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
     @java.lang.Override
-    public java.util.List getSoundSubtitlesList() {
+    public java.util.List getSoundSubtitlesList() {
       return soundSubtitles_;
     }
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getSoundSubtitlesOrBuilderList() {
       return soundSubtitles_;
     }
@@ -9686,33 +9686,33 @@ public int getSoundSubtitlesCount() {
      * repeated .SoundEntry sound_subtitles = 13;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) {
       return soundSubtitles_.get(index);
     }
     /**
      * repeated .SoundEntry sound_subtitles = 13;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
         int index) {
       return soundSubtitles_.get(index);
     }
 
     public static final int STATUS_EFFECTS_FIELD_NUMBER = 14;
     @SuppressWarnings("serial")
-    private java.util.List statusEffects_;
+    private java.util.List statusEffects_;
     /**
      * repeated .StatusEffect status_effects = 14;
      */
     @java.lang.Override
-    public java.util.List getStatusEffectsList() {
+    public java.util.List getStatusEffectsList() {
       return statusEffects_;
     }
     /**
      * repeated .StatusEffect status_effects = 14;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getStatusEffectsOrBuilderList() {
       return statusEffects_;
     }
@@ -9727,14 +9727,14 @@ public int getStatusEffectsCount() {
      * repeated .StatusEffect status_effects = 14;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getStatusEffects(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index) {
       return statusEffects_.get(index);
     }
     /**
      * repeated .StatusEffect status_effects = 14;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
         int index) {
       return statusEffects_.get(index);
     }
@@ -9745,7 +9745,7 @@ private static final class KilledStatisticsDefaultEntryHolder {
           java.lang.String, java.lang.Integer> defaultEntry =
               com.google.protobuf.MapEntry
               .newDefaultInstance(
-                  com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, 
+                  com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, 
                   com.google.protobuf.WireFormat.FieldType.STRING,
                   "",
                   com.google.protobuf.WireFormat.FieldType.INT32,
@@ -9822,7 +9822,7 @@ private static final class MinedStatisticsDefaultEntryHolder {
           java.lang.String, java.lang.Integer> defaultEntry =
               com.google.protobuf.MapEntry
               .newDefaultInstance(
-                  com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, 
+                  com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, 
                   com.google.protobuf.WireFormat.FieldType.STRING,
                   "",
                   com.google.protobuf.WireFormat.FieldType.INT32,
@@ -9899,7 +9899,7 @@ private static final class MiscStatisticsDefaultEntryHolder {
           java.lang.String, java.lang.Integer> defaultEntry =
               com.google.protobuf.MapEntry
               .newDefaultInstance(
-                  com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, 
+                  com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, 
                   com.google.protobuf.WireFormat.FieldType.STRING,
                   "",
                   com.google.protobuf.WireFormat.FieldType.INT32,
@@ -9972,19 +9972,19 @@ public int getMiscStatisticsOrThrow(
 
     public static final int VISIBLE_ENTITIES_FIELD_NUMBER = 18;
     @SuppressWarnings("serial")
-    private java.util.List visibleEntities_;
+    private java.util.List visibleEntities_;
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
     @java.lang.Override
-    public java.util.List getVisibleEntitiesList() {
+    public java.util.List getVisibleEntitiesList() {
       return visibleEntities_;
     }
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getVisibleEntitiesOrBuilderList() {
       return visibleEntities_;
     }
@@ -9999,14 +9999,14 @@ public int getVisibleEntitiesCount() {
      * repeated .EntityInfo visible_entities = 18;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) {
       return visibleEntities_.get(index);
     }
     /**
      * repeated .EntityInfo visible_entities = 18;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
         int index) {
       return visibleEntities_.get(index);
     }
@@ -10014,19 +10014,19 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
     public static final int SURROUNDING_ENTITIES_FIELD_NUMBER = 19;
     private static final class SurroundingEntitiesDefaultEntryHolder {
       static final com.google.protobuf.MapEntry<
-          java.lang.Integer, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance> defaultEntry =
+          java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> defaultEntry =
               com.google.protobuf.MapEntry
-              .newDefaultInstance(
-                  com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, 
+              .newDefaultInstance(
+                  com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, 
                   com.google.protobuf.WireFormat.FieldType.INT32,
                   0,
                   com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                  com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance());
+                  com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance());
     }
     @SuppressWarnings("serial")
     private com.google.protobuf.MapField<
-        java.lang.Integer, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance> surroundingEntities_;
-    private com.google.protobuf.MapField
+        java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> surroundingEntities_;
+    private com.google.protobuf.MapField
     internalGetSurroundingEntities() {
       if (surroundingEntities_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
@@ -10051,14 +10051,14 @@ public boolean containsSurroundingEntities(
      */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map getSurroundingEntities() {
+    public java.util.Map getSurroundingEntities() {
       return getSurroundingEntitiesMap();
     }
     /**
      * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
      */
     @java.lang.Override
-    public java.util.Map getSurroundingEntitiesMap() {
+    public java.util.Map getSurroundingEntitiesMap() {
       return internalGetSurroundingEntities().getMap();
     }
     /**
@@ -10066,12 +10066,12 @@ public java.util.Map map =
+      java.util.Map map =
           internalGetSurroundingEntities().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
@@ -10079,10 +10079,10 @@ com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance get
      * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
         int key) {
 
-      java.util.Map map =
+      java.util.Map map =
           internalGetSurroundingEntities().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
@@ -10175,7 +10175,7 @@ public com.google.protobuf.ByteString getImage2() {
 
     public static final int SURROUNDING_BLOCKS_FIELD_NUMBER = 25;
     @SuppressWarnings("serial")
-    private java.util.List surroundingBlocks_;
+    private java.util.List surroundingBlocks_;
     /**
      * 
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
@@ -10184,7 +10184,7 @@ public com.google.protobuf.ByteString getImage2() {
      * repeated .BlockInfo surrounding_blocks = 25;
      */
     @java.lang.Override
-    public java.util.List getSurroundingBlocksList() {
+    public java.util.List getSurroundingBlocksList() {
       return surroundingBlocks_;
     }
     /**
@@ -10195,7 +10195,7 @@ public java.util.Listrepeated .BlockInfo surrounding_blocks = 25;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getSurroundingBlocksOrBuilderList() {
       return surroundingBlocks_;
     }
@@ -10218,7 +10218,7 @@ public int getSurroundingBlocksCount() {
      * repeated .BlockInfo surrounding_blocks = 25;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) {
       return surroundingBlocks_.get(index);
     }
     /**
@@ -10229,7 +10229,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getSurrou
      * repeated .BlockInfo surrounding_blocks = 25;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
         int index) {
       return surroundingBlocks_.get(index);
     }
@@ -10258,19 +10258,19 @@ public boolean getSuffocating() {
 
     public static final int CHAT_MESSAGES_FIELD_NUMBER = 28;
     @SuppressWarnings("serial")
-    private java.util.List chatMessages_;
+    private java.util.List chatMessages_;
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
     @java.lang.Override
-    public java.util.List getChatMessagesList() {
+    public java.util.List getChatMessagesList() {
       return chatMessages_;
     }
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getChatMessagesOrBuilderList() {
       return chatMessages_;
     }
@@ -10285,20 +10285,20 @@ public int getChatMessagesCount() {
      * repeated .ChatMessageInfo chat_messages = 28;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) {
       return chatMessages_.get(index);
     }
     /**
      * repeated .ChatMessageInfo chat_messages = 28;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
         int index) {
       return chatMessages_.get(index);
     }
 
     public static final int BIOME_INFO_FIELD_NUMBER = 29;
-    private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo biomeInfo_;
+    private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo biomeInfo_;
     /**
      * .BiomeInfo biome_info = 29;
      * @return Whether the biomeInfo field is set.
@@ -10312,32 +10312,32 @@ public boolean hasBiomeInfo() {
      * @return The biomeInfo.
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getBiomeInfo() {
-      return biomeInfo_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo() {
+      return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
     }
     /**
      * .BiomeInfo biome_info = 29;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() {
-      return biomeInfo_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() {
+      return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
     }
 
     public static final int NEARBY_BIOMES_FIELD_NUMBER = 30;
     @SuppressWarnings("serial")
-    private java.util.List nearbyBiomes_;
+    private java.util.List nearbyBiomes_;
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
     @java.lang.Override
-    public java.util.List getNearbyBiomesList() {
+    public java.util.List getNearbyBiomesList() {
       return nearbyBiomes_;
     }
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getNearbyBiomesOrBuilderList() {
       return nearbyBiomes_;
     }
@@ -10352,14 +10352,14 @@ public int getNearbyBiomesCount() {
      * repeated .NearbyBiome nearby_biomes = 30;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) {
       return nearbyBiomes_.get(index);
     }
     /**
      * repeated .NearbyBiome nearby_biomes = 30;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
         int index) {
       return nearbyBiomes_.get(index);
     }
@@ -10399,19 +10399,19 @@ public boolean getSubmergedInLava() {
 
     public static final int HEIGHT_INFO_FIELD_NUMBER = 34;
     @SuppressWarnings("serial")
-    private java.util.List heightInfo_;
+    private java.util.List heightInfo_;
     /**
      * repeated .HeightInfo height_info = 34;
      */
     @java.lang.Override
-    public java.util.List getHeightInfoList() {
+    public java.util.List getHeightInfoList() {
       return heightInfo_;
     }
     /**
      * repeated .HeightInfo height_info = 34;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List 
         getHeightInfoOrBuilderList() {
       return heightInfo_;
     }
@@ -10426,14 +10426,14 @@ public int getHeightInfoCount() {
      * repeated .HeightInfo height_info = 34;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getHeightInfo(int index) {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index) {
       return heightInfo_.get(index);
     }
     /**
      * repeated .HeightInfo height_info = 34;
      */
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
         int index) {
       return heightInfo_.get(index);
     }
@@ -10707,9 +10707,9 @@ public int getSerializedSize() {
         size += com.google.protobuf.CodedOutputStream
           .computeMessageSize(18, visibleEntities_.get(i));
       }
-      for (java.util.Map.Entry entry
+      for (java.util.Map.Entry entry
            : internalGetSurroundingEntities().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
+        com.google.protobuf.MapEntry
         surroundingEntities__ = SurroundingEntitiesDefaultEntryHolder.defaultEntry.newBuilderForType()
             .setKey(entry.getKey())
             .setValue(entry.getValue())
@@ -10798,10 +10798,10 @@ public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
        return true;
       }
-      if (!(obj instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage)) {
+      if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage)) {
         return super.equals(obj);
       }
-      com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage other = (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage) obj;
+      com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) obj;
 
       if (!getImage()
           .equals(other.getImage())) return false;
@@ -11027,44 +11027,44 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(byte[] data)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -11072,26 +11072,26 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationS
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom(java.io.InputStream input)
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessage
           .parseWithIOException(PARSER, input);
     }
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
@@ -11104,7 +11104,7 @@ public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationS
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage prototype) {
+    public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
     @java.lang.Override
@@ -11125,10 +11125,10 @@ protected Builder newBuilderForType(
     public static final class Builder extends
         com.google.protobuf.GeneratedMessage.Builder implements
         // @@protoc_insertion_point(builder_implements:ObservationSpaceMessage)
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessageOrBuilder {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessageOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
@@ -11168,12 +11168,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.Builder.class);
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder.class);
       }
 
-      // Construct using com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.newBuilder()
+      // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
@@ -11302,17 +11302,17 @@ public Builder clear() {
       @java.lang.Override
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor;
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() {
-        return com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() {
+        return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage build() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage result = buildPartial();
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage build() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -11320,8 +11320,8 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMes
       }
 
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage buildPartial() {
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage result = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage(this);
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage buildPartial() {
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage(this);
         buildPartialRepeatedFields(result);
         if (bitField0_ != 0) { buildPartial0(result); }
         if (bitField1_ != 0) { buildPartial1(result); }
@@ -11329,7 +11329,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMes
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage result) {
+      private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) {
         if (inventoryBuilder_ == null) {
           if (((bitField0_ & 0x00000400) != 0)) {
             inventory_ = java.util.Collections.unmodifiableList(inventory_);
@@ -11404,7 +11404,7 @@ private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraft_env.proto.Obs
         }
       }
 
-      private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage result) {
+      private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.image_ = image_;
@@ -11494,7 +11494,7 @@ private void buildPartial0(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
         result.bitField0_ |= to_bitField0_;
       }
 
-      private void buildPartial1(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage result) {
+      private void buildPartial1(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) {
         int from_bitField1_ = bitField1_;
         if (((from_bitField1_ & 0x00000001) != 0)) {
           result.submergedInLava_ = submergedInLava_;
@@ -11512,16 +11512,16 @@ private void buildPartial1(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace
 
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage) {
-          return mergeFrom((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage)other);
+        if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) {
+          return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage other) {
-        if (other == com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other) {
+        if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance()) return this;
         if (other.getImage() != com.google.protobuf.ByteString.EMPTY) {
           setImage(other.getImage());
         }
@@ -11896,9 +11896,9 @@ public Builder mergeFrom(
                 break;
               } // case 80
               case 90: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.parser(),
                         extensionRegistry);
                 if (inventoryBuilder_ == null) {
                   ensureInventoryIsMutable();
@@ -11916,9 +11916,9 @@ public Builder mergeFrom(
                 break;
               } // case 98
               case 106: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.parser(),
                         extensionRegistry);
                 if (soundSubtitlesBuilder_ == null) {
                   ensureSoundSubtitlesIsMutable();
@@ -11929,9 +11929,9 @@ public Builder mergeFrom(
                 break;
               } // case 106
               case 114: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.parser(),
                         extensionRegistry);
                 if (statusEffectsBuilder_ == null) {
                   ensureStatusEffectsIsMutable();
@@ -11969,9 +11969,9 @@ public Builder mergeFrom(
                 break;
               } // case 138
               case 146: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(),
                         extensionRegistry);
                 if (visibleEntitiesBuilder_ == null) {
                   ensureVisibleEntitiesIsMutable();
@@ -11982,7 +11982,7 @@ public Builder mergeFrom(
                 break;
               } // case 146
               case 154: {
-                com.google.protobuf.MapEntry
+                com.google.protobuf.MapEntry
                 surroundingEntities__ = input.readMessage(
                     SurroundingEntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                 internalGetMutableSurroundingEntities().ensureBuilderMap().put(
@@ -12016,9 +12016,9 @@ public Builder mergeFrom(
                 break;
               } // case 194
               case 202: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.parser(),
                         extensionRegistry);
                 if (surroundingBlocksBuilder_ == null) {
                   ensureSurroundingBlocksIsMutable();
@@ -12039,9 +12039,9 @@ public Builder mergeFrom(
                 break;
               } // case 216
               case 226: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.parser(),
                         extensionRegistry);
                 if (chatMessagesBuilder_ == null) {
                   ensureChatMessagesIsMutable();
@@ -12059,9 +12059,9 @@ public Builder mergeFrom(
                 break;
               } // case 234
               case 242: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.parser(),
                         extensionRegistry);
                 if (nearbyBiomesBuilder_ == null) {
                   ensureNearbyBiomesIsMutable();
@@ -12087,9 +12087,9 @@ public Builder mergeFrom(
                 break;
               } // case 264
               case 274: {
-                com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo m =
+                com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo m =
                     input.readMessage(
-                        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.parser(),
+                        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.parser(),
                         extensionRegistry);
                 if (heightInfoBuilder_ == null) {
                   ensureHeightInfoIsMutable();
@@ -12452,22 +12452,22 @@ public Builder clearIsDead() {
         return this;
       }
 
-      private java.util.List inventory_ =
+      private java.util.List inventory_ =
         java.util.Collections.emptyList();
       private void ensureInventoryIsMutable() {
         if (!((bitField0_ & 0x00000400) != 0)) {
-          inventory_ = new java.util.ArrayList(inventory_);
+          inventory_ = new java.util.ArrayList(inventory_);
           bitField0_ |= 0x00000400;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder> inventoryBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> inventoryBuilder_;
 
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public java.util.List getInventoryList() {
+      public java.util.List getInventoryList() {
         if (inventoryBuilder_ == null) {
           return java.util.Collections.unmodifiableList(inventory_);
         } else {
@@ -12487,7 +12487,7 @@ public int getInventoryCount() {
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getInventory(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index) {
         if (inventoryBuilder_ == null) {
           return inventory_.get(index);
         } else {
@@ -12498,7 +12498,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack getInvent
        * repeated .ItemStack inventory = 11;
        */
       public Builder setInventory(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) {
         if (inventoryBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12515,7 +12515,7 @@ public Builder setInventory(
        * repeated .ItemStack inventory = 11;
        */
       public Builder setInventory(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) {
         if (inventoryBuilder_ == null) {
           ensureInventoryIsMutable();
           inventory_.set(index, builderForValue.build());
@@ -12528,7 +12528,7 @@ public Builder setInventory(
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public Builder addInventory(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack value) {
+      public Builder addInventory(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) {
         if (inventoryBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12545,7 +12545,7 @@ public Builder addInventory(com.kyhsgeekcode.minecraft_env.proto.ObservationSpac
        * repeated .ItemStack inventory = 11;
        */
       public Builder addInventory(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) {
         if (inventoryBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12562,7 +12562,7 @@ public Builder addInventory(
        * repeated .ItemStack inventory = 11;
        */
       public Builder addInventory(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) {
         if (inventoryBuilder_ == null) {
           ensureInventoryIsMutable();
           inventory_.add(builderForValue.build());
@@ -12576,7 +12576,7 @@ public Builder addInventory(
        * repeated .ItemStack inventory = 11;
        */
       public Builder addInventory(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) {
         if (inventoryBuilder_ == null) {
           ensureInventoryIsMutable();
           inventory_.add(index, builderForValue.build());
@@ -12590,7 +12590,7 @@ public Builder addInventory(
        * repeated .ItemStack inventory = 11;
        */
       public Builder addAllInventory(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (inventoryBuilder_ == null) {
           ensureInventoryIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -12630,14 +12630,14 @@ public Builder removeInventory(int index) {
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder getInventoryBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder getInventoryBuilder(
           int index) {
         return getInventoryFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder(
           int index) {
         if (inventoryBuilder_ == null) {
           return inventory_.get(index);  } else {
@@ -12647,7 +12647,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public java.util.List 
+      public java.util.List 
            getInventoryOrBuilderList() {
         if (inventoryBuilder_ != null) {
           return inventoryBuilder_.getMessageOrBuilderList();
@@ -12658,31 +12658,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder() {
         return getInventoryFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance());
       }
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder(
           int index) {
         return getInventoryFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance());
       }
       /**
        * repeated .ItemStack inventory = 11;
        */
-      public java.util.List 
+      public java.util.List 
            getInventoryBuilderList() {
         return getInventoryFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> 
           getInventoryFieldBuilder() {
         if (inventoryBuilder_ == null) {
           inventoryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStackOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder>(
                   inventory_,
                   ((bitField0_ & 0x00000400) != 0),
                   getParentForChildren(),
@@ -12692,9 +12692,9 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ItemStack.Builder a
         return inventoryBuilder_;
       }
 
-      private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult raycastResult_;
+      private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult raycastResult_;
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder> raycastResultBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> raycastResultBuilder_;
       /**
        * .HitResult raycast_result = 12;
        * @return Whether the raycastResult field is set.
@@ -12706,9 +12706,9 @@ public boolean hasRaycastResult() {
        * .HitResult raycast_result = 12;
        * @return The raycastResult.
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getRaycastResult() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult() {
         if (raycastResultBuilder_ == null) {
-          return raycastResult_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
+          return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
         } else {
           return raycastResultBuilder_.getMessage();
         }
@@ -12716,7 +12716,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult getRaycas
       /**
        * .HitResult raycast_result = 12;
        */
-      public Builder setRaycastResult(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult value) {
+      public Builder setRaycastResult(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) {
         if (raycastResultBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12733,7 +12733,7 @@ public Builder setRaycastResult(com.kyhsgeekcode.minecraft_env.proto.Observation
        * .HitResult raycast_result = 12;
        */
       public Builder setRaycastResult(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder builderForValue) {
         if (raycastResultBuilder_ == null) {
           raycastResult_ = builderForValue.build();
         } else {
@@ -12746,11 +12746,11 @@ public Builder setRaycastResult(
       /**
        * .HitResult raycast_result = 12;
        */
-      public Builder mergeRaycastResult(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult value) {
+      public Builder mergeRaycastResult(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) {
         if (raycastResultBuilder_ == null) {
           if (((bitField0_ & 0x00000800) != 0) &&
             raycastResult_ != null &&
-            raycastResult_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance()) {
+            raycastResult_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance()) {
             getRaycastResultBuilder().mergeFrom(value);
           } else {
             raycastResult_ = value;
@@ -12780,7 +12780,7 @@ public Builder clearRaycastResult() {
       /**
        * .HitResult raycast_result = 12;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder getRaycastResultBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder getRaycastResultBuilder() {
         bitField0_ |= 0x00000800;
         onChanged();
         return getRaycastResultFieldBuilder().getBuilder();
@@ -12788,23 +12788,23 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder g
       /**
        * .HitResult raycast_result = 12;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() {
         if (raycastResultBuilder_ != null) {
           return raycastResultBuilder_.getMessageOrBuilder();
         } else {
           return raycastResult_ == null ?
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_;
         }
       }
       /**
        * .HitResult raycast_result = 12;
        */
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> 
           getRaycastResultFieldBuilder() {
         if (raycastResultBuilder_ == null) {
           raycastResultBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder>(
                   getRaycastResult(),
                   getParentForChildren(),
                   isClean());
@@ -12813,22 +12813,22 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HitResultOrBuilder
         return raycastResultBuilder_;
       }
 
-      private java.util.List soundSubtitles_ =
+      private java.util.List soundSubtitles_ =
         java.util.Collections.emptyList();
       private void ensureSoundSubtitlesIsMutable() {
         if (!((bitField0_ & 0x00001000) != 0)) {
-          soundSubtitles_ = new java.util.ArrayList(soundSubtitles_);
+          soundSubtitles_ = new java.util.ArrayList(soundSubtitles_);
           bitField0_ |= 0x00001000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder> soundSubtitlesBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> soundSubtitlesBuilder_;
 
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public java.util.List getSoundSubtitlesList() {
+      public java.util.List getSoundSubtitlesList() {
         if (soundSubtitlesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(soundSubtitles_);
         } else {
@@ -12848,7 +12848,7 @@ public int getSoundSubtitlesCount() {
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) {
         if (soundSubtitlesBuilder_ == null) {
           return soundSubtitles_.get(index);
         } else {
@@ -12859,7 +12859,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry getSound
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder setSoundSubtitles(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) {
         if (soundSubtitlesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12876,7 +12876,7 @@ public Builder setSoundSubtitles(
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder setSoundSubtitles(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
         if (soundSubtitlesBuilder_ == null) {
           ensureSoundSubtitlesIsMutable();
           soundSubtitles_.set(index, builderForValue.build());
@@ -12889,7 +12889,7 @@ public Builder setSoundSubtitles(
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public Builder addSoundSubtitles(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry value) {
+      public Builder addSoundSubtitles(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) {
         if (soundSubtitlesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12906,7 +12906,7 @@ public Builder addSoundSubtitles(com.kyhsgeekcode.minecraft_env.proto.Observatio
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder addSoundSubtitles(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) {
         if (soundSubtitlesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12923,7 +12923,7 @@ public Builder addSoundSubtitles(
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder addSoundSubtitles(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
         if (soundSubtitlesBuilder_ == null) {
           ensureSoundSubtitlesIsMutable();
           soundSubtitles_.add(builderForValue.build());
@@ -12937,7 +12937,7 @@ public Builder addSoundSubtitles(
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder addSoundSubtitles(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) {
         if (soundSubtitlesBuilder_ == null) {
           ensureSoundSubtitlesIsMutable();
           soundSubtitles_.add(index, builderForValue.build());
@@ -12951,7 +12951,7 @@ public Builder addSoundSubtitles(
        * repeated .SoundEntry sound_subtitles = 13;
        */
       public Builder addAllSoundSubtitles(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (soundSubtitlesBuilder_ == null) {
           ensureSoundSubtitlesIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -12991,14 +12991,14 @@ public Builder removeSoundSubtitles(int index) {
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder getSoundSubtitlesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder getSoundSubtitlesBuilder(
           int index) {
         return getSoundSubtitlesFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder(
           int index) {
         if (soundSubtitlesBuilder_ == null) {
           return soundSubtitles_.get(index);  } else {
@@ -13008,7 +13008,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public java.util.List 
+      public java.util.List 
            getSoundSubtitlesOrBuilderList() {
         if (soundSubtitlesBuilder_ != null) {
           return soundSubtitlesBuilder_.getMessageOrBuilderList();
@@ -13019,31 +13019,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder() {
         return getSoundSubtitlesFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance());
       }
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder(
           int index) {
         return getSoundSubtitlesFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance());
       }
       /**
        * repeated .SoundEntry sound_subtitles = 13;
        */
-      public java.util.List 
+      public java.util.List 
            getSoundSubtitlesBuilderList() {
         return getSoundSubtitlesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> 
           getSoundSubtitlesFieldBuilder() {
         if (soundSubtitlesBuilder_ == null) {
           soundSubtitlesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntryOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder>(
                   soundSubtitles_,
                   ((bitField0_ & 0x00001000) != 0),
                   getParentForChildren(),
@@ -13053,22 +13053,22 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.SoundEntry.Builder
         return soundSubtitlesBuilder_;
       }
 
-      private java.util.List statusEffects_ =
+      private java.util.List statusEffects_ =
         java.util.Collections.emptyList();
       private void ensureStatusEffectsIsMutable() {
         if (!((bitField0_ & 0x00002000) != 0)) {
-          statusEffects_ = new java.util.ArrayList(statusEffects_);
+          statusEffects_ = new java.util.ArrayList(statusEffects_);
           bitField0_ |= 0x00002000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder> statusEffectsBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> statusEffectsBuilder_;
 
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public java.util.List getStatusEffectsList() {
+      public java.util.List getStatusEffectsList() {
         if (statusEffectsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(statusEffects_);
         } else {
@@ -13088,7 +13088,7 @@ public int getStatusEffectsCount() {
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getStatusEffects(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index) {
         if (statusEffectsBuilder_ == null) {
           return statusEffects_.get(index);
         } else {
@@ -13099,7 +13099,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect getSta
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder setStatusEffects(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) {
         if (statusEffectsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13116,7 +13116,7 @@ public Builder setStatusEffects(
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder setStatusEffects(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
         if (statusEffectsBuilder_ == null) {
           ensureStatusEffectsIsMutable();
           statusEffects_.set(index, builderForValue.build());
@@ -13129,7 +13129,7 @@ public Builder setStatusEffects(
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public Builder addStatusEffects(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect value) {
+      public Builder addStatusEffects(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) {
         if (statusEffectsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13146,7 +13146,7 @@ public Builder addStatusEffects(com.kyhsgeekcode.minecraft_env.proto.Observation
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder addStatusEffects(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) {
         if (statusEffectsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13163,7 +13163,7 @@ public Builder addStatusEffects(
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder addStatusEffects(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
         if (statusEffectsBuilder_ == null) {
           ensureStatusEffectsIsMutable();
           statusEffects_.add(builderForValue.build());
@@ -13177,7 +13177,7 @@ public Builder addStatusEffects(
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder addStatusEffects(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) {
         if (statusEffectsBuilder_ == null) {
           ensureStatusEffectsIsMutable();
           statusEffects_.add(index, builderForValue.build());
@@ -13191,7 +13191,7 @@ public Builder addStatusEffects(
        * repeated .StatusEffect status_effects = 14;
        */
       public Builder addAllStatusEffects(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (statusEffectsBuilder_ == null) {
           ensureStatusEffectsIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -13231,14 +13231,14 @@ public Builder removeStatusEffects(int index) {
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder getStatusEffectsBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder getStatusEffectsBuilder(
           int index) {
         return getStatusEffectsFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder(
           int index) {
         if (statusEffectsBuilder_ == null) {
           return statusEffects_.get(index);  } else {
@@ -13248,7 +13248,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuild
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public java.util.List 
+      public java.util.List 
            getStatusEffectsOrBuilderList() {
         if (statusEffectsBuilder_ != null) {
           return statusEffectsBuilder_.getMessageOrBuilderList();
@@ -13259,31 +13259,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuild
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder() {
         return getStatusEffectsFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance());
       }
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder(
           int index) {
         return getStatusEffectsFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance());
       }
       /**
        * repeated .StatusEffect status_effects = 14;
        */
-      public java.util.List 
+      public java.util.List 
            getStatusEffectsBuilderList() {
         return getStatusEffectsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> 
           getStatusEffectsFieldBuilder() {
         if (statusEffectsBuilder_ == null) {
           statusEffectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.StatusEffectOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder>(
                   statusEffects_,
                   ((bitField0_ & 0x00002000) != 0),
                   getParentForChildren(),
@@ -13668,22 +13668,22 @@ public Builder putAllMiscStatistics(
         return this;
       }
 
-      private java.util.List visibleEntities_ =
+      private java.util.List visibleEntities_ =
         java.util.Collections.emptyList();
       private void ensureVisibleEntitiesIsMutable() {
         if (!((bitField0_ & 0x00020000) != 0)) {
-          visibleEntities_ = new java.util.ArrayList(visibleEntities_);
+          visibleEntities_ = new java.util.ArrayList(visibleEntities_);
           bitField0_ |= 0x00020000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> visibleEntitiesBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> visibleEntitiesBuilder_;
 
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public java.util.List getVisibleEntitiesList() {
+      public java.util.List getVisibleEntitiesList() {
         if (visibleEntitiesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(visibleEntities_);
         } else {
@@ -13703,7 +13703,7 @@ public int getVisibleEntitiesCount() {
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) {
         if (visibleEntitiesBuilder_ == null) {
           return visibleEntities_.get(index);
         } else {
@@ -13714,7 +13714,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo getVisib
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder setVisibleEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (visibleEntitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13731,7 +13731,7 @@ public Builder setVisibleEntities(
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder setVisibleEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (visibleEntitiesBuilder_ == null) {
           ensureVisibleEntitiesIsMutable();
           visibleEntities_.set(index, builderForValue.build());
@@ -13744,7 +13744,7 @@ public Builder setVisibleEntities(
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public Builder addVisibleEntities(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+      public Builder addVisibleEntities(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (visibleEntitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13761,7 +13761,7 @@ public Builder addVisibleEntities(com.kyhsgeekcode.minecraft_env.proto.Observati
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder addVisibleEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) {
         if (visibleEntitiesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13778,7 +13778,7 @@ public Builder addVisibleEntities(
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder addVisibleEntities(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (visibleEntitiesBuilder_ == null) {
           ensureVisibleEntitiesIsMutable();
           visibleEntities_.add(builderForValue.build());
@@ -13792,7 +13792,7 @@ public Builder addVisibleEntities(
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder addVisibleEntities(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) {
         if (visibleEntitiesBuilder_ == null) {
           ensureVisibleEntitiesIsMutable();
           visibleEntities_.add(index, builderForValue.build());
@@ -13806,7 +13806,7 @@ public Builder addVisibleEntities(
        * repeated .EntityInfo visible_entities = 18;
        */
       public Builder addAllVisibleEntities(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (visibleEntitiesBuilder_ == null) {
           ensureVisibleEntitiesIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -13846,14 +13846,14 @@ public Builder removeVisibleEntities(int index) {
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder getVisibleEntitiesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getVisibleEntitiesBuilder(
           int index) {
         return getVisibleEntitiesFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder(
           int index) {
         if (visibleEntitiesBuilder_ == null) {
           return visibleEntities_.get(index);  } else {
@@ -13863,7 +13863,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public java.util.List 
+      public java.util.List 
            getVisibleEntitiesOrBuilderList() {
         if (visibleEntitiesBuilder_ != null) {
           return visibleEntitiesBuilder_.getMessageOrBuilderList();
@@ -13874,31 +13874,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder() {
         return getVisibleEntitiesFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance());
       }
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder(
           int index) {
         return getVisibleEntitiesFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance());
       }
       /**
        * repeated .EntityInfo visible_entities = 18;
        */
-      public java.util.List 
+      public java.util.List 
            getVisibleEntitiesBuilderList() {
         return getVisibleEntitiesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> 
           getVisibleEntitiesFieldBuilder() {
         if (visibleEntitiesBuilder_ == null) {
           visibleEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>(
                   visibleEntities_,
                   ((bitField0_ & 0x00020000) != 0),
                   getParentForChildren(),
@@ -13908,30 +13908,30 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntityInfo.Builder
         return visibleEntitiesBuilder_;
       }
 
-      private static final class SurroundingEntitiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+      private static final class SurroundingEntitiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
         @java.lang.Override
-        public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance build(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder val) {
-          if (val instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) { return (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) val; }
-          return ((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder) val).build();
+        public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance build(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder val) {
+          if (val instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) val; }
+          return ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder) val).build();
         }
 
         @java.lang.Override
-        public com.google.protobuf.MapEntry defaultEntry() {
+        public com.google.protobuf.MapEntry defaultEntry() {
           return SurroundingEntitiesDefaultEntryHolder.defaultEntry;
         }
       };
       private static final SurroundingEntitiesConverter surroundingEntitiesConverter = new SurroundingEntitiesConverter();
 
       private com.google.protobuf.MapFieldBuilder<
-          java.lang.Integer, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder> surroundingEntities_;
-      private com.google.protobuf.MapFieldBuilder
+          java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder> surroundingEntities_;
+      private com.google.protobuf.MapFieldBuilder
           internalGetSurroundingEntities() {
         if (surroundingEntities_ == null) {
           return new com.google.protobuf.MapFieldBuilder<>(surroundingEntitiesConverter);
         }
         return surroundingEntities_;
       }
-      private com.google.protobuf.MapFieldBuilder
+      private com.google.protobuf.MapFieldBuilder
           internalGetMutableSurroundingEntities() {
         if (surroundingEntities_ == null) {
           surroundingEntities_ = new com.google.protobuf.MapFieldBuilder<>(surroundingEntitiesConverter);
@@ -13957,14 +13957,14 @@ public boolean containsSurroundingEntities(
        */
       @java.lang.Override
       @java.lang.Deprecated
-      public java.util.Map getSurroundingEntities() {
+      public java.util.Map getSurroundingEntities() {
         return getSurroundingEntitiesMap();
       }
       /**
        * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
        */
       @java.lang.Override
-      public java.util.Map getSurroundingEntitiesMap() {
+      public java.util.Map getSurroundingEntitiesMap() {
         return internalGetSurroundingEntities().getImmutableMap();
       }
       /**
@@ -13972,22 +13972,22 @@ public java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap();
+        java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap();
         return map.containsKey(key) ? surroundingEntitiesConverter.build(map.get(key)) : defaultValue;
       }
       /**
        * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
        */
       @java.lang.Override
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow(
           int key) {
 
-        java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap();
+        java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -14012,7 +14012,7 @@ public Builder removeSurroundingEntities(
        * Use alternate mutation accessors instead.
        */
       @java.lang.Deprecated
-      public java.util.Map
+      public java.util.Map
           getMutableSurroundingEntities() {
         bitField0_ |= 0x00040000;
         return internalGetMutableSurroundingEntities().ensureMessageMap();
@@ -14022,7 +14022,7 @@ public Builder removeSurroundingEntities(
        */
       public Builder putSurroundingEntities(
           int key,
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance value) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance value) {
 
         if (value == null) { throw new NullPointerException("map value"); }
         internalGetMutableSurroundingEntities().ensureBuilderMap()
@@ -14034,8 +14034,8 @@ public Builder putSurroundingEntities(
        * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
        */
       public Builder putAllSurroundingEntities(
-          java.util.Map values) {
-        for (java.util.Map.Entry e : values.entrySet()) {
+          java.util.Map values) {
+        for (java.util.Map.Entry e : values.entrySet()) {
           if (e.getKey() == null || e.getValue() == null) {
             throw new NullPointerException();
           }
@@ -14048,19 +14048,19 @@ public Builder putAllSurroundingEntities(
       /**
        * map<int32, .EntitiesWithinDistance> surrounding_entities = 19;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder putSurroundingEntitiesBuilderIfAbsent(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder putSurroundingEntitiesBuilderIfAbsent(
           int key) {
-        java.util.Map builderMap = internalGetMutableSurroundingEntities().ensureBuilderMap();
-        com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder entry = builderMap.get(key);
+        java.util.Map builderMap = internalGetMutableSurroundingEntities().ensureBuilderMap();
+        com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder entry = builderMap.get(key);
         if (entry == null) {
-          entry = com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.newBuilder();
+          entry = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.newBuilder();
           builderMap.put(key, entry);
         }
-        if (entry instanceof com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) {
-          entry = ((com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance) entry).toBuilder();
+        if (entry instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) {
+          entry = ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) entry).toBuilder();
           builderMap.put(key, entry);
         }
-        return (com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.EntitiesWithinDistance.Builder) entry;
+        return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder) entry;
       }
 
       private boolean bobberThrown_ ;
@@ -14263,17 +14263,17 @@ public Builder clearImage2() {
         return this;
       }
 
-      private java.util.List surroundingBlocks_ =
+      private java.util.List surroundingBlocks_ =
         java.util.Collections.emptyList();
       private void ensureSurroundingBlocksIsMutable() {
         if (!((bitField0_ & 0x01000000) != 0)) {
-          surroundingBlocks_ = new java.util.ArrayList(surroundingBlocks_);
+          surroundingBlocks_ = new java.util.ArrayList(surroundingBlocks_);
           bitField0_ |= 0x01000000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder> surroundingBlocksBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> surroundingBlocksBuilder_;
 
       /**
        * 
@@ -14282,7 +14282,7 @@ private void ensureSurroundingBlocksIsMutable() {
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public java.util.List getSurroundingBlocksList() {
+      public java.util.List getSurroundingBlocksList() {
         if (surroundingBlocksBuilder_ == null) {
           return java.util.Collections.unmodifiableList(surroundingBlocks_);
         } else {
@@ -14310,7 +14310,7 @@ public int getSurroundingBlocksCount() {
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) {
         if (surroundingBlocksBuilder_ == null) {
           return surroundingBlocks_.get(index);
         } else {
@@ -14325,7 +14325,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo getSurrou
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder setSurroundingBlocks(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) {
         if (surroundingBlocksBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14346,7 +14346,7 @@ public Builder setSurroundingBlocks(
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder setSurroundingBlocks(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
         if (surroundingBlocksBuilder_ == null) {
           ensureSurroundingBlocksIsMutable();
           surroundingBlocks_.set(index, builderForValue.build());
@@ -14363,7 +14363,7 @@ public Builder setSurroundingBlocks(
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public Builder addSurroundingBlocks(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo value) {
+      public Builder addSurroundingBlocks(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) {
         if (surroundingBlocksBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14384,7 +14384,7 @@ public Builder addSurroundingBlocks(com.kyhsgeekcode.minecraft_env.proto.Observa
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder addSurroundingBlocks(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) {
         if (surroundingBlocksBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14405,7 +14405,7 @@ public Builder addSurroundingBlocks(
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder addSurroundingBlocks(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
         if (surroundingBlocksBuilder_ == null) {
           ensureSurroundingBlocksIsMutable();
           surroundingBlocks_.add(builderForValue.build());
@@ -14423,7 +14423,7 @@ public Builder addSurroundingBlocks(
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder addSurroundingBlocks(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) {
         if (surroundingBlocksBuilder_ == null) {
           ensureSurroundingBlocksIsMutable();
           surroundingBlocks_.add(index, builderForValue.build());
@@ -14441,7 +14441,7 @@ public Builder addSurroundingBlocks(
        * repeated .BlockInfo surrounding_blocks = 25;
        */
       public Builder addAllSurroundingBlocks(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (surroundingBlocksBuilder_ == null) {
           ensureSurroundingBlocksIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -14493,7 +14493,7 @@ public Builder removeSurroundingBlocks(int index) {
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder getSurroundingBlocksBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder getSurroundingBlocksBuilder(
           int index) {
         return getSurroundingBlocksFieldBuilder().getBuilder(index);
       }
@@ -14504,7 +14504,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder g
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder(
           int index) {
         if (surroundingBlocksBuilder_ == null) {
           return surroundingBlocks_.get(index);  } else {
@@ -14518,7 +14518,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public java.util.List 
+      public java.util.List 
            getSurroundingBlocksOrBuilderList() {
         if (surroundingBlocksBuilder_ != null) {
           return surroundingBlocksBuilder_.getMessageOrBuilderList();
@@ -14533,9 +14533,9 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder() {
         return getSurroundingBlocksFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance());
       }
       /**
        * 
@@ -14544,10 +14544,10 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder a
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder(
           int index) {
         return getSurroundingBlocksFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance());
       }
       /**
        * 
@@ -14556,16 +14556,16 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder a
        *
        * repeated .BlockInfo surrounding_blocks = 25;
        */
-      public java.util.List 
+      public java.util.List 
            getSurroundingBlocksBuilderList() {
         return getSurroundingBlocksFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> 
           getSurroundingBlocksFieldBuilder() {
         if (surroundingBlocksBuilder_ == null) {
           surroundingBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BlockInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>(
                   surroundingBlocks_,
                   ((bitField0_ & 0x01000000) != 0),
                   getParentForChildren(),
@@ -14639,22 +14639,22 @@ public Builder clearSuffocating() {
         return this;
       }
 
-      private java.util.List chatMessages_ =
+      private java.util.List chatMessages_ =
         java.util.Collections.emptyList();
       private void ensureChatMessagesIsMutable() {
         if (!((bitField0_ & 0x08000000) != 0)) {
-          chatMessages_ = new java.util.ArrayList(chatMessages_);
+          chatMessages_ = new java.util.ArrayList(chatMessages_);
           bitField0_ |= 0x08000000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder> chatMessagesBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> chatMessagesBuilder_;
 
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public java.util.List getChatMessagesList() {
+      public java.util.List getChatMessagesList() {
         if (chatMessagesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(chatMessages_);
         } else {
@@ -14674,7 +14674,7 @@ public int getChatMessagesCount() {
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) {
         if (chatMessagesBuilder_ == null) {
           return chatMessages_.get(index);
         } else {
@@ -14685,7 +14685,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo get
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder setChatMessages(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) {
         if (chatMessagesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14702,7 +14702,7 @@ public Builder setChatMessages(
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder setChatMessages(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
         if (chatMessagesBuilder_ == null) {
           ensureChatMessagesIsMutable();
           chatMessages_.set(index, builderForValue.build());
@@ -14715,7 +14715,7 @@ public Builder setChatMessages(
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public Builder addChatMessages(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo value) {
+      public Builder addChatMessages(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) {
         if (chatMessagesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14732,7 +14732,7 @@ public Builder addChatMessages(com.kyhsgeekcode.minecraft_env.proto.ObservationS
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder addChatMessages(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) {
         if (chatMessagesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14749,7 +14749,7 @@ public Builder addChatMessages(
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder addChatMessages(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
         if (chatMessagesBuilder_ == null) {
           ensureChatMessagesIsMutable();
           chatMessages_.add(builderForValue.build());
@@ -14763,7 +14763,7 @@ public Builder addChatMessages(
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder addChatMessages(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) {
         if (chatMessagesBuilder_ == null) {
           ensureChatMessagesIsMutable();
           chatMessages_.add(index, builderForValue.build());
@@ -14777,7 +14777,7 @@ public Builder addChatMessages(
        * repeated .ChatMessageInfo chat_messages = 28;
        */
       public Builder addAllChatMessages(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (chatMessagesBuilder_ == null) {
           ensureChatMessagesIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -14817,14 +14817,14 @@ public Builder removeChatMessages(int index) {
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder getChatMessagesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder getChatMessagesBuilder(
           int index) {
         return getChatMessagesFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder(
           int index) {
         if (chatMessagesBuilder_ == null) {
           return chatMessages_.get(index);  } else {
@@ -14834,7 +14834,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBu
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public java.util.List 
+      public java.util.List 
            getChatMessagesOrBuilderList() {
         if (chatMessagesBuilder_ != null) {
           return chatMessagesBuilder_.getMessageOrBuilderList();
@@ -14845,31 +14845,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBu
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder() {
         return getChatMessagesFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance());
       }
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder(
           int index) {
         return getChatMessagesFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance());
       }
       /**
        * repeated .ChatMessageInfo chat_messages = 28;
        */
-      public java.util.List 
+      public java.util.List 
            getChatMessagesBuilderList() {
         return getChatMessagesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> 
           getChatMessagesFieldBuilder() {
         if (chatMessagesBuilder_ == null) {
           chatMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder>(
                   chatMessages_,
                   ((bitField0_ & 0x08000000) != 0),
                   getParentForChildren(),
@@ -14879,9 +14879,9 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ChatMessageInfo.Bui
         return chatMessagesBuilder_;
       }
 
-      private com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo biomeInfo_;
+      private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo biomeInfo_;
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder> biomeInfoBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> biomeInfoBuilder_;
       /**
        * .BiomeInfo biome_info = 29;
        * @return Whether the biomeInfo field is set.
@@ -14893,9 +14893,9 @@ public boolean hasBiomeInfo() {
        * .BiomeInfo biome_info = 29;
        * @return The biomeInfo.
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getBiomeInfo() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo() {
         if (biomeInfoBuilder_ == null) {
-          return biomeInfo_ == null ? com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
+          return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
         } else {
           return biomeInfoBuilder_.getMessage();
         }
@@ -14903,7 +14903,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo getBiomeI
       /**
        * .BiomeInfo biome_info = 29;
        */
-      public Builder setBiomeInfo(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo value) {
+      public Builder setBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) {
         if (biomeInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14920,7 +14920,7 @@ public Builder setBiomeInfo(com.kyhsgeekcode.minecraft_env.proto.ObservationSpac
        * .BiomeInfo biome_info = 29;
        */
       public Builder setBiomeInfo(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder builderForValue) {
         if (biomeInfoBuilder_ == null) {
           biomeInfo_ = builderForValue.build();
         } else {
@@ -14933,11 +14933,11 @@ public Builder setBiomeInfo(
       /**
        * .BiomeInfo biome_info = 29;
        */
-      public Builder mergeBiomeInfo(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo value) {
+      public Builder mergeBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) {
         if (biomeInfoBuilder_ == null) {
           if (((bitField0_ & 0x10000000) != 0) &&
             biomeInfo_ != null &&
-            biomeInfo_ != com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) {
+            biomeInfo_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) {
             getBiomeInfoBuilder().mergeFrom(value);
           } else {
             biomeInfo_ = value;
@@ -14967,7 +14967,7 @@ public Builder clearBiomeInfo() {
       /**
        * .BiomeInfo biome_info = 29;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder getBiomeInfoBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder getBiomeInfoBuilder() {
         bitField0_ |= 0x10000000;
         onChanged();
         return getBiomeInfoFieldBuilder().getBuilder();
@@ -14975,23 +14975,23 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder g
       /**
        * .BiomeInfo biome_info = 29;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() {
         if (biomeInfoBuilder_ != null) {
           return biomeInfoBuilder_.getMessageOrBuilder();
         } else {
           return biomeInfo_ == null ?
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_;
         }
       }
       /**
        * .BiomeInfo biome_info = 29;
        */
       private com.google.protobuf.SingleFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> 
           getBiomeInfoFieldBuilder() {
         if (biomeInfoBuilder_ == null) {
           biomeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder>(
                   getBiomeInfo(),
                   getParentForChildren(),
                   isClean());
@@ -15000,22 +15000,22 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.BiomeInfoOrBuilder
         return biomeInfoBuilder_;
       }
 
-      private java.util.List nearbyBiomes_ =
+      private java.util.List nearbyBiomes_ =
         java.util.Collections.emptyList();
       private void ensureNearbyBiomesIsMutable() {
         if (!((bitField0_ & 0x20000000) != 0)) {
-          nearbyBiomes_ = new java.util.ArrayList(nearbyBiomes_);
+          nearbyBiomes_ = new java.util.ArrayList(nearbyBiomes_);
           bitField0_ |= 0x20000000;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder> nearbyBiomesBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> nearbyBiomesBuilder_;
 
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public java.util.List getNearbyBiomesList() {
+      public java.util.List getNearbyBiomesList() {
         if (nearbyBiomesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(nearbyBiomes_);
         } else {
@@ -15035,7 +15035,7 @@ public int getNearbyBiomesCount() {
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) {
         if (nearbyBiomesBuilder_ == null) {
           return nearbyBiomes_.get(index);
         } else {
@@ -15046,7 +15046,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome getNear
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder setNearbyBiomes(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) {
         if (nearbyBiomesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15063,7 +15063,7 @@ public Builder setNearbyBiomes(
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder setNearbyBiomes(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
         if (nearbyBiomesBuilder_ == null) {
           ensureNearbyBiomesIsMutable();
           nearbyBiomes_.set(index, builderForValue.build());
@@ -15076,7 +15076,7 @@ public Builder setNearbyBiomes(
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public Builder addNearbyBiomes(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome value) {
+      public Builder addNearbyBiomes(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) {
         if (nearbyBiomesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15093,7 +15093,7 @@ public Builder addNearbyBiomes(com.kyhsgeekcode.minecraft_env.proto.ObservationS
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder addNearbyBiomes(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) {
         if (nearbyBiomesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15110,7 +15110,7 @@ public Builder addNearbyBiomes(
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder addNearbyBiomes(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
         if (nearbyBiomesBuilder_ == null) {
           ensureNearbyBiomesIsMutable();
           nearbyBiomes_.add(builderForValue.build());
@@ -15124,7 +15124,7 @@ public Builder addNearbyBiomes(
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder addNearbyBiomes(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) {
         if (nearbyBiomesBuilder_ == null) {
           ensureNearbyBiomesIsMutable();
           nearbyBiomes_.add(index, builderForValue.build());
@@ -15138,7 +15138,7 @@ public Builder addNearbyBiomes(
        * repeated .NearbyBiome nearby_biomes = 30;
        */
       public Builder addAllNearbyBiomes(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (nearbyBiomesBuilder_ == null) {
           ensureNearbyBiomesIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -15178,14 +15178,14 @@ public Builder removeNearbyBiomes(int index) {
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder getNearbyBiomesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder getNearbyBiomesBuilder(
           int index) {
         return getNearbyBiomesFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder(
           int index) {
         if (nearbyBiomesBuilder_ == null) {
           return nearbyBiomes_.get(index);  } else {
@@ -15195,7 +15195,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilde
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public java.util.List 
+      public java.util.List 
            getNearbyBiomesOrBuilderList() {
         if (nearbyBiomesBuilder_ != null) {
           return nearbyBiomesBuilder_.getMessageOrBuilderList();
@@ -15206,31 +15206,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilde
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder() {
         return getNearbyBiomesFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance());
       }
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder(
           int index) {
         return getNearbyBiomesFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance());
       }
       /**
        * repeated .NearbyBiome nearby_biomes = 30;
        */
-      public java.util.List 
+      public java.util.List 
            getNearbyBiomesBuilderList() {
         return getNearbyBiomesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> 
           getNearbyBiomesFieldBuilder() {
         if (nearbyBiomesBuilder_ == null) {
           nearbyBiomesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.NearbyBiomeOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder>(
                   nearbyBiomes_,
                   ((bitField0_ & 0x20000000) != 0),
                   getParentForChildren(),
@@ -15336,22 +15336,22 @@ public Builder clearSubmergedInLava() {
         return this;
       }
 
-      private java.util.List heightInfo_ =
+      private java.util.List heightInfo_ =
         java.util.Collections.emptyList();
       private void ensureHeightInfoIsMutable() {
         if (!((bitField1_ & 0x00000002) != 0)) {
-          heightInfo_ = new java.util.ArrayList(heightInfo_);
+          heightInfo_ = new java.util.ArrayList(heightInfo_);
           bitField1_ |= 0x00000002;
          }
       }
 
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder> heightInfoBuilder_;
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> heightInfoBuilder_;
 
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public java.util.List getHeightInfoList() {
+      public java.util.List getHeightInfoList() {
         if (heightInfoBuilder_ == null) {
           return java.util.Collections.unmodifiableList(heightInfo_);
         } else {
@@ -15371,7 +15371,7 @@ public int getHeightInfoCount() {
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getHeightInfo(int index) {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index) {
         if (heightInfoBuilder_ == null) {
           return heightInfo_.get(index);
         } else {
@@ -15382,7 +15382,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo getHeigh
        * repeated .HeightInfo height_info = 34;
        */
       public Builder setHeightInfo(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) {
         if (heightInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15399,7 +15399,7 @@ public Builder setHeightInfo(
        * repeated .HeightInfo height_info = 34;
        */
       public Builder setHeightInfo(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
         if (heightInfoBuilder_ == null) {
           ensureHeightInfoIsMutable();
           heightInfo_.set(index, builderForValue.build());
@@ -15412,7 +15412,7 @@ public Builder setHeightInfo(
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public Builder addHeightInfo(com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo value) {
+      public Builder addHeightInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) {
         if (heightInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15429,7 +15429,7 @@ public Builder addHeightInfo(com.kyhsgeekcode.minecraft_env.proto.ObservationSpa
        * repeated .HeightInfo height_info = 34;
        */
       public Builder addHeightInfo(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo value) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) {
         if (heightInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15446,7 +15446,7 @@ public Builder addHeightInfo(
        * repeated .HeightInfo height_info = 34;
        */
       public Builder addHeightInfo(
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
         if (heightInfoBuilder_ == null) {
           ensureHeightInfoIsMutable();
           heightInfo_.add(builderForValue.build());
@@ -15460,7 +15460,7 @@ public Builder addHeightInfo(
        * repeated .HeightInfo height_info = 34;
        */
       public Builder addHeightInfo(
-          int index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
+          int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) {
         if (heightInfoBuilder_ == null) {
           ensureHeightInfoIsMutable();
           heightInfo_.add(index, builderForValue.build());
@@ -15474,7 +15474,7 @@ public Builder addHeightInfo(
        * repeated .HeightInfo height_info = 34;
        */
       public Builder addAllHeightInfo(
-          java.lang.Iterable values) {
+          java.lang.Iterable values) {
         if (heightInfoBuilder_ == null) {
           ensureHeightInfoIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
@@ -15514,14 +15514,14 @@ public Builder removeHeightInfo(int index) {
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder getHeightInfoBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder getHeightInfoBuilder(
           int index) {
         return getHeightInfoFieldBuilder().getBuilder(index);
       }
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder(
           int index) {
         if (heightInfoBuilder_ == null) {
           return heightInfo_.get(index);  } else {
@@ -15531,7 +15531,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public java.util.List 
+      public java.util.List 
            getHeightInfoOrBuilderList() {
         if (heightInfoBuilder_ != null) {
           return heightInfoBuilder_.getMessageOrBuilderList();
@@ -15542,31 +15542,31 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder() {
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder() {
         return getHeightInfoFieldBuilder().addBuilder(
-            com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.getDefaultInstance());
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance());
       }
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder(
+      public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder(
           int index) {
         return getHeightInfoFieldBuilder().addBuilder(
-            index, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.getDefaultInstance());
+            index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance());
       }
       /**
        * repeated .HeightInfo height_info = 34;
        */
-      public java.util.List 
+      public java.util.List 
            getHeightInfoBuilderList() {
         return getHeightInfoFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
-          com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder> 
+          com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> 
           getHeightInfoFieldBuilder() {
         if (heightInfoBuilder_ == null) {
           heightInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.HeightInfoOrBuilder>(
+              com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder>(
                   heightInfo_,
                   ((bitField1_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -15676,12 +15676,12 @@ public Builder clearIpcHandle() {
     }
 
     // @@protoc_insertion_point(class_scope:ObservationSpaceMessage)
-    private static final com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage DEFAULT_INSTANCE;
+    private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage();
+      DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage();
     }
 
-    public static com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstance() {
+    public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
@@ -15717,7 +15717,7 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() {
+    public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -15873,7 +15873,7 @@ public com.kyhsgeekcode.minecraft_env.proto.ObservationSpace.ObservationSpaceMes
       "\005value\030\002 \001(\005:\0028\001\032S\n\030SurroundingEntitiesE" +
       "ntry\022\013\n\003key\030\001 \001(\005\022&\n\005value\030\002 \001(\0132\027.Entit" +
       "iesWithinDistance:\0028\001B&\n$com.kyhsgeekcod" +
-      "e.minecraft_env.protob\006proto3"
+      "e.minecraftenv.protob\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.kt
similarity index 82%
rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.kt
rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.kt
index 9a7227a8..2bd97822 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.kt
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.kt
@@ -4,5 +4,5 @@
 
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
-package com.kyhsgeekcode.minecraft_env.proto;
 
+package com.kyhsgeekcode.minecraftenv.proto
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.proto.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.proto.kt
similarity index 82%
rename from src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.proto.kt
rename to src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.proto.kt
index 9a7227a8..2bd97822 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraft_env/proto/ObservationSpaceKt.proto.kt
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceKt.proto.kt
@@ -4,5 +4,5 @@
 
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
-package com.kyhsgeekcode.minecraft_env.proto;
 
+package com.kyhsgeekcode.minecraftenv.proto
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceMessageKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceMessageKt.kt
new file mode 100644
index 00000000..7b9ddc50
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpaceMessageKt.kt
@@ -0,0 +1,1593 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: observation_space.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializeobservationSpaceMessage")
+public inline fun observationSpaceMessage(
+    block: com.kyhsgeekcode.minecraftenv.proto.ObservationSpaceMessageKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage =
+    com.kyhsgeekcode.minecraftenv.proto.ObservationSpaceMessageKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `ObservationSpaceMessage`
+ */
+public object ObservationSpaceMessageKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder): Dsl =
+                Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage = _builder.build()
+
+        /**
+         * `bytes image = 1;`
+         */
+        public var image: com.google.protobuf.ByteString
+            @JvmName("getImage")
+            get() = _builder.image
+
+            @JvmName("setImage")
+            set(value) {
+                _builder.image = value
+            }
+
+        /**
+         * `bytes image = 1;`
+         */
+        public fun clearImage() {
+            _builder.clearImage()
+        }
+
+        /**
+         * `double x = 2;`
+         */
+        public var x: kotlin.Double
+            @JvmName("getX")
+            get() = _builder.x
+
+            @JvmName("setX")
+            set(value) {
+                _builder.x = value
+            }
+
+        /**
+         * `double x = 2;`
+         */
+        public fun clearX() {
+            _builder.clearX()
+        }
+
+        /**
+         * `double y = 3;`
+         */
+        public var y: kotlin.Double
+            @JvmName("getY")
+            get() = _builder.y
+
+            @JvmName("setY")
+            set(value) {
+                _builder.y = value
+            }
+
+        /**
+         * `double y = 3;`
+         */
+        public fun clearY() {
+            _builder.clearY()
+        }
+
+        /**
+         * `double z = 4;`
+         */
+        public var z: kotlin.Double
+            @JvmName("getZ")
+            get() = _builder.z
+
+            @JvmName("setZ")
+            set(value) {
+                _builder.z = value
+            }
+
+        /**
+         * `double z = 4;`
+         */
+        public fun clearZ() {
+            _builder.clearZ()
+        }
+
+        /**
+         * `double yaw = 5;`
+         */
+        public var yaw: kotlin.Double
+            @JvmName("getYaw")
+            get() = _builder.yaw
+
+            @JvmName("setYaw")
+            set(value) {
+                _builder.yaw = value
+            }
+
+        /**
+         * `double yaw = 5;`
+         */
+        public fun clearYaw() {
+            _builder.clearYaw()
+        }
+
+        /**
+         * `double pitch = 6;`
+         */
+        public var pitch: kotlin.Double
+            @JvmName("getPitch")
+            get() = _builder.pitch
+
+            @JvmName("setPitch")
+            set(value) {
+                _builder.pitch = value
+            }
+
+        /**
+         * `double pitch = 6;`
+         */
+        public fun clearPitch() {
+            _builder.clearPitch()
+        }
+
+        /**
+         * `double health = 7;`
+         */
+        public var health: kotlin.Double
+            @JvmName("getHealth")
+            get() = _builder.health
+
+            @JvmName("setHealth")
+            set(value) {
+                _builder.health = value
+            }
+
+        /**
+         * `double health = 7;`
+         */
+        public fun clearHealth() {
+            _builder.clearHealth()
+        }
+
+        /**
+         * `double food_level = 8;`
+         */
+        public var foodLevel: kotlin.Double
+            @JvmName("getFoodLevel")
+            get() = _builder.foodLevel
+
+            @JvmName("setFoodLevel")
+            set(value) {
+                _builder.foodLevel = value
+            }
+
+        /**
+         * `double food_level = 8;`
+         */
+        public fun clearFoodLevel() {
+            _builder.clearFoodLevel()
+        }
+
+        /**
+         * `double saturation_level = 9;`
+         */
+        public var saturationLevel: kotlin.Double
+            @JvmName("getSaturationLevel")
+            get() = _builder.saturationLevel
+
+            @JvmName("setSaturationLevel")
+            set(value) {
+                _builder.saturationLevel = value
+            }
+
+        /**
+         * `double saturation_level = 9;`
+         */
+        public fun clearSaturationLevel() {
+            _builder.clearSaturationLevel()
+        }
+
+        /**
+         * `bool is_dead = 10;`
+         */
+        public var isDead: kotlin.Boolean
+            @JvmName("getIsDead")
+            get() = _builder.isDead
+
+            @JvmName("setIsDead")
+            set(value) {
+                _builder.isDead = value
+            }
+
+        /**
+         * `bool is_dead = 10;`
+         */
+        public fun clearIsDead() {
+            _builder.clearIsDead()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class InventoryProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         */
+        public val inventory:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.inventoryList,
+                )
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         * @param value The inventory to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addInventory")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack,
+        ) {
+            _builder.addInventory(value)
+        }
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         * @param value The inventory to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignInventory")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         * @param values The inventory to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllInventory")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllInventory(values)
+        }
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         * @param values The inventory to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllInventory")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         * @param index The index to set the value at.
+         * @param value The inventory to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setInventory")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack,
+        ) {
+            _builder.setInventory(index, value)
+        }
+
+        /**
+         * `repeated .ItemStack inventory = 11;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearInventory")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearInventory()
+        }
+
+        /**
+         * `.HitResult raycast_result = 12;`
+         */
+        public var raycastResult: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult
+            @JvmName("getRaycastResult")
+            get() = _builder.raycastResult
+
+            @JvmName("setRaycastResult")
+            set(value) {
+                _builder.raycastResult = value
+            }
+
+        /**
+         * `.HitResult raycast_result = 12;`
+         */
+        public fun clearRaycastResult() {
+            _builder.clearRaycastResult()
+        }
+
+        /**
+         * `.HitResult raycast_result = 12;`
+         * @return Whether the raycastResult field is set.
+         */
+        public fun hasRaycastResult(): kotlin.Boolean = _builder.hasRaycastResult()
+
+        public val ObservationSpaceMessageKt.Dsl.raycastResultOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult?
+            get() = _builder.raycastResultOrNull
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class SoundSubtitlesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         */
+        public val soundSubtitles:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.soundSubtitlesList,
+                )
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         * @param value The soundSubtitles to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addSoundSubtitles")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry,
+        ) {
+            _builder.addSoundSubtitles(value)
+        }
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         * @param value The soundSubtitles to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignSoundSubtitles")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         * @param values The soundSubtitles to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllSoundSubtitles")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllSoundSubtitles(values)
+        }
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         * @param values The soundSubtitles to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllSoundSubtitles")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         * @param index The index to set the value at.
+         * @param value The soundSubtitles to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setSoundSubtitles")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry,
+        ) {
+            _builder.setSoundSubtitles(index, value)
+        }
+
+        /**
+         * `repeated .SoundEntry sound_subtitles = 13;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearSoundSubtitles")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearSoundSubtitles()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class StatusEffectsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         */
+        public val statusEffects:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.statusEffectsList,
+                )
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         * @param value The statusEffects to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addStatusEffects")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect,
+        ) {
+            _builder.addStatusEffects(value)
+        }
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         * @param value The statusEffects to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignStatusEffects")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         * @param values The statusEffects to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllStatusEffects")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllStatusEffects(values)
+        }
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         * @param values The statusEffects to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllStatusEffects")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         * @param index The index to set the value at.
+         * @param value The statusEffects to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setStatusEffects")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect,
+        ) {
+            _builder.setStatusEffects(index, value)
+        }
+
+        /**
+         * `repeated .StatusEffect status_effects = 14;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearStatusEffects")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearStatusEffects()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class KilledStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        public val killedStatistics: com.google.protobuf.kotlin.DslMap
+            @kotlin.jvm.JvmSynthetic
+            @JvmName("getKilledStatisticsMap")
+            get() =
+                com.google.protobuf.kotlin.DslMap(
+                    _builder.killedStatisticsMap,
+                )
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        @JvmName("putKilledStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.put(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            _builder.putKilledStatistics(key, value)
+        }
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("setKilledStatistics")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslMap.set(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            put(key, value)
+        }
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("removeKilledStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.remove(key: kotlin.String) {
+            _builder.removeKilledStatistics(key)
+        }
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("putAllKilledStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.putAll(
+            map: kotlin.collections.Map,
+        ) {
+            _builder.putAllKilledStatistics(map)
+        }
+
+        /**
+         * `map killed_statistics = 15;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("clearKilledStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.clear() {
+            _builder.clearKilledStatistics()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class MinedStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        public val minedStatistics: com.google.protobuf.kotlin.DslMap
+            @kotlin.jvm.JvmSynthetic
+            @JvmName("getMinedStatisticsMap")
+            get() =
+                com.google.protobuf.kotlin.DslMap(
+                    _builder.minedStatisticsMap,
+                )
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        @JvmName("putMinedStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.put(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            _builder.putMinedStatistics(key, value)
+        }
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("setMinedStatistics")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslMap.set(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            put(key, value)
+        }
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("removeMinedStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.remove(key: kotlin.String) {
+            _builder.removeMinedStatistics(key)
+        }
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("putAllMinedStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.putAll(
+            map: kotlin.collections.Map,
+        ) {
+            _builder.putAllMinedStatistics(map)
+        }
+
+        /**
+         * `map mined_statistics = 16;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("clearMinedStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.clear() {
+            _builder.clearMinedStatistics()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class MiscStatisticsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        public val miscStatistics: com.google.protobuf.kotlin.DslMap
+            @kotlin.jvm.JvmSynthetic
+            @JvmName("getMiscStatisticsMap")
+            get() =
+                com.google.protobuf.kotlin.DslMap(
+                    _builder.miscStatisticsMap,
+                )
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        @JvmName("putMiscStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.put(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            _builder.putMiscStatistics(key, value)
+        }
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("setMiscStatistics")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslMap.set(
+            key: kotlin.String,
+            value: kotlin.Int,
+        ) {
+            put(key, value)
+        }
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("removeMiscStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.remove(key: kotlin.String) {
+            _builder.removeMiscStatistics(key)
+        }
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("putAllMiscStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.putAll(
+            map: kotlin.collections.Map,
+        ) {
+            _builder.putAllMiscStatistics(map)
+        }
+
+        /**
+         * `map misc_statistics = 17;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("clearMiscStatistics")
+        public fun com.google.protobuf.kotlin.DslMap.clear() {
+            _builder.clearMiscStatistics()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class VisibleEntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         */
+        public val visibleEntities:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.visibleEntitiesList,
+                )
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         * @param value The visibleEntities to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addVisibleEntities")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo,
+        ) {
+            _builder.addVisibleEntities(value)
+        }
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         * @param value The visibleEntities to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignVisibleEntities")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         * @param values The visibleEntities to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllVisibleEntities")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllVisibleEntities(values)
+        }
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         * @param values The visibleEntities to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllVisibleEntities")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         * @param index The index to set the value at.
+         * @param value The visibleEntities to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setVisibleEntities")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo,
+        ) {
+            _builder.setVisibleEntities(index, value)
+        }
+
+        /**
+         * `repeated .EntityInfo visible_entities = 18;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearVisibleEntities")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearVisibleEntities()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class SurroundingEntitiesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        public val surroundingEntities:
+            com.google.protobuf.kotlin.DslMap
+            @kotlin.jvm.JvmSynthetic
+            @JvmName("getSurroundingEntitiesMap")
+            get() =
+                com.google.protobuf.kotlin.DslMap(
+                    _builder.surroundingEntitiesMap,
+                )
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        @JvmName("putSurroundingEntities")
+        public fun com.google.protobuf.kotlin.DslMap.put(
+            key: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance,
+        ) {
+            _builder.putSurroundingEntities(key, value)
+        }
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("setSurroundingEntities")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslMap.set(
+            key: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance,
+        ) {
+            put(key, value)
+        }
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("removeSurroundingEntities")
+        public fun com.google.protobuf.kotlin.DslMap.remove(
+            key: kotlin.Int,
+        ) {
+            _builder.removeSurroundingEntities(key)
+        }
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("putAllSurroundingEntities")
+        public fun com.google.protobuf.kotlin.DslMap.putAll(
+            map: kotlin.collections.Map,
+        ) {
+            _builder.putAllSurroundingEntities(map)
+        }
+
+        /**
+         * `map surrounding_entities = 19;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @JvmName("clearSurroundingEntities")
+        public fun com.google.protobuf.kotlin.DslMap.clear() {
+            _builder.clearSurroundingEntities()
+        }
+
+        /**
+         * `bool bobber_thrown = 20;`
+         */
+        public var bobberThrown: kotlin.Boolean
+            @JvmName("getBobberThrown")
+            get() = _builder.bobberThrown
+
+            @JvmName("setBobberThrown")
+            set(value) {
+                _builder.bobberThrown = value
+            }
+
+        /**
+         * `bool bobber_thrown = 20;`
+         */
+        public fun clearBobberThrown() {
+            _builder.clearBobberThrown()
+        }
+
+        /**
+         * `int32 experience = 21;`
+         */
+        public var experience: kotlin.Int
+            @JvmName("getExperience")
+            get() = _builder.experience
+
+            @JvmName("setExperience")
+            set(value) {
+                _builder.experience = value
+            }
+
+        /**
+         * `int32 experience = 21;`
+         */
+        public fun clearExperience() {
+            _builder.clearExperience()
+        }
+
+        /**
+         * `int64 world_time = 22;`
+         */
+        public var worldTime: kotlin.Long
+            @JvmName("getWorldTime")
+            get() = _builder.worldTime
+
+            @JvmName("setWorldTime")
+            set(value) {
+                _builder.worldTime = value
+            }
+
+        /**
+         * `int64 world_time = 22;`
+         */
+        public fun clearWorldTime() {
+            _builder.clearWorldTime()
+        }
+
+        /**
+         * `string last_death_message = 23;`
+         */
+        public var lastDeathMessage: kotlin.String
+            @JvmName("getLastDeathMessage")
+            get() = _builder.lastDeathMessage
+
+            @JvmName("setLastDeathMessage")
+            set(value) {
+                _builder.lastDeathMessage = value
+            }
+
+        /**
+         * `string last_death_message = 23;`
+         */
+        public fun clearLastDeathMessage() {
+            _builder.clearLastDeathMessage()
+        }
+
+        /**
+         * `bytes image_2 = 24;`
+         */
+        public var image2: com.google.protobuf.ByteString
+            @JvmName("getImage2")
+            get() = _builder.image2
+
+            @JvmName("setImage2")
+            set(value) {
+                _builder.image2 = value
+            }
+
+        /**
+         * `bytes image_2 = 24;`
+         */
+        public fun clearImage2() {
+            _builder.clearImage2()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class SurroundingBlocksProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         */
+        public val surroundingBlocks:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.surroundingBlocksList,
+                )
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         * @param value The surroundingBlocks to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addSurroundingBlocks")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo,
+        ) {
+            _builder.addSurroundingBlocks(value)
+        }
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         * @param value The surroundingBlocks to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignSurroundingBlocks")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo,
+        ) {
+            add(value)
+        }
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         * @param values The surroundingBlocks to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllSurroundingBlocks")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllSurroundingBlocks(values)
+        }
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         * @param values The surroundingBlocks to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllSurroundingBlocks")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         * @param index The index to set the value at.
+         * @param value The surroundingBlocks to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setSurroundingBlocks")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo,
+        ) {
+            _builder.setSurroundingBlocks(index, value)
+        }
+
+        /**
+         * ```
+         * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
+         * ```
+         *
+         * `repeated .BlockInfo surrounding_blocks = 25;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearSurroundingBlocks")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearSurroundingBlocks()
+        }
+
+        /**
+         * `bool eye_in_block = 26;`
+         */
+        public var eyeInBlock: kotlin.Boolean
+            @JvmName("getEyeInBlock")
+            get() = _builder.eyeInBlock
+
+            @JvmName("setEyeInBlock")
+            set(value) {
+                _builder.eyeInBlock = value
+            }
+
+        /**
+         * `bool eye_in_block = 26;`
+         */
+        public fun clearEyeInBlock() {
+            _builder.clearEyeInBlock()
+        }
+
+        /**
+         * `bool suffocating = 27;`
+         */
+        public var suffocating: kotlin.Boolean
+            @JvmName("getSuffocating")
+            get() = _builder.suffocating
+
+            @JvmName("setSuffocating")
+            set(value) {
+                _builder.suffocating = value
+            }
+
+        /**
+         * `bool suffocating = 27;`
+         */
+        public fun clearSuffocating() {
+            _builder.clearSuffocating()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class ChatMessagesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         */
+        public val chatMessages:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.chatMessagesList,
+                )
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         * @param value The chatMessages to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addChatMessages")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo,
+        ) {
+            _builder.addChatMessages(value)
+        }
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         * @param value The chatMessages to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignChatMessages")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         * @param values The chatMessages to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllChatMessages")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllChatMessages(values)
+        }
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         * @param values The chatMessages to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllChatMessages")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         * @param index The index to set the value at.
+         * @param value The chatMessages to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setChatMessages")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo,
+        ) {
+            _builder.setChatMessages(index, value)
+        }
+
+        /**
+         * `repeated .ChatMessageInfo chat_messages = 28;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearChatMessages")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearChatMessages()
+        }
+
+        /**
+         * `.BiomeInfo biome_info = 29;`
+         */
+        public var biomeInfo: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo
+            @JvmName("getBiomeInfo")
+            get() = _builder.biomeInfo
+
+            @JvmName("setBiomeInfo")
+            set(value) {
+                _builder.biomeInfo = value
+            }
+
+        /**
+         * `.BiomeInfo biome_info = 29;`
+         */
+        public fun clearBiomeInfo() {
+            _builder.clearBiomeInfo()
+        }
+
+        /**
+         * `.BiomeInfo biome_info = 29;`
+         * @return Whether the biomeInfo field is set.
+         */
+        public fun hasBiomeInfo(): kotlin.Boolean = _builder.hasBiomeInfo()
+
+        public val ObservationSpaceMessageKt.Dsl.biomeInfoOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo?
+            get() = _builder.biomeInfoOrNull
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class NearbyBiomesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         */
+        public val nearbyBiomes:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.nearbyBiomesList,
+                )
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         * @param value The nearbyBiomes to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addNearbyBiomes")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome,
+        ) {
+            _builder.addNearbyBiomes(value)
+        }
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         * @param value The nearbyBiomes to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignNearbyBiomes")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         * @param values The nearbyBiomes to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllNearbyBiomes")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllNearbyBiomes(values)
+        }
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         * @param values The nearbyBiomes to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllNearbyBiomes")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         * @param index The index to set the value at.
+         * @param value The nearbyBiomes to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setNearbyBiomes")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome,
+        ) {
+            _builder.setNearbyBiomes(index, value)
+        }
+
+        /**
+         * `repeated .NearbyBiome nearby_biomes = 30;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearNearbyBiomes")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearNearbyBiomes()
+        }
+
+        /**
+         * `bool submerged_in_water = 31;`
+         */
+        public var submergedInWater: kotlin.Boolean
+            @JvmName("getSubmergedInWater")
+            get() = _builder.submergedInWater
+
+            @JvmName("setSubmergedInWater")
+            set(value) {
+                _builder.submergedInWater = value
+            }
+
+        /**
+         * `bool submerged_in_water = 31;`
+         */
+        public fun clearSubmergedInWater() {
+            _builder.clearSubmergedInWater()
+        }
+
+        /**
+         * `bool is_in_lava = 32;`
+         */
+        public var isInLava: kotlin.Boolean
+            @JvmName("getIsInLava")
+            get() = _builder.isInLava
+
+            @JvmName("setIsInLava")
+            set(value) {
+                _builder.isInLava = value
+            }
+
+        /**
+         * `bool is_in_lava = 32;`
+         */
+        public fun clearIsInLava() {
+            _builder.clearIsInLava()
+        }
+
+        /**
+         * `bool submerged_in_lava = 33;`
+         */
+        public var submergedInLava: kotlin.Boolean
+            @JvmName("getSubmergedInLava")
+            get() = _builder.submergedInLava
+
+            @JvmName("setSubmergedInLava")
+            set(value) {
+                _builder.submergedInLava = value
+            }
+
+        /**
+         * `bool submerged_in_lava = 33;`
+         */
+        public fun clearSubmergedInLava() {
+            _builder.clearSubmergedInLava()
+        }
+
+        /**
+         * An uninstantiable, behaviorless type to represent the field in
+         * generics.
+         */
+        @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+        public class HeightInfoProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         */
+        public val heightInfo:
+            com.google.protobuf.kotlin.DslList
+            @kotlin.jvm.JvmSynthetic
+            get() =
+                com.google.protobuf.kotlin.DslList(
+                    _builder.heightInfoList,
+                )
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         * @param value The heightInfo to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addHeightInfo")
+        public fun com.google.protobuf.kotlin.DslList.add(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo,
+        ) {
+            _builder.addHeightInfo(value)
+        }
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         * @param value The heightInfo to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignHeightInfo")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo,
+        ) {
+            add(value)
+        }
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         * @param values The heightInfo to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("addAllHeightInfo")
+        public fun com.google.protobuf.kotlin.DslList.addAll(
+            values: kotlin.collections.Iterable,
+        ) {
+            _builder.addAllHeightInfo(values)
+        }
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         * @param values The heightInfo to add.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("plusAssignAllHeightInfo")
+        @Suppress("NOTHING_TO_INLINE")
+        public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(
+            values: kotlin.collections.Iterable,
+        ) {
+            addAll(values)
+        }
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         * @param index The index to set the value at.
+         * @param value The heightInfo to set.
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("setHeightInfo")
+        public operator fun com.google.protobuf.kotlin.DslList.set(
+            index: kotlin.Int,
+            value: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo,
+        ) {
+            _builder.setHeightInfo(index, value)
+        }
+
+        /**
+         * `repeated .HeightInfo height_info = 34;`
+         */
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.jvm.JvmName("clearHeightInfo")
+        public fun com.google.protobuf.kotlin.DslList.clear() {
+            _builder.clearHeightInfo()
+        }
+
+        /**
+         * `bool is_on_ground = 35;`
+         */
+        public var isOnGround: kotlin.Boolean
+            @JvmName("getIsOnGround")
+            get() = _builder.isOnGround
+
+            @JvmName("setIsOnGround")
+            set(value) {
+                _builder.isOnGround = value
+            }
+
+        /**
+         * `bool is_on_ground = 35;`
+         */
+        public fun clearIsOnGround() {
+            _builder.clearIsOnGround()
+        }
+
+        /**
+         * `bool is_touching_water = 36;`
+         */
+        public var isTouchingWater: kotlin.Boolean
+            @JvmName("getIsTouchingWater")
+            get() = _builder.isTouchingWater
+
+            @JvmName("setIsTouchingWater")
+            set(value) {
+                _builder.isTouchingWater = value
+            }
+
+        /**
+         * `bool is_touching_water = 36;`
+         */
+        public fun clearIsTouchingWater() {
+            _builder.clearIsTouchingWater()
+        }
+
+        /**
+         * `bytes ipc_handle = 37;`
+         */
+        public var ipcHandle: com.google.protobuf.ByteString
+            @JvmName("getIpcHandle")
+            get() = _builder.ipcHandle
+
+            @JvmName("setIpcHandle")
+            set(value) {
+                _builder.ipcHandle = value
+            }
+
+        /**
+         * `bytes ipc_handle = 37;`
+         */
+        public fun clearIpcHandle() {
+            _builder.clearIpcHandle()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.ObservationSpaceMessageKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage =
+    `com.kyhsgeekcode.minecraftenv.proto`.ObservationSpaceMessageKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()
+
+public val com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessageOrBuilder.raycastResultOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult?
+    get() = if (hasRaycastResult()) getRaycastResult() else null
+
+public val com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessageOrBuilder.biomeInfoOrNull: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo?
+    get() = if (hasBiomeInfo()) getBiomeInfo() else null
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/SoundEntryKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/SoundEntryKt.kt
new file mode 100644
index 00000000..a6fb28f6
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/SoundEntryKt.kt
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: observation_space.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializesoundEntry")
+public inline fun soundEntry(
+    block: com.kyhsgeekcode.minecraftenv.proto.SoundEntryKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry =
+    com.kyhsgeekcode.minecraftenv.proto.SoundEntryKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `SoundEntry`
+ */
+public object SoundEntryKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder): Dsl = Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry = _builder.build()
+
+        /**
+         * `string translate_key = 1;`
+         */
+        public var translateKey: kotlin.String
+            @JvmName("getTranslateKey")
+            get() = _builder.translateKey
+
+            @JvmName("setTranslateKey")
+            set(value) {
+                _builder.translateKey = value
+            }
+
+        /**
+         * `string translate_key = 1;`
+         */
+        public fun clearTranslateKey() {
+            _builder.clearTranslateKey()
+        }
+
+        /**
+         * `int64 age = 2;`
+         */
+        public var age: kotlin.Long
+            @JvmName("getAge")
+            get() = _builder.age
+
+            @JvmName("setAge")
+            set(value) {
+                _builder.age = value
+            }
+
+        /**
+         * `int64 age = 2;`
+         */
+        public fun clearAge() {
+            _builder.clearAge()
+        }
+
+        /**
+         * `double x = 3;`
+         */
+        public var x: kotlin.Double
+            @JvmName("getX")
+            get() = _builder.x
+
+            @JvmName("setX")
+            set(value) {
+                _builder.x = value
+            }
+
+        /**
+         * `double x = 3;`
+         */
+        public fun clearX() {
+            _builder.clearX()
+        }
+
+        /**
+         * `double y = 4;`
+         */
+        public var y: kotlin.Double
+            @JvmName("getY")
+            get() = _builder.y
+
+            @JvmName("setY")
+            set(value) {
+                _builder.y = value
+            }
+
+        /**
+         * `double y = 4;`
+         */
+        public fun clearY() {
+            _builder.clearY()
+        }
+
+        /**
+         * `double z = 5;`
+         */
+        public var z: kotlin.Double
+            @JvmName("getZ")
+            get() = _builder.z
+
+            @JvmName("setZ")
+            set(value) {
+                _builder.z = value
+            }
+
+        /**
+         * `double z = 5;`
+         */
+        public fun clearZ() {
+            _builder.clearZ()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.SoundEntryKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry =
+    `com.kyhsgeekcode.minecraftenv.proto`.SoundEntryKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/StatusEffectKt.kt b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/StatusEffectKt.kt
new file mode 100644
index 00000000..53dd6635
--- /dev/null
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/StatusEffectKt.kt
@@ -0,0 +1,107 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: observation_space.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+
+package com.kyhsgeekcode.minecraftenv.proto
+
+@kotlin.jvm.JvmName("-initializestatusEffect")
+public inline fun statusEffect(
+    block: com.kyhsgeekcode.minecraftenv.proto.StatusEffectKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect =
+    com.kyhsgeekcode.minecraftenv.proto.StatusEffectKt.Dsl
+        ._create(
+            com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect
+                .newBuilder(),
+        ).apply {
+            block()
+        }._build()
+
+/**
+ * Protobuf type `StatusEffect`
+ */
+public object StatusEffectKt {
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    @com.google.protobuf.kotlin.ProtoDslMarker
+    public class Dsl private constructor(
+        private val _builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder,
+    ) {
+        public companion object {
+            @kotlin.jvm.JvmSynthetic
+            @kotlin.PublishedApi
+            internal fun _create(builder: com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder): Dsl = Dsl(builder)
+        }
+
+        @kotlin.jvm.JvmSynthetic
+        @kotlin.PublishedApi
+        internal fun _build(): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect = _builder.build()
+
+        /**
+         * `string translation_key = 1;`
+         */
+        public var translationKey: kotlin.String
+            @JvmName("getTranslationKey")
+            get() = _builder.translationKey
+
+            @JvmName("setTranslationKey")
+            set(value) {
+                _builder.translationKey = value
+            }
+
+        /**
+         * `string translation_key = 1;`
+         */
+        public fun clearTranslationKey() {
+            _builder.clearTranslationKey()
+        }
+
+        /**
+         * `int32 duration = 2;`
+         */
+        public var duration: kotlin.Int
+            @JvmName("getDuration")
+            get() = _builder.duration
+
+            @JvmName("setDuration")
+            set(value) {
+                _builder.duration = value
+            }
+
+        /**
+         * `int32 duration = 2;`
+         */
+        public fun clearDuration() {
+            _builder.clearDuration()
+        }
+
+        /**
+         * `int32 amplifier = 3;`
+         */
+        public var amplifier: kotlin.Int
+            @JvmName("getAmplifier")
+            get() = _builder.amplifier
+
+            @JvmName("setAmplifier")
+            set(value) {
+                _builder.amplifier = value
+            }
+
+        /**
+         * `int32 amplifier = 3;`
+         */
+        public fun clearAmplifier() {
+            _builder.clearAmplifier()
+        }
+    }
+}
+
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.copy(
+    block: `com.kyhsgeekcode.minecraftenv.proto`.StatusEffectKt.Dsl.() -> kotlin.Unit,
+): com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect =
+    `com.kyhsgeekcode.minecraftenv.proto`.StatusEffectKt.Dsl
+        ._create(this.toBuilder())
+        .apply { block() }
+        ._build()

From ca4ca82f5115dea27d8df46a0a97fea3707fc255 Mon Sep 17 00:00:00 2001
From: Hyeonseo Yang 
Date: Sat, 28 Dec 2024 19:23:17 +0900
Subject: [PATCH 10/15] =?UTF-8?q?=F0=9F=92=9A=20Fix=20clang=20format=20opt?=
 =?UTF-8?q?ion=20to=20use=20file?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/clang-format.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml
index 2f8adf30..ddea6f0d 100644
--- a/.github/workflows/clang-format.yml
+++ b/.github/workflows/clang-format.yml
@@ -20,5 +20,5 @@ jobs:
         run: |
           FILES=$(find . -type f \( -name '*.cpp' -o -name '*.c' -o -name '*.h' -o -name '*.mm' -o -name '*.m' \))
           for file in $FILES; do
-            clang-format --dry-run -Werror $file || exit 1
+            clang-format --dry-run -Werror -style=file $file || exit 1
           done

From 08e79040809d971e3e50f6074321d0c5354a67f7 Mon Sep 17 00:00:00 2001
From: Hyeonseo Yang 
Date: Sat, 28 Dec 2024 19:31:55 +0900
Subject: [PATCH 11/15] =?UTF-8?q?=F0=9F=8E=A8=20Clang=20format=20objc?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 README.md                                     | 13 ++-
 src/cpp/ipc_apple.mm                          | 43 ++++++----
 .../main/cpp/framebuffer_capturer_apple.mm    | 84 ++++++++++---------
 3 files changed, 83 insertions(+), 57 deletions(-)

diff --git a/README.md b/README.md
index a595b32b..095f4726 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ This is the latest development repository of CraftGround environment.
 1. You need to install JDK >= 21
 1. Run the following command to install the package.
     ```shell
-    pip install git+https://github.com/yhs0602/CraftGround
+    pip install craftground
     ```
 1. Take a look at the [the demo repository](https://github.com/yhs0602/CraftGround-Baselines3)!
 1. Here is a simple example that uses this environment.
@@ -249,3 +249,14 @@ https://dejavu-fonts.github.io/License.html
 1. Edit .proto
 2. protoc
 3. Edit python files
+
+
+# Formatting
+## Install formatters
+```zsh
+brew install ktlint clang-format
+```
+```bash
+find . \( -iname '*.h' -o -iname '*.cpp' -o -iname '*.mm' \) | xargs clang-format -i
+ktlint '!src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/**'
+```
\ No newline at end of file
diff --git a/src/cpp/ipc_apple.mm b/src/cpp/ipc_apple.mm
index b6bbffa1..79dbb361 100644
--- a/src/cpp/ipc_apple.mm
+++ b/src/cpp/ipc_apple.mm
@@ -1,10 +1,10 @@
 #include 
-#import 
 #include 
+#import 
 #define GL_SILENCE_DEPRECATION
+#include "ipc_apple.h"
 #include 
 #include 
-#include "ipc_apple.h"
 #include 
 
 IOSurfaceRef getIOSurfaceFromMachPort(mach_port_t machPort) {
@@ -12,44 +12,51 @@ IOSurfaceRef getIOSurfaceFromMachPort(mach_port_t machPort) {
     return ioSurface;
 }
 
-id createMetalTextureFromIOSurface(id device, IOSurfaceRef ioSurface, int width, int height) {
-    MTLTextureDescriptor* descriptor = [[MTLTextureDescriptor alloc] init];
+id createMetalTextureFromIOSurface(
+    id device, IOSurfaceRef ioSurface, int width, int height
+) {
+    MTLTextureDescriptor *descriptor = [[MTLTextureDescriptor alloc] init];
     descriptor.pixelFormat = MTLPixelFormatRGBA8Unorm;
     descriptor.width = width;
     descriptor.height = height;
     descriptor.usage = MTLTextureUsageShaderRead | MTLTextureUsageShaderWrite;
 
-    id texture = [device newTextureWithDescriptor:descriptor iosurface:ioSurface plane:0];
+    id texture = [device newTextureWithDescriptor:descriptor
+                                                    iosurface:ioSurface
+                                                        plane:0];
     return texture;
 }
 
-static void deleteDLManagedTensor(DLManagedTensor* self) {
+static void deleteDLManagedTensor(DLManagedTensor *self) {
     free(self->dl_tensor.shape);
     free(self);
 }
 
-DLManagedTensor* createDLPackTensor(IOSurfaceRef ioSurface, size_t width, size_t height) {
-    DLManagedTensor* tensor = (DLManagedTensor *) malloc(sizeof(DLManagedTensor));
+DLManagedTensor *
+createDLPackTensor(IOSurfaceRef ioSurface, size_t width, size_t height) {
+    DLManagedTensor *tensor =
+        (DLManagedTensor *)malloc(sizeof(DLManagedTensor));
 
     tensor->dl_tensor.data = IOSurfaceGetBaseAddress(ioSurface);
-    tensor->dl_tensor.ndim = 3;  // H x W x C
-    tensor->dl_tensor.shape = (int64_t *) malloc(3 * sizeof(int64_t));
+    tensor->dl_tensor.ndim = 3; // H x W x C
+    tensor->dl_tensor.shape = (int64_t *)malloc(3 * sizeof(int64_t));
     tensor->dl_tensor.shape[0] = height;
     tensor->dl_tensor.shape[1] = width;
-    tensor->dl_tensor.shape[2] = 4;  // RGBA
+    tensor->dl_tensor.shape[2] = 4; // RGBA
     tensor->dl_tensor.strides = NULL;
     tensor->dl_tensor.byte_offset = 0;
 
-    tensor->dl_tensor.dtype = (DLDataType){ kDLUInt, 8, 1 };  // Unsigned 8-bit integer
-    tensor->dl_tensor.device = (DLDevice){ kDLMetal, 0 };      // metal gpu
+    tensor->dl_tensor.dtype =
+        (DLDataType){kDLUInt, 8, 1}; // Unsigned 8-bit integer
+    tensor->dl_tensor.device = (DLDevice){kDLMetal, 0}; // metal gpu
 
     // 메모리 해제 삭제자 설정
     tensor->deleter = deleteDLManagedTensor;
     return tensor;
 }
 
-
-DLManagedTensor* mtl_tensor_from_mach_port(int machPort, int width, int height) {
+DLManagedTensor *
+mtl_tensor_from_mach_port(int machPort, int width, int height) {
     IOSurfaceRef ioSurface = getIOSurfaceFromMachPort((mach_port_t)machPort);
     if (!ioSurface) {
         throw std::runtime_error("Failed to initialize IOSurface");
@@ -60,12 +67,12 @@ static void deleteDLManagedTensor(DLManagedTensor* self) {
         throw std::runtime_error("Failed to create Metal device");
     }
 
-    // id texture = createMetalTextureFromIOSurface(device, ioSurface, width, height);
-    // if (!texture) {
+    // id texture = createMetalTextureFromIOSurface(device,
+    // ioSurface, width, height); if (!texture) {
     //     throw std::runtime_error("Failed to create Metal texture");
     // }
 
-    DLManagedTensor* tensor = createDLPackTensor(ioSurface, width, height);
+    DLManagedTensor *tensor = createDLPackTensor(ioSurface, width, height);
 
     return tensor;
 }
\ No newline at end of file
diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.mm b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.mm
index 455a28d6..bd2b3ef2 100644
--- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.mm
+++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer_apple.mm
@@ -8,20 +8,20 @@
 #include "framebuffer_capturer_apple.h"
 
 IOSurfaceRef createSharedIOSurface(int width, int height) {
-  NSDictionary *surfaceAttributes = @{
-    (id)kIOSurfaceWidth : @(width),
-    (id)kIOSurfaceHeight : @(height),
-    (id)kIOSurfaceBytesPerElement : @(4),     // RGBA8
-    (id)kIOSurfacePixelFormat : @(0x42475241) // 'RGBA'
-  };
+    NSDictionary *surfaceAttributes = @{
+        (id)kIOSurfaceWidth : @(width),
+        (id)kIOSurfaceHeight : @(height),
+        (id)kIOSurfaceBytesPerElement : @(4),     // RGBA8
+        (id)kIOSurfacePixelFormat : @(0x42475241) // 'RGBA'
+    };
 
-  return IOSurfaceCreate((CFDictionaryRef)surfaceAttributes);
+    return IOSurfaceCreate((CFDictionaryRef)surfaceAttributes);
 }
 
 static mach_port_t createMachPortForIOSurface(IOSurfaceRef ioSurface) {
-  mach_port_t machPort = MACH_PORT_NULL;
-  machPort = IOSurfaceCreateMachPort(ioSurface);
-  return machPort;
+    mach_port_t machPort = MACH_PORT_NULL;
+    machPort = IOSurfaceCreateMachPort(ioSurface);
+    return machPort;
 }
 
 static IOSurfaceRef ioSurface;
@@ -29,37 +29,45 @@ static mach_port_t createMachPortForIOSurface(IOSurfaceRef ioSurface) {
 static GLuint textureID;
 
 // TODO: Depth buffer
-int initializeIoSurface(int width, int height, void** return_value) {
-  if (initialized) {
-    return 0;
-  }
+int initializeIoSurface(int width, int height, void **return_value) {
+    if (initialized) {
+        return 0;
+    }
 
-  // If were to use colorAttachment and depthAttachment, they
-  // should be first converted to GL_TEXTURE_RECTANGLE_ARB, from GL_TEXTURE_2D
-  // Therefore, use glCopyTexSubImage2D to copy the contents of the framebuffer
-  // to ARB textures
+    // If were to use colorAttachment and depthAttachment, they
+    // should be first converted to GL_TEXTURE_RECTANGLE_ARB, from GL_TEXTURE_2D
+    // Therefore, use glCopyTexSubImage2D to copy the contents of the
+    // framebuffer to ARB textures
 
-  // Generate a texture
-  glGenTextures(1, &textureID);
-  ioSurface = createSharedIOSurface(width, height);
-  mach_port_t machPort = createMachPortForIOSurface(ioSurface);
-  glBindTexture(GL_TEXTURE_RECTANGLE_ARB, textureID);
-  CGLContextObj cglContext = CGLGetCurrentContext();
-  CGLTexImageIOSurface2D(cglContext, GL_TEXTURE_RECTANGLE_ARB, GL_RGBA, width,
-                         height, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV,
-                         ioSurface, 0);
-  initialized = true;
-  const int size = sizeof(machPort);
-  void* bytes = malloc(size);
-  if(bytes == NULL) {
-    return -1;
-  }
-  memcpy(bytes, &machPort, size);
-  *return_value = bytes;
-  return size;
+    // Generate a texture
+    glGenTextures(1, &textureID);
+    ioSurface = createSharedIOSurface(width, height);
+    mach_port_t machPort = createMachPortForIOSurface(ioSurface);
+    glBindTexture(GL_TEXTURE_RECTANGLE_ARB, textureID);
+    CGLContextObj cglContext = CGLGetCurrentContext();
+    CGLTexImageIOSurface2D(
+        cglContext,
+        GL_TEXTURE_RECTANGLE_ARB,
+        GL_RGBA,
+        width,
+        height,
+        GL_BGRA,
+        GL_UNSIGNED_INT_8_8_8_8_REV,
+        ioSurface,
+        0
+    );
+    initialized = true;
+    const int size = sizeof(machPort);
+    void *bytes = malloc(size);
+    if (bytes == NULL) {
+        return -1;
+    }
+    memcpy(bytes, &machPort, size);
+    *return_value = bytes;
+    return size;
 }
 
 void copyFramebufferToIOSurface(int width, int height) {
-  glBindTexture(GL_TEXTURE_RECTANGLE_ARB, textureID);
-  glCopyTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, 0, 0, 0, 0, width, height);
+    glBindTexture(GL_TEXTURE_RECTANGLE_ARB, textureID);
+    glCopyTexSubImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, 0, 0, 0, 0, width, height);
 }
\ No newline at end of file

From 2127e4a5ea6439da492c63f966704f6efe18ec16 Mon Sep 17 00:00:00 2001
From: Hyeonseo Yang 
Date: Sat, 28 Dec 2024 19:36:47 +0900
Subject: [PATCH 12/15] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Fix=20package=20name?=
 =?UTF-8?q?s=20in=20fabric=20json?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../src/main/cpp/framebuffer_capturer.cpp     | 20 +++++++++----------
 ... com.kyhsgeekcode.minecraftenv.mixin.json} |  2 +-
 .../src/main/resources/fabric.mod.json        | 16 +++++++--------
 3 files changed, 19 insertions(+), 19 deletions(-)
 rename src/craftground/MinecraftEnv/src/main/resources/{com.kyhsgeekcode.minecraft_env.mixin.json => com.kyhsgeekcode.minecraftenv.mixin.json} (93%)

diff --git a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp
index 823b3e48..125137a9 100644
--- a/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp
+++ b/src/craftground/MinecraftEnv/src/main/cpp/framebuffer_capturer.cpp
@@ -114,7 +114,7 @@ bool isExtensionSupported(const char *extName) {
 }
 
 extern "C" JNIEXPORT jboolean JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_checkExtension(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_checkExtension(
     JNIEnv *env, jclass clazz
 ) {
     // Check for the GL_ARB_pixel_buffer_object extension
@@ -122,7 +122,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_checkExtension(
 }
 
 extern "C" JNIEXPORT jboolean JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeGLEW(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_initializeGLEW(
     JNIEnv *env, jclass clazz
 ) {
 #ifdef __APPLE__
@@ -222,7 +222,7 @@ void initCursorTexture() {
 }
 
 extern "C" JNIEXPORT jobject JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_captureFramebufferImpl(
     JNIEnv *env,
     jclass clazz,
     jint textureId,
@@ -369,7 +369,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferImpl(
 #ifdef __APPLE__
 
 extern "C" JNIEXPORT jobject JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_initializeZerocopyImpl(
     JNIEnv *env,
     jclass clazz,
     jint width,
@@ -419,7 +419,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
 }
 
 extern "C" JNIEXPORT void JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopyImpl(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_captureFramebufferZerocopyImpl(
     JNIEnv *env,
     jclass clazz,
     jint frameBufferId,
@@ -457,7 +457,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZeroc
 #include "framebuffer_capturer_cuda.h"
 
 extern "C" JNIEXPORT jobject JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_initializeZerocopyImpl(
     JNIEnv *env,
     jclass clazz,
     jint width,
@@ -472,7 +472,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
 }
 
 extern "C" JNIEXPORT void JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_captureFramebufferZerocopy(
     JNIEnv *env,
     jclass clazz,
     jint frameBufferId,
@@ -508,7 +508,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZeroc
 // TODO: Implement this function for normal mmap IPC based one copy. (GPU ->
 // CPU)
 extern "C" JNIEXPORT jobject JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_initializeZerocopyImpl(
     JNIEnv *env,
     jclass clazz,
     jint width,
@@ -534,7 +534,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_initializeZerocopyImpl(
 // TODO: Implement this function for normal mmap IPC based one copy. (GPU ->
 // CPU)
 extern "C" JNIEXPORT void JNICALL
-Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZerocopy(
+Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_captureFramebufferZerocopy(
     JNIEnv *env,
     jclass clazz,
     jint frameBufferId,
@@ -544,7 +544,7 @@ Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebufferZeroc
     jint mouseX,
     jint mouseY
 ) {
-    Java_com_kyhsgeekcode_minecraft_1env_FramebufferCapturer_captureFramebuffer(
+    Java_com_kyhsgeekcode_minecraftenv_FramebufferCapturer_captureFramebuffer(
         env,
         clazz,
         0,
diff --git a/src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraft_env.mixin.json b/src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraftenv.mixin.json
similarity index 93%
rename from src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraft_env.mixin.json
rename to src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraftenv.mixin.json
index fda783ec..f5710cb3 100644
--- a/src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraft_env.mixin.json
+++ b/src/craftground/MinecraftEnv/src/main/resources/com.kyhsgeekcode.minecraftenv.mixin.json
@@ -1,7 +1,7 @@
 {
   "required": true,
   "minVersion": "0.8",
-  "package": "com.kyhsgeekcode.minecraft_env.mixin",
+  "package": "com.kyhsgeekcode.minecraftenv.mixin",
   "compatibilityLevel": "JAVA_17",
   "mixins": [
     "DisableRegionalComplianceMixin",
diff --git a/src/craftground/MinecraftEnv/src/main/resources/fabric.mod.json b/src/craftground/MinecraftEnv/src/main/resources/fabric.mod.json
index 7273025b..be88f62d 100644
--- a/src/craftground/MinecraftEnv/src/main/resources/fabric.mod.json
+++ b/src/craftground/MinecraftEnv/src/main/resources/fabric.mod.json
@@ -1,22 +1,22 @@
 {
   "schemaVersion": 1,
-  "id": "minecraft_env",
+  "id": "minecraftenv",
   "version": "${version}",
-  "name": "minecraft_env",
+  "name": "minecraftenv",
   "description": "",
   "authors": [],
   "contact": {
-    "repo": "https://github.com/yhs0602/minecraft_env"
+    "repo": "https://github.com/yhs0602/craftground"
   },
   "license": "All-Rights-Reserved",
-  "icon": "assets/minecraft_env/icon.png",
+  "icon": "assets/minecraftenv/icon.png",
   "environment": "*",
   "entrypoints": {
     "client": [
-      "com.kyhsgeekcode.minecraft_env.client.Minecraft_envClient"
+      "com.kyhsgeekcode.minecraftenv.client.Minecraft_envClient"
     ],
     "main": [
-      "com.kyhsgeekcode.minecraft_env.Minecraft_env"
+      "com.kyhsgeekcode.minecraftenv.MinecraftEnv"
     ]
   },
   "depends": {
@@ -25,12 +25,12 @@
     "minecraft": "${minecraft_version}"
   },
   "mixins": [
-    "com.kyhsgeekcode.minecraft_env.mixin.json"
+    "com.kyhsgeekcode.minecraftenv.mixin.json"
   ],
   "custom": {
     "loom:injected_interfaces": {
       "net/minecraft/class_761": [
-        "com/kyhsgeekcode/minecraft_env/AddListenerInterface"
+        "com/kyhsgeekcode/minecraftenv/AddListenerInterface"
       ]
     }
   }

From a42d86993e84c6856f6bfb459da27e6029f84534 Mon Sep 17 00:00:00 2001
From: Hyeonseo Yang 
Date: Sat, 28 Dec 2024 19:41:46 +0900
Subject: [PATCH 13/15] =?UTF-8?q?=F0=9F=8E=A8=20Java=20formatter?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/java-format.yml             |    18 +
 README.md                                     |     3 +-
 .../minecraftenv/AddListenerInterface.java    |    17 +-
 .../minecraftenv/GetMessagesInterface.java    |    10 +-
 .../kyhsgeekcode/minecraftenv/Point3D.java    |     4 +-
 .../client/Minecraft_envClient.java           |    18 +-
 .../mixin/ChatVisibleMessageAccessor.java     |     7 +-
 ...entCommonNetworkHandlerClientAccessor.java |     7 +-
 .../ClientEntityRenderDispatcherAccessor.java |     4 +-
 .../mixin/ClientIsWindowFocusedMixin.java     |     8 +-
 .../mixin/ClientPlayNetworkHandlerMixin.java  |    19 +-
 .../mixin/ClientRenderInvoker.java            |     7 +-
 .../minecraftenv/mixin/ClientWorldMixin.java  |    19 +-
 .../mixin/DisableRegionalComplianceMixin.java |    10 +-
 .../minecraftenv/mixin/GammaMixin.java        |    39 +-
 .../minecraftenv/mixin/InputUtilMixin.java    |    48 +-
 .../mixin/MinecraftServer_tickspeedMixin.java |   390 +-
 .../minecraftenv/mixin/MouseXYAccessor.java   |     8 +-
 .../minecraftenv/mixin/RenderMixin.java       |    38 +-
 .../mixin/RenderSystemPollEventsInvoker.java  |     6 +-
 .../mixin/RenderTickCounterAccessor.java      |    12 +-
 .../minecraftenv/mixin/SaveWorldMixin.java    |    11 +-
 ...rPlayNetworkHandlerDisableSpamChecker.java |     8 +-
 .../minecraftenv/mixin/TickSpeedMixin.java    |    34 +-
 .../mixin/WindowOffScreenMixin.java           |    14 +-
 .../mixin/WindowSizeAccessor.java             |     8 +-
 .../WorldRendererCallEntityRenderMixin.java   |    41 +-
 .../minecraftenv/proto/ActionSpace.java       |  1211 +-
 .../proto/InitialEnvironment.java             |  2574 ++--
 .../minecraftenv/proto/ObservationSpace.java  | 10942 +++++++++-------
 30 files changed, 8905 insertions(+), 6630 deletions(-)
 create mode 100644 .github/workflows/java-format.yml

diff --git a/.github/workflows/java-format.yml b/.github/workflows/java-format.yml
new file mode 100644
index 00000000..5771ba37
--- /dev/null
+++ b/.github/workflows/java-format.yml
@@ -0,0 +1,18 @@
+name: Java Format Check
+
+on:
+  pull_request:
+    paths:
+      - '**/*.java'
+
+jobs:
+  format-check:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - name: Install google-java-format
+        run: |
+          curl -Lo google-java-format.jar https://github.com/google/google-java-format/releases/download/v1.17.0/google-java-format-1.17.0-all-deps.jar
+      - name: Check formatting
+        run: |
+          java -jar google-java-format.jar --dry-run --set-exit-if-changed $(find . -name '*.java')
diff --git a/README.md b/README.md
index 095f4726..162fcc8c 100644
--- a/README.md
+++ b/README.md
@@ -254,9 +254,10 @@ https://dejavu-fonts.github.io/License.html
 # Formatting
 ## Install formatters
 ```zsh
-brew install ktlint clang-format
+brew install ktlint clang-format google-java-format
 ```
 ```bash
 find . \( -iname '*.h' -o -iname '*.cpp' -o -iname '*.mm' \) | xargs clang-format -i
 ktlint '!src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/**'
+find . -name '*.java' -print0 | xargs -0 -P 4 google-java-format -i
 ```
\ No newline at end of file
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java
index 475b909d..e8fd52ed 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/AddListenerInterface.java
@@ -1,18 +1,17 @@
 package com.kyhsgeekcode.minecraftenv;
 
-import org.jetbrains.annotations.NotNull;
-
 import java.util.ArrayList;
 import java.util.List;
+import org.jetbrains.annotations.NotNull;
 
 public interface AddListenerInterface {
-    List listeners = new ArrayList<>();
+  List listeners = new ArrayList<>();
 
-    default void addRenderListener(@NotNull EntityRenderListener listener) {
-        listeners.add(listener);
-    }
+  default void addRenderListener(@NotNull EntityRenderListener listener) {
+    listeners.add(listener);
+  }
 
-    default List getRenderListeners() {
-        return listeners;
-    }
+  default List getRenderListeners() {
+    return listeners;
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java
index 466f8234..63edfaf2 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/GetMessagesInterface.java
@@ -4,9 +4,9 @@
 import java.util.List;
 
 public interface GetMessagesInterface {
-    ArrayList lastDeathMessage = new ArrayList<>();
+  ArrayList lastDeathMessage = new ArrayList<>();
 
-    default List getLastDeathMessage() {
-        return lastDeathMessage;
-    }
-}
\ No newline at end of file
+  default List getLastDeathMessage() {
+    return lastDeathMessage;
+  }
+}
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java
index 9bfd8bc5..3ee35ce6 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/Point3D.java
@@ -1,5 +1,3 @@
 package com.kyhsgeekcode.minecraftenv;
 
-public record Point3D(int x, int y, int z) {
-
-}
+public record Point3D(int x, int y, int z) {}
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java
index dee7a8dd..32c4048d 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/client/Minecraft_envClient.java
@@ -3,14 +3,14 @@
 import net.fabricmc.api.ClientModInitializer;
 
 public class Minecraft_envClient implements ClientModInitializer {
-    @Override
-    public void onInitializeClient() {
-        System.out.println("Hello Fabric world! client");
-        var ld_preload = System.getenv("LD_PRELOAD");
-        if (ld_preload != null) {
-            System.out.println("LD_PRELOAD is set: " + ld_preload);
-        } else {
-            System.out.println("LD_PRELOAD is not set");
-        }
+  @Override
+  public void onInitializeClient() {
+    System.out.println("Hello Fabric world! client");
+    var ld_preload = System.getenv("LD_PRELOAD");
+    if (ld_preload != null) {
+      System.out.println("LD_PRELOAD is set: " + ld_preload);
+    } else {
+      System.out.println("LD_PRELOAD is not set");
     }
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java
index 50616772..3446098a 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ChatVisibleMessageAccessor.java
@@ -1,13 +1,12 @@
 package com.kyhsgeekcode.minecraftenv.mixin;
 
+import java.util.List;
 import net.minecraft.client.gui.hud.ChatHudLine;
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.gen.Accessor;
 
-import java.util.List;
-
 @Mixin(net.minecraft.client.gui.hud.ChatHud.class)
 public interface ChatVisibleMessageAccessor {
-    @Accessor("visibleMessages")
-    List getVisibleMessages();
+  @Accessor("visibleMessages")
+  List getVisibleMessages();
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java
index b43f70d3..35d1e48d 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientCommonNetworkHandlerClientAccessor.java
@@ -4,9 +4,8 @@
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.gen.Accessor;
 
-
 @Mixin(net.minecraft.client.network.ClientCommonNetworkHandler.class)
 public interface ClientCommonNetworkHandlerClientAccessor {
-    @Accessor("client")
-    MinecraftClient getClient();
-}
\ No newline at end of file
+  @Accessor("client")
+  MinecraftClient getClient();
+}
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java
index 35f3cfa5..41faeed4 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientEntityRenderDispatcherAccessor.java
@@ -6,6 +6,6 @@
 
 @Mixin(net.minecraft.client.MinecraftClient.class)
 public interface ClientEntityRenderDispatcherAccessor {
-    @Accessor("entityRenderDispatcher")
-    EntityRenderDispatcher getEntityRenderDispatcher();
+  @Accessor("entityRenderDispatcher")
+  EntityRenderDispatcher getEntityRenderDispatcher();
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java
index f16db6b4..511f8402 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientIsWindowFocusedMixin.java
@@ -6,8 +6,8 @@
 
 @Mixin(MinecraftClient.class)
 public class ClientIsWindowFocusedMixin {
-    @Overwrite
-    public boolean isWindowFocused() {
-        return true;
-    }
+  @Overwrite
+  public boolean isWindowFocused() {
+    return true;
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java
index 9929ffc4..bd9133c4 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientPlayNetworkHandlerMixin.java
@@ -13,16 +13,15 @@
 
 @Mixin(ClientPlayNetworkHandler.class)
 public class ClientPlayNetworkHandlerMixin implements GetMessagesInterface {
-    @Shadow
-    private ClientWorld world;
+  @Shadow private ClientWorld world;
 
-    @Inject(method = "onDeathMessage", at = @At("HEAD"), cancellable = false)
-    public void onDeathMessage(DeathMessageS2CPacket packet, CallbackInfo ci) {
-        Entity entity = this.world.getEntityById(packet.playerId());
-        if (entity == ((ClientCommonNetworkHandlerClientAccessor) this).getClient().player) {
-            var message = packet.message();
-            this.lastDeathMessage.clear();
-            this.lastDeathMessage.add(message.getString());
-        }
+  @Inject(method = "onDeathMessage", at = @At("HEAD"), cancellable = false)
+  public void onDeathMessage(DeathMessageS2CPacket packet, CallbackInfo ci) {
+    Entity entity = this.world.getEntityById(packet.playerId());
+    if (entity == ((ClientCommonNetworkHandlerClientAccessor) this).getClient().player) {
+      var message = packet.message();
+      this.lastDeathMessage.clear();
+      this.lastDeathMessage.add(message.getString());
     }
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java
index b52df9fd..ba5805d2 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientRenderInvoker.java
@@ -4,9 +4,8 @@
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.gen.Invoker;
 
-
 @Mixin(MinecraftClient.class)
 public interface ClientRenderInvoker {
-    @Invoker("render")
-    void invokeRender(boolean tick);
-}
\ No newline at end of file
+  @Invoker("render")
+  void invokeRender(boolean tick);
+}
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java
index 8b594d1a..6e099f9f 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ClientWorldMixin.java
@@ -9,12 +9,17 @@
 
 @Mixin(WorldRenderer.class)
 public class ClientWorldMixin {
-    @Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/world/ClientWorld;getEntities()Ljava/lang/Iterable;"))
-    private Iterable getEntities(net.minecraft.client.world.ClientWorld clientWorld) {
-        var listeners = ((AddListenerInterface) this).getRenderListeners();
-        for (var listener : listeners) {
-            listener.clear();
-        }
-        return clientWorld.getEntities();
+  @Redirect(
+      method = "render",
+      at =
+          @At(
+              value = "INVOKE",
+              target = "Lnet/minecraft/client/world/ClientWorld;getEntities()Ljava/lang/Iterable;"))
+  private Iterable getEntities(net.minecraft.client.world.ClientWorld clientWorld) {
+    var listeners = ((AddListenerInterface) this).getRenderListeners();
+    for (var listener : listeners) {
+      listener.clear();
     }
+    return clientWorld.getEntities();
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java
index 4b9872dc..0231ed3e 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/DisableRegionalComplianceMixin.java
@@ -10,10 +10,10 @@
 
 @Mixin(ReloadableResourceManagerImpl.class)
 public class DisableRegionalComplianceMixin {
-    @Inject(method = "registerReloader", at = @At("HEAD"), cancellable = true)
-    private void registerReloader(ResourceReloader reloader, CallbackInfo ci) {
-        if (reloader instanceof PeriodicNotificationManager) {
-            ci.cancel(); // cancel the reload
-        }
+  @Inject(method = "registerReloader", at = @At("HEAD"), cancellable = true)
+  private void registerReloader(ResourceReloader reloader, CallbackInfo ci) {
+    if (reloader instanceof PeriodicNotificationManager) {
+      ci.cancel(); // cancel the reload
     }
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java
index c97ee797..9ec1a0a2 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/GammaMixin.java
@@ -34,31 +34,24 @@
 @Mixin(SimpleOption.class)
 public class GammaMixin {
 
-    @Shadow
-    @Final
-    Text text;
+  @Shadow @Final Text text;
 
-    @Shadow
-    T value;
+  @Shadow T value;
 
-    /**
-     * Mixin to allow saving "invalid" gamma values into the options file
-     */
-    @Inject(method = "getCodec", at = @At("HEAD"), cancellable = true)
-    private void returnFakeCodec(CallbackInfoReturnable> info) {
-        if (text.getString().equals(I18n.translate("options.gamma"))) {
-            info.setReturnValue(Codec.DOUBLE);
-        }
+  /** Mixin to allow saving "invalid" gamma values into the options file */
+  @Inject(method = "getCodec", at = @At("HEAD"), cancellable = true)
+  private void returnFakeCodec(CallbackInfoReturnable> info) {
+    if (text.getString().equals(I18n.translate("options.gamma"))) {
+      info.setReturnValue(Codec.DOUBLE);
     }
+  }
 
-    /**
-     * Mixin to allow setting "invalid" gamma values
-     */
-    @Inject(method = "setValue", at = @At("HEAD"), cancellable = true)
-    private void setRealValue(T value, CallbackInfo info) {
-        if (text.getString().equals(I18n.translate("options.gamma"))) {
-            this.value = value;
-            info.cancel();
-        }
+  /** Mixin to allow setting "invalid" gamma values */
+  @Inject(method = "setValue", at = @At("HEAD"), cancellable = true)
+  private void setRealValue(T value, CallbackInfo info) {
+    if (text.getString().equals(I18n.translate("options.gamma"))) {
+      this.value = value;
+      info.cancel();
     }
-}
\ No newline at end of file
+  }
+}
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java
index 49fa9437..f7004308 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/InputUtilMixin.java
@@ -8,28 +8,34 @@
 
 @Mixin(net.minecraft.client.util.InputUtil.class)
 public class InputUtilMixin {
-    @Overwrite
-    public static boolean isKeyPressed(long handle, int code) {
-        return KeyboardInfo.INSTANCE.isKeyPressed(code);
-    }
+  @Overwrite
+  public static boolean isKeyPressed(long handle, int code) {
+    return KeyboardInfo.INSTANCE.isKeyPressed(code);
+  }
 
-    @Overwrite
-    public static void setMouseCallbacks(long handle, GLFWCursorPosCallbackI cursorPosCallback, GLFWMouseButtonCallbackI mouseButtonCallback, GLFWScrollCallbackI scrollCallback, GLFWDropCallbackI dropCallback) {
-        MouseInfo.INSTANCE.setCursorPosCallback(cursorPosCallback);
-        MouseInfo.INSTANCE.setMouseButtonCallback(mouseButtonCallback);
-        MouseInfo.INSTANCE.setHandle(handle);
-    }
+  @Overwrite
+  public static void setMouseCallbacks(
+      long handle,
+      GLFWCursorPosCallbackI cursorPosCallback,
+      GLFWMouseButtonCallbackI mouseButtonCallback,
+      GLFWScrollCallbackI scrollCallback,
+      GLFWDropCallbackI dropCallback) {
+    MouseInfo.INSTANCE.setCursorPosCallback(cursorPosCallback);
+    MouseInfo.INSTANCE.setMouseButtonCallback(mouseButtonCallback);
+    MouseInfo.INSTANCE.setHandle(handle);
+  }
 
-    @Overwrite
-    public static void setCursorParameters(long handler, int inputModeValue, double x, double y) {
-        MouseInfo.INSTANCE.setCursorPos(x, y);
-        MouseInfo.INSTANCE.setCursorShown(inputModeValue == GLFW.GLFW_CURSOR_NORMAL);
-    }
+  @Overwrite
+  public static void setCursorParameters(long handler, int inputModeValue, double x, double y) {
+    MouseInfo.INSTANCE.setCursorPos(x, y);
+    MouseInfo.INSTANCE.setCursorShown(inputModeValue == GLFW.GLFW_CURSOR_NORMAL);
+  }
 
-    @Overwrite
-    public static void setKeyboardCallbacks(long handle, GLFWKeyCallbackI keyCallback, GLFWCharModsCallbackI charModsCallback) {
-        KeyboardInfo.INSTANCE.setKeyCallback(keyCallback);
-        KeyboardInfo.INSTANCE.setCharModsCallback(charModsCallback);
-        KeyboardInfo.INSTANCE.setHandle(handle);
-    }
+  @Overwrite
+  public static void setKeyboardCallbacks(
+      long handle, GLFWKeyCallbackI keyCallback, GLFWCharModsCallbackI charModsCallback) {
+    KeyboardInfo.INSTANCE.setKeyCallback(keyCallback);
+    KeyboardInfo.INSTANCE.setCharModsCallback(charModsCallback);
+    KeyboardInfo.INSTANCE.setHandle(handle);
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java
index 5ab5308b..4a64e187 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MinecraftServer_tickspeedMixin.java
@@ -1,6 +1,6 @@
 package com.kyhsgeekcode.minecraftenv.mixin;
 
-import com.kyhsgeekcode.minecraftenv.TickSpeed;
+import java.util.function.BooleanSupplier;
 import net.minecraft.server.MinecraftServer;
 import net.minecraft.server.ServerTask;
 import net.minecraft.server.ServerTickManager;
@@ -8,7 +8,6 @@
 import net.minecraft.util.TimeHelper;
 import net.minecraft.util.Util;
 import net.minecraft.util.profiler.Profiler;
-import net.minecraft.util.profiling.jfr.FlightProfiler;
 import net.minecraft.util.thread.ReentrantThreadExecutor;
 import org.apache.commons.lang3.tuple.Pair;
 import org.slf4j.Logger;
@@ -16,206 +15,197 @@
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.Shadow;
 import org.spongepowered.asm.mixin.Unique;
-import org.spongepowered.asm.mixin.injection.At;
-import org.spongepowered.asm.mixin.injection.Inject;
-import org.spongepowered.asm.mixin.injection.Redirect;
-import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
-
-import java.util.function.BooleanSupplier;
 
 // https://github.com/gnembon/fabric-carpet/blob/master/src/main/java/carpet/mixins/MinecraftServer_tickspeedMixin.java
 @Mixin(value = MinecraftServer.class, priority = Integer.MAX_VALUE - 10)
 public abstract class MinecraftServer_tickspeedMixin extends ReentrantThreadExecutor {
-    @Shadow
-    @Final
-    private static Logger LOGGER;
-    // just because profilerTimings class is public
-    Pair profilerTimings = null;
-    @Shadow
-    private volatile boolean running;
-    //    @Shadow
-//    private long timeReference;
-    @Shadow
-    private Profiler profiler;
-    //    @Shadow
-//    private long nextTickTimestamp;
-    @Shadow
-    private volatile boolean loading;
-    //    @Shadow
-//    private long lastTimeReference;
-    @Shadow
-    private boolean waitingForNextTick;
-    @Shadow
-    private int ticks;
-    @Shadow
-    private boolean needsDebugSetup;
-    @Unique
-    private float carpetMsptAccum = 0.0f;
-
-    @Shadow
-    private long lastOverloadWarningNanos;
-
-    public MinecraftServer_tickspeedMixin(String name) {
-        super(name);
-    }
-
-    @Shadow
-    public abstract void tick(BooleanSupplier booleanSupplier_1);
-
-    @Shadow
-    protected abstract boolean shouldKeepTicking();
-
-    @Shadow
-    public abstract Iterable getWorlds();
-
-    @Shadow
-    protected abstract void runTasksTillTickEnd();
-
-    @Shadow
-    protected abstract void startTickMetrics();
-
-    @Shadow
-    protected abstract void endTickMetrics();
-
-    @Shadow
-    public abstract boolean isPaused();
-
-    @Shadow
-    public abstract ServerTickManager getTickManager();
-
-    @Shadow
-    private long tickStartTimeNanos = Util.getMeasuringTimeNano();
-
-    @Shadow
-    private static final long OVERLOAD_THRESHOLD_NANOS = 20L * TimeHelper.SECOND_IN_NANOS / 20L;
-
-    @Shadow
-    private long tickEndTimeNanos;
-
-    @Shadow
-    private void startTaskPerformanceLog() {
-    }
-
-    @Shadow
-    private void pushPerformanceLogs() {
-    }
-
-    @Shadow
-    private void pushFullTickLog() {
-    }
-
-    @Shadow
-    private float averageTickTime;
-
-//    // Cancel the while statement
-//    @Redirect(method = "runServer", at = @At(value = "FIELD", target = "Lnet/minecraft/server/MinecraftServer;running:Z"))
-//    private boolean cancelRunLoop(MinecraftServer server) {
-//        return false;
-//    } // target run()
-
-    // Replaced the above cancelled while statement with this one
-    // could possibly just inject that mspt selection at the beginning of the loop, but then adding all mspt's to
-    // replace 50L will be a hassle
-//    @Inject(method = "runServer", at = @At(value = "INVOKE", shift = At.Shift.AFTER,
-//            target = "Lnet/minecraft/server/MinecraftServer;createMetadata()Lnet/minecraft/server/ServerMetadata;"))
-//    private void modifiedRunLoop(CallbackInfo ci) {
-////        while (this.running) {
-////            //long long_1 = Util.getMeasuringTimeMs() - this.timeReference;
-////            //CM deciding on tick speed
-////            long msThisTick = 0L;
-////            long long_1 = 0L;
-////
-////            msThisTick = (long) carpetMsptAccum; // regular tick
-////            carpetMsptAccum += TickSpeed.INSTANCE.getMspt() - msThisTick;
-////
-////            long_1 = Util.getMeasuringTimeMs() - this.timeReference;
-////
-////            //end tick deciding
-////            //smoothed out delay to include mcpt component. With 50L gives defaults.
-////            if (long_1 > /*2000L*/1000L + 20 * TickSpeed.INSTANCE.getMspt() && this.timeReference - this.lastTimeReference >= /*15000L*/10000L + 100 * TickSpeed.INSTANCE.getMspt()) {
-////                long long_2 = long_1 / TickSpeed.INSTANCE.getMspt();//50L;
-////                LOGGER.warn("Can't keep up! Is the server overloaded? Running {}ms or {} ticks behind", long_1, long_2);
-////                this.timeReference += long_2 * TickSpeed.INSTANCE.getMspt();//50L;
-////                this.lastTimeReference = this.timeReference;
-////            }
-////
-////            if (this.needsDebugSetup) {
-////                this.needsDebugSetup = false;
-////                this.profilerTimings = Pair.of(Util.getMeasuringTimeNano(), ticks);
-////                //this.field_33978 = new MinecraftServer.class_6414(Util.getMeasuringTimeNano(), this.ticks);
-////            }
-////            this.timeReference += msThisTick;//50L;
-////            //TickDurationMonitor tickDurationMonitor = TickDurationMonitor.create("Server");
-////            //this.startMonitor(tickDurationMonitor);
-////            this.startTickMetrics();
-////            this.profiler.push("tick");
-////            this.tick(this::shouldKeepTicking);
-////            this.profiler.swap("nextTickWait");
-////            while (this.runEveryTask()) {
-////                Thread.yield();
-////            } // ?
-////            this.waitingForNextTick = true;
-////            this.nextTickTimestamp = Math.max(Util.getMeasuringTimeMs() + /*50L*/ msThisTick, this.timeReference);
-////            // run all tasks (this will not do a lot when warping), but that's fine since we already run them
-////            this.runTasksTillTickEnd();//            this.runTasks();
-//////            this.runTasks();
-////            this.profiler.pop();
-////            this.endTickMetrics();
-////            this.loading = true;
-//
-//            boolean bl;
-//            long l;
-//            var tickManager = this.getTickManager();
-//            if (!this.isPaused() && tickManager.isSprinting() && tickManager.sprint()) {
-//                l = 0L;
-//                this.lastOverloadWarningNanos = this.tickStartTimeNanos = Util.getMeasuringTimeNano();
-//            } else {
-//                l = tickManager.getNanosPerTick();
-//                long m = Util.getMeasuringTimeNano() - this.tickStartTimeNanos;
-//                if (m > OVERLOAD_THRESHOLD_NANOS + 20L * l && this.tickStartTimeNanos - this.lastOverloadWarningNanos >= OVERLOAD_WARNING_INTERVAL_NANOS + 100L * l) {
-//                    long n = m / l;
-//                    LOGGER.warn("Can't keep up! Is the server overloaded? Running {}ms or {} ticks behind", (Object) (m / TimeHelper.MILLI_IN_NANOS), (Object) n);
-//                    this.tickStartTimeNanos += n * l;
-//                    this.lastOverloadWarningNanos = this.tickStartTimeNanos;
-//                }
-//            }
-//            boolean bl2 = bl = l == 0L;
-//            if (this.needsDebugSetup) {
-//                this.needsDebugSetup = false;
-//            }
-//            this.tickStartTimeNanos += l;
-//            this.startTickMetrics();
-//            this.profiler.push("tick");
-//            this.tick(bl ? () -> false : this::shouldKeepTicking);
-//            this.profiler.swap("nextTickWait");
-//            this.waitingForNextTick = true;
-//            this.tickEndTimeNanos = Math.max(Util.getMeasuringTimeNano() + l, this.tickStartTimeNanos);
-//            this.startTaskPerformanceLog();
-//            this.runTasksTillTickEnd();
-//            this.pushPerformanceLogs();
-//            if (bl) {
-//                tickManager.updateSprintTime();
-//            }
-//            this.profiler.pop();
-//            this.pushFullTickLog();
-//            this.endTickMetrics();
-//            this.loading = true;
-//            FlightProfiler.INSTANCE.onTick(this.averageTickTime);
-//        }
-//    }
-
-//    private boolean runEveryTask() {
-//        if (super.runTask()) {
-//            return true;
-//        } else {
-//            if (true) { // unconditionally this time
-//                for (ServerWorld serverlevel : getWorlds()) {
-//                    if (serverlevel.getChunkManager().executeQueuedTasks()) {
-//                        return true;
-//                    }
-//                }
-//            }
-//            return false;
-//        }
-//    }
+  @Shadow @Final private static Logger LOGGER;
+  // just because profilerTimings class is public
+  Pair profilerTimings = null;
+  @Shadow private volatile boolean running;
+  //    @Shadow
+  //    private long timeReference;
+  @Shadow private Profiler profiler;
+  //    @Shadow
+  //    private long nextTickTimestamp;
+  @Shadow private volatile boolean loading;
+  //    @Shadow
+  //    private long lastTimeReference;
+  @Shadow private boolean waitingForNextTick;
+  @Shadow private int ticks;
+  @Shadow private boolean needsDebugSetup;
+  @Unique private float carpetMsptAccum = 0.0f;
+
+  @Shadow private long lastOverloadWarningNanos;
+
+  public MinecraftServer_tickspeedMixin(String name) {
+    super(name);
+  }
+
+  @Shadow
+  public abstract void tick(BooleanSupplier booleanSupplier_1);
+
+  @Shadow
+  protected abstract boolean shouldKeepTicking();
+
+  @Shadow
+  public abstract Iterable getWorlds();
+
+  @Shadow
+  protected abstract void runTasksTillTickEnd();
+
+  @Shadow
+  protected abstract void startTickMetrics();
+
+  @Shadow
+  protected abstract void endTickMetrics();
+
+  @Shadow
+  public abstract boolean isPaused();
+
+  @Shadow
+  public abstract ServerTickManager getTickManager();
+
+  @Shadow private long tickStartTimeNanos = Util.getMeasuringTimeNano();
+
+  @Shadow
+  private static final long OVERLOAD_THRESHOLD_NANOS = 20L * TimeHelper.SECOND_IN_NANOS / 20L;
+
+  @Shadow private long tickEndTimeNanos;
+
+  @Shadow
+  private void startTaskPerformanceLog() {}
+
+  @Shadow
+  private void pushPerformanceLogs() {}
+
+  @Shadow
+  private void pushFullTickLog() {}
+
+  @Shadow private float averageTickTime;
+
+  //    // Cancel the while statement
+  //    @Redirect(method = "runServer", at = @At(value = "FIELD", target =
+  // "Lnet/minecraft/server/MinecraftServer;running:Z"))
+  //    private boolean cancelRunLoop(MinecraftServer server) {
+  //        return false;
+  //    } // target run()
+
+  // Replaced the above cancelled while statement with this one
+  // could possibly just inject that mspt selection at the beginning of the loop, but then adding
+  // all mspt's to
+  // replace 50L will be a hassle
+  //    @Inject(method = "runServer", at = @At(value = "INVOKE", shift = At.Shift.AFTER,
+  //            target =
+  // "Lnet/minecraft/server/MinecraftServer;createMetadata()Lnet/minecraft/server/ServerMetadata;"))
+  //    private void modifiedRunLoop(CallbackInfo ci) {
+  ////        while (this.running) {
+  ////            //long long_1 = Util.getMeasuringTimeMs() - this.timeReference;
+  ////            //CM deciding on tick speed
+  ////            long msThisTick = 0L;
+  ////            long long_1 = 0L;
+  ////
+  ////            msThisTick = (long) carpetMsptAccum; // regular tick
+  ////            carpetMsptAccum += TickSpeed.INSTANCE.getMspt() - msThisTick;
+  ////
+  ////            long_1 = Util.getMeasuringTimeMs() - this.timeReference;
+  ////
+  ////            //end tick deciding
+  ////            //smoothed out delay to include mcpt component. With 50L gives defaults.
+  ////            if (long_1 > /*2000L*/1000L + 20 * TickSpeed.INSTANCE.getMspt() &&
+  // this.timeReference - this.lastTimeReference >= /*15000L*/10000L + 100 *
+  // TickSpeed.INSTANCE.getMspt()) {
+  ////                long long_2 = long_1 / TickSpeed.INSTANCE.getMspt();//50L;
+  ////                LOGGER.warn("Can't keep up! Is the server overloaded? Running {}ms or {} ticks
+  // behind", long_1, long_2);
+  ////                this.timeReference += long_2 * TickSpeed.INSTANCE.getMspt();//50L;
+  ////                this.lastTimeReference = this.timeReference;
+  ////            }
+  ////
+  ////            if (this.needsDebugSetup) {
+  ////                this.needsDebugSetup = false;
+  ////                this.profilerTimings = Pair.of(Util.getMeasuringTimeNano(), ticks);
+  ////                //this.field_33978 = new
+  // MinecraftServer.class_6414(Util.getMeasuringTimeNano(), this.ticks);
+  ////            }
+  ////            this.timeReference += msThisTick;//50L;
+  ////            //TickDurationMonitor tickDurationMonitor = TickDurationMonitor.create("Server");
+  ////            //this.startMonitor(tickDurationMonitor);
+  ////            this.startTickMetrics();
+  ////            this.profiler.push("tick");
+  ////            this.tick(this::shouldKeepTicking);
+  ////            this.profiler.swap("nextTickWait");
+  ////            while (this.runEveryTask()) {
+  ////                Thread.yield();
+  ////            } // ?
+  ////            this.waitingForNextTick = true;
+  ////            this.nextTickTimestamp = Math.max(Util.getMeasuringTimeMs() + /*50L*/ msThisTick,
+  // this.timeReference);
+  ////            // run all tasks (this will not do a lot when warping), but that's fine since we
+  // already run them
+  ////            this.runTasksTillTickEnd();//            this.runTasks();
+  //////            this.runTasks();
+  ////            this.profiler.pop();
+  ////            this.endTickMetrics();
+  ////            this.loading = true;
+  //
+  //            boolean bl;
+  //            long l;
+  //            var tickManager = this.getTickManager();
+  //            if (!this.isPaused() && tickManager.isSprinting() && tickManager.sprint()) {
+  //                l = 0L;
+  //                this.lastOverloadWarningNanos = this.tickStartTimeNanos =
+  // Util.getMeasuringTimeNano();
+  //            } else {
+  //                l = tickManager.getNanosPerTick();
+  //                long m = Util.getMeasuringTimeNano() - this.tickStartTimeNanos;
+  //                if (m > OVERLOAD_THRESHOLD_NANOS + 20L * l && this.tickStartTimeNanos -
+  // this.lastOverloadWarningNanos >= OVERLOAD_WARNING_INTERVAL_NANOS + 100L * l) {
+  //                    long n = m / l;
+  //                    LOGGER.warn("Can't keep up! Is the server overloaded? Running {}ms or {}
+  // ticks behind", (Object) (m / TimeHelper.MILLI_IN_NANOS), (Object) n);
+  //                    this.tickStartTimeNanos += n * l;
+  //                    this.lastOverloadWarningNanos = this.tickStartTimeNanos;
+  //                }
+  //            }
+  //            boolean bl2 = bl = l == 0L;
+  //            if (this.needsDebugSetup) {
+  //                this.needsDebugSetup = false;
+  //            }
+  //            this.tickStartTimeNanos += l;
+  //            this.startTickMetrics();
+  //            this.profiler.push("tick");
+  //            this.tick(bl ? () -> false : this::shouldKeepTicking);
+  //            this.profiler.swap("nextTickWait");
+  //            this.waitingForNextTick = true;
+  //            this.tickEndTimeNanos = Math.max(Util.getMeasuringTimeNano() + l,
+  // this.tickStartTimeNanos);
+  //            this.startTaskPerformanceLog();
+  //            this.runTasksTillTickEnd();
+  //            this.pushPerformanceLogs();
+  //            if (bl) {
+  //                tickManager.updateSprintTime();
+  //            }
+  //            this.profiler.pop();
+  //            this.pushFullTickLog();
+  //            this.endTickMetrics();
+  //            this.loading = true;
+  //            FlightProfiler.INSTANCE.onTick(this.averageTickTime);
+  //        }
+  //    }
+
+  //    private boolean runEveryTask() {
+  //        if (super.runTask()) {
+  //            return true;
+  //        } else {
+  //            if (true) { // unconditionally this time
+  //                for (ServerWorld serverlevel : getWorlds()) {
+  //                    if (serverlevel.getChunkManager().executeQueuedTasks()) {
+  //                        return true;
+  //                    }
+  //                }
+  //            }
+  //            return false;
+  //        }
+  //    }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java
index 2b089c2a..ca29f443 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/MouseXYAccessor.java
@@ -6,9 +6,9 @@
 
 @Mixin(Mouse.class)
 public interface MouseXYAccessor {
-    @Accessor("x")
-    void setX(double x);
+  @Accessor("x")
+  void setX(double x);
 
-    @Accessor("y")
-    void setY(double y);
+  @Accessor("y")
+  void setY(double y);
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java
index 77ea3154..5bdb15cd 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderMixin.java
@@ -11,22 +11,28 @@
 
 @Mixin(MinecraftClient.class)
 public class RenderMixin {
-    @Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gl/Framebuffer;endWrite()V"))
-    private void frameBufferEndWrite(Framebuffer instance) {
-        // do nothing
-    }
+  @Redirect(
+      method = "render",
+      at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gl/Framebuffer;endWrite()V"))
+  private void frameBufferEndWrite(Framebuffer instance) {
+    // do nothing
+  }
 
-    @Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gl/Framebuffer;draw(II)V"))
-    private void frameBufferDraw(Framebuffer instance, int width, int height) {
-        // do nothing
-    }
+  @Redirect(
+      method = "render",
+      at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gl/Framebuffer;draw(II)V"))
+  private void frameBufferDraw(Framebuffer instance, int width, int height) {
+    // do nothing
+  }
 
-    @Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/Window;swapBuffers()V"))
-    private void windowSwapBuffers(Window instance) {
-        RenderSystemPollEventsInvoker.pollEvents();
-        RenderSystem.replayQueue();
-        Tessellator.getInstance().clear();
-//        GLFW.glfwSwapBuffers(window);
-        RenderSystemPollEventsInvoker.pollEvents();
-    }
+  @Redirect(
+      method = "render",
+      at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/Window;swapBuffers()V"))
+  private void windowSwapBuffers(Window instance) {
+    RenderSystemPollEventsInvoker.pollEvents();
+    RenderSystem.replayQueue();
+    Tessellator.getInstance().clear();
+    //        GLFW.glfwSwapBuffers(window);
+    RenderSystemPollEventsInvoker.pollEvents();
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java
index 8f096f59..9e075186 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderSystemPollEventsInvoker.java
@@ -5,8 +5,6 @@
 
 @Mixin(com.mojang.blaze3d.systems.RenderSystem.class)
 public interface RenderSystemPollEventsInvoker {
-    @Invoker("pollEvents")
-    static void pollEvents() {
-
-    }
+  @Invoker("pollEvents")
+  static void pollEvents() {}
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java
index 5e5009b4..0922a84d 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/RenderTickCounterAccessor.java
@@ -6,12 +6,12 @@
 
 @Mixin(RenderTickCounter.Dynamic.class)
 public interface RenderTickCounterAccessor {
-    @Accessor("prevTimeMillis")
-    void setPrevTimeMillis(long prevTimeMillis);
+  @Accessor("prevTimeMillis")
+  void setPrevTimeMillis(long prevTimeMillis);
 
-    @Accessor("lastFrameDuration")
-    void setLastFrameDuration(float lastFrameDuration);
+  @Accessor("lastFrameDuration")
+  void setLastFrameDuration(float lastFrameDuration);
 
-    @Accessor("tickDelta")
-    void setTickDelta(float tickDelta);
+  @Accessor("tickDelta")
+  void setTickDelta(float tickDelta);
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java
index c65fa4f2..3ebdd7e2 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/SaveWorldMixin.java
@@ -2,14 +2,15 @@
 
 import net.minecraft.server.MinecraftServer;
 import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.Shadow;
 import org.spongepowered.asm.mixin.injection.At;
 import org.spongepowered.asm.mixin.injection.Redirect;
 
 @Mixin(MinecraftServer.class)
 public class SaveWorldMixin {
-    @Redirect(method = "tick", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/MinecraftServer;saveAll(ZZZ)Z"))
-    private boolean saveAll(MinecraftServer server, boolean bl, boolean bl2, boolean bl3) {
-        return false; // disable saving
-    }
+  @Redirect(
+      method = "tick",
+      at = @At(value = "INVOKE", target = "Lnet/minecraft/server/MinecraftServer;saveAll(ZZZ)Z"))
+  private boolean saveAll(MinecraftServer server, boolean bl, boolean bl2, boolean bl3) {
+    return false; // disable saving
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java
index 183cf0d7..5a90b06f 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/ServerPlayNetworkHandlerDisableSpamChecker.java
@@ -8,8 +8,8 @@
 
 @Mixin(ServerPlayNetworkHandler.class)
 public class ServerPlayNetworkHandlerDisableSpamChecker {
-    @Inject(method = "checkForSpam", at = @At("HEAD"), cancellable = true)
-    private void checkForSpam(CallbackInfo ci) {
-        ci.cancel();
-    }
+  @Inject(method = "checkForSpam", at = @At("HEAD"), cancellable = true)
+  private void checkForSpam(CallbackInfo ci) {
+    ci.cancel();
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java
index 560c085a..c57c3d31 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/TickSpeedMixin.java
@@ -5,21 +5,25 @@
 import org.spongepowered.asm.mixin.injection.At;
 import org.spongepowered.asm.mixin.injection.Redirect;
 
-
 @Mixin(RenderTickCounter.Dynamic.class)
 public class TickSpeedMixin {
-    @Redirect(
-            method = "beginRenderTick(JZ)I",
-            at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/RenderTickCounter$Dynamic;beginRenderTick(J)I")
-    )
-    private int beginRenderTick(RenderTickCounter.Dynamic renderTickCounter, long timeMillis) {
-        ((RenderTickCounterAccessor) renderTickCounter).setLastFrameDuration(1);// (float)(timeMillis - this.prevTimeMillis) / this.tickTime;
-        ((RenderTickCounterAccessor) renderTickCounter).setPrevTimeMillis(timeMillis);
-        ((RenderTickCounterAccessor) renderTickCounter).setTickDelta(
-                renderTickCounter.getTickDelta(true) + renderTickCounter.getLastFrameDuration()
-        );
-        int i = (int) renderTickCounter.getTickDelta(true);
-        ((RenderTickCounterAccessor) renderTickCounter).setTickDelta((renderTickCounter.getTickDelta(true) - (float) i));
-        return i;
-    }
+  @Redirect(
+      method = "beginRenderTick(JZ)I",
+      at =
+          @At(
+              value = "INVOKE",
+              target =
+                  "Lnet/minecraft/client/render/RenderTickCounter$Dynamic;beginRenderTick(J)I"))
+  private int beginRenderTick(RenderTickCounter.Dynamic renderTickCounter, long timeMillis) {
+    ((RenderTickCounterAccessor) renderTickCounter)
+        .setLastFrameDuration(1); // (float)(timeMillis - this.prevTimeMillis) / this.tickTime;
+    ((RenderTickCounterAccessor) renderTickCounter).setPrevTimeMillis(timeMillis);
+    ((RenderTickCounterAccessor) renderTickCounter)
+        .setTickDelta(
+            renderTickCounter.getTickDelta(true) + renderTickCounter.getLastFrameDuration());
+    int i = (int) renderTickCounter.getTickDelta(true);
+    ((RenderTickCounterAccessor) renderTickCounter)
+        .setTickDelta((renderTickCounter.getTickDelta(true) - (float) i));
+    return i;
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java
index d6bd4546..ad01eb1e 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowOffScreenMixin.java
@@ -3,7 +3,6 @@
 import net.minecraft.client.WindowSettings;
 import net.minecraft.client.util.Window;
 import net.minecraft.client.util.WindowProvider;
-import org.lwjgl.glfw.GLFW;
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.injection.At;
 import org.spongepowered.asm.mixin.injection.Inject;
@@ -11,10 +10,11 @@
 
 @Mixin(WindowProvider.class)
 public class WindowOffScreenMixin {
-    @Inject(method = "createWindow", at = @At(value = "TAIL"))
-    public void createWindow(WindowSettings settings, String videoMode, String title, CallbackInfoReturnable cir) {
-//        GLFW.glfwWindowHint(GLFW.GLFW_VISIBLE, GLFW.GLFW_FALSE);
-//        GLFW.glfwIconifyWindow(cir.getReturnValue().getHandle());
-//        GLFW.glfwHideWindow(cir.getReturnValue().getHandle());
-    }
+  @Inject(method = "createWindow", at = @At(value = "TAIL"))
+  public void createWindow(
+      WindowSettings settings, String videoMode, String title, CallbackInfoReturnable cir) {
+    //        GLFW.glfwWindowHint(GLFW.GLFW_VISIBLE, GLFW.GLFW_FALSE);
+    //        GLFW.glfwIconifyWindow(cir.getReturnValue().getHandle());
+    //        GLFW.glfwHideWindow(cir.getReturnValue().getHandle());
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java
index 2624ccef..024711a5 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WindowSizeAccessor.java
@@ -5,9 +5,9 @@
 
 @Mixin(net.minecraft.client.util.Window.class)
 public interface WindowSizeAccessor {
-    @Accessor("windowedWidth")
-    int getWindowedWidth();
+  @Accessor("windowedWidth")
+  int getWindowedWidth();
 
-    @Accessor("windowedHeight")
-    int getWindowedHeight();
+  @Accessor("windowedHeight")
+  int getWindowedHeight();
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java
index 3da8b3cf..6e781f7d 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/mixin/WorldRendererCallEntityRenderMixin.java
@@ -2,6 +2,8 @@
 
 import com.kyhsgeekcode.minecraftenv.AddListenerInterface;
 import com.kyhsgeekcode.minecraftenv.EntityRenderListener;
+import java.util.ArrayList;
+import java.util.List;
 import net.minecraft.client.render.VertexConsumerProvider;
 import net.minecraft.client.util.math.MatrixStack;
 import net.minecraft.entity.Entity;
@@ -11,27 +13,32 @@
 import org.spongepowered.asm.mixin.injection.Inject;
 import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
 
-import java.util.ArrayList;
-import java.util.List;
-
 @Mixin(net.minecraft.client.render.WorldRenderer.class)
 public class WorldRendererCallEntityRenderMixin implements AddListenerInterface {
-    List listeners = new ArrayList<>();
+  List listeners = new ArrayList<>();
 
-    @Inject(method = "renderEntity", at = @At(value = "RETURN"))
-    private void callOnEntityRender(Entity entity, double cameraX, double cameraY, double cameraZ, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, CallbackInfo info) {
-        for (EntityRenderListener listener : listeners) {
-            listener.onEntityRender(entity);
-        }
+  @Inject(method = "renderEntity", at = @At(value = "RETURN"))
+  private void callOnEntityRender(
+      Entity entity,
+      double cameraX,
+      double cameraY,
+      double cameraZ,
+      float tickDelta,
+      MatrixStack matrices,
+      VertexConsumerProvider vertexConsumers,
+      CallbackInfo info) {
+    for (EntityRenderListener listener : listeners) {
+      listener.onEntityRender(entity);
     }
+  }
 
-    @Override
-    public void addRenderListener(@NotNull EntityRenderListener listener) {
-        listeners.add(listener);
-    }
+  @Override
+  public void addRenderListener(@NotNull EntityRenderListener listener) {
+    listeners.add(listener);
+  }
 
-    @Override
-    public List getRenderListeners() {
-        return listeners;
-    }
+  @Override
+  public List getRenderListeners() {
+    return listeners;
+  }
 }
diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java
index 9a09944b..de702e5b 100644
--- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java
+++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ActionSpace.java
@@ -7,244 +7,284 @@
 
 public final class ActionSpace {
   private ActionSpace() {}
+
   static {
     com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-      /* major= */ 4,
-      /* minor= */ 27,
-      /* patch= */ 3,
-      /* suffix= */ "",
-      ActionSpace.class.getName());
-  }
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistryLite registry) {
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 27,
+        /* patch= */ 3,
+        /* suffix= */ "",
+        ActionSpace.class.getName());
   }
 
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions(
-        (com.google.protobuf.ExtensionRegistryLite) registry);
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
   }
-  public interface ActionSpaceMessageV2OrBuilder extends
+
+  public interface ActionSpaceMessageV2OrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:ActionSpaceMessageV2)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Discrete actions for movement and other commands as bool
      * 
* * bool attack = 1; + * * @return The attack. */ boolean getAttack(); /** * bool back = 2; + * * @return The back. */ boolean getBack(); /** * bool forward = 3; + * * @return The forward. */ boolean getForward(); /** * bool jump = 4; + * * @return The jump. */ boolean getJump(); /** * bool left = 5; + * * @return The left. */ boolean getLeft(); /** * bool right = 6; + * * @return The right. */ boolean getRight(); /** * bool sneak = 7; + * * @return The sneak. */ boolean getSneak(); /** * bool sprint = 8; + * * @return The sprint. */ boolean getSprint(); /** * bool use = 9; + * * @return The use. */ boolean getUse(); /** * bool drop = 10; + * * @return The drop. */ boolean getDrop(); /** * bool inventory = 11; + * * @return The inventory. */ boolean getInventory(); /** + * + * *
      * Hotbar selection (1-9) as bool
      * 
* * bool hotbar_1 = 12; + * * @return The hotbar1. */ boolean getHotbar1(); /** * bool hotbar_2 = 13; + * * @return The hotbar2. */ boolean getHotbar2(); /** * bool hotbar_3 = 14; + * * @return The hotbar3. */ boolean getHotbar3(); /** * bool hotbar_4 = 15; + * * @return The hotbar4. */ boolean getHotbar4(); /** * bool hotbar_5 = 16; + * * @return The hotbar5. */ boolean getHotbar5(); /** * bool hotbar_6 = 17; + * * @return The hotbar6. */ boolean getHotbar6(); /** * bool hotbar_7 = 18; + * * @return The hotbar7. */ boolean getHotbar7(); /** * bool hotbar_8 = 19; + * * @return The hotbar8. */ boolean getHotbar8(); /** * bool hotbar_9 = 20; + * * @return The hotbar9. */ boolean getHotbar9(); /** + * + * *
      * Camera movement (pitch and yaw)
      * 
* * float camera_pitch = 21; + * * @return The cameraPitch. */ float getCameraPitch(); /** * float camera_yaw = 22; + * * @return The cameraYaw. */ float getCameraYaw(); /** * repeated string commands = 23; + * * @return A list containing the commands. */ - java.util.List - getCommandsList(); + java.util.List getCommandsList(); + /** * repeated string commands = 23; + * * @return The count of commands. */ int getCommandsCount(); + /** * repeated string commands = 23; + * * @param index The index of the element to return. * @return The commands at the given index. */ java.lang.String getCommands(int index); + /** * repeated string commands = 23; + * * @param index The index of the value to return. * @return The bytes of the commands at the given index. */ - com.google.protobuf.ByteString - getCommandsBytes(int index); + com.google.protobuf.ByteString getCommandsBytes(int index); } - /** - * Protobuf type {@code ActionSpaceMessageV2} - */ - public static final class ActionSpaceMessageV2 extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code ActionSpaceMessageV2} */ + public static final class ActionSpaceMessageV2 extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:ActionSpaceMessageV2) ActionSpaceMessageV2OrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - ActionSpaceMessageV2.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + ActionSpaceMessageV2.class.getName()); } + // Use ActionSpaceMessageV2.newBuilder() to construct. private ActionSpaceMessageV2(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private ActionSpaceMessageV2() { - commands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + commands_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace + .internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace + .internal_static_ActionSpaceMessageV2_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); } public static final int ATTACK_FIELD_NUMBER = 1; private boolean attack_ = false; + /** + * + * *
      * Discrete actions for movement and other commands as bool
      * 
* * bool attack = 1; + * * @return The attack. */ @java.lang.Override @@ -254,8 +294,10 @@ public boolean getAttack() { public static final int BACK_FIELD_NUMBER = 2; private boolean back_ = false; + /** * bool back = 2; + * * @return The back. */ @java.lang.Override @@ -265,8 +307,10 @@ public boolean getBack() { public static final int FORWARD_FIELD_NUMBER = 3; private boolean forward_ = false; + /** * bool forward = 3; + * * @return The forward. */ @java.lang.Override @@ -276,8 +320,10 @@ public boolean getForward() { public static final int JUMP_FIELD_NUMBER = 4; private boolean jump_ = false; + /** * bool jump = 4; + * * @return The jump. */ @java.lang.Override @@ -287,8 +333,10 @@ public boolean getJump() { public static final int LEFT_FIELD_NUMBER = 5; private boolean left_ = false; + /** * bool left = 5; + * * @return The left. */ @java.lang.Override @@ -298,8 +346,10 @@ public boolean getLeft() { public static final int RIGHT_FIELD_NUMBER = 6; private boolean right_ = false; + /** * bool right = 6; + * * @return The right. */ @java.lang.Override @@ -309,8 +359,10 @@ public boolean getRight() { public static final int SNEAK_FIELD_NUMBER = 7; private boolean sneak_ = false; + /** * bool sneak = 7; + * * @return The sneak. */ @java.lang.Override @@ -320,8 +372,10 @@ public boolean getSneak() { public static final int SPRINT_FIELD_NUMBER = 8; private boolean sprint_ = false; + /** * bool sprint = 8; + * * @return The sprint. */ @java.lang.Override @@ -331,8 +385,10 @@ public boolean getSprint() { public static final int USE_FIELD_NUMBER = 9; private boolean use_ = false; + /** * bool use = 9; + * * @return The use. */ @java.lang.Override @@ -342,8 +398,10 @@ public boolean getUse() { public static final int DROP_FIELD_NUMBER = 10; private boolean drop_ = false; + /** * bool drop = 10; + * * @return The drop. */ @java.lang.Override @@ -353,8 +411,10 @@ public boolean getDrop() { public static final int INVENTORY_FIELD_NUMBER = 11; private boolean inventory_ = false; + /** * bool inventory = 11; + * * @return The inventory. */ @java.lang.Override @@ -364,12 +424,16 @@ public boolean getInventory() { public static final int HOTBAR_1_FIELD_NUMBER = 12; private boolean hotbar1_ = false; + /** + * + * *
      * Hotbar selection (1-9) as bool
      * 
* * bool hotbar_1 = 12; + * * @return The hotbar1. */ @java.lang.Override @@ -379,8 +443,10 @@ public boolean getHotbar1() { public static final int HOTBAR_2_FIELD_NUMBER = 13; private boolean hotbar2_ = false; + /** * bool hotbar_2 = 13; + * * @return The hotbar2. */ @java.lang.Override @@ -390,8 +456,10 @@ public boolean getHotbar2() { public static final int HOTBAR_3_FIELD_NUMBER = 14; private boolean hotbar3_ = false; + /** * bool hotbar_3 = 14; + * * @return The hotbar3. */ @java.lang.Override @@ -401,8 +469,10 @@ public boolean getHotbar3() { public static final int HOTBAR_4_FIELD_NUMBER = 15; private boolean hotbar4_ = false; + /** * bool hotbar_4 = 15; + * * @return The hotbar4. */ @java.lang.Override @@ -412,8 +482,10 @@ public boolean getHotbar4() { public static final int HOTBAR_5_FIELD_NUMBER = 16; private boolean hotbar5_ = false; + /** * bool hotbar_5 = 16; + * * @return The hotbar5. */ @java.lang.Override @@ -423,8 +495,10 @@ public boolean getHotbar5() { public static final int HOTBAR_6_FIELD_NUMBER = 17; private boolean hotbar6_ = false; + /** * bool hotbar_6 = 17; + * * @return The hotbar6. */ @java.lang.Override @@ -434,8 +508,10 @@ public boolean getHotbar6() { public static final int HOTBAR_7_FIELD_NUMBER = 18; private boolean hotbar7_ = false; + /** * bool hotbar_7 = 18; + * * @return The hotbar7. */ @java.lang.Override @@ -445,8 +521,10 @@ public boolean getHotbar7() { public static final int HOTBAR_8_FIELD_NUMBER = 19; private boolean hotbar8_ = false; + /** * bool hotbar_8 = 19; + * * @return The hotbar8. */ @java.lang.Override @@ -456,8 +534,10 @@ public boolean getHotbar8() { public static final int HOTBAR_9_FIELD_NUMBER = 20; private boolean hotbar9_ = false; + /** * bool hotbar_9 = 20; + * * @return The hotbar9. */ @java.lang.Override @@ -467,12 +547,16 @@ public boolean getHotbar9() { public static final int CAMERA_PITCH_FIELD_NUMBER = 21; private float cameraPitch_ = 0F; + /** + * + * *
      * Camera movement (pitch and yaw)
      * 
* * float camera_pitch = 21; + * * @return The cameraPitch. */ @java.lang.Override @@ -482,8 +566,10 @@ public float getCameraPitch() { public static final int CAMERA_YAW_FIELD_NUMBER = 22; private float cameraYaw_ = 0F; + /** * float camera_yaw = 22; + * * @return The cameraYaw. */ @java.lang.Override @@ -492,43 +578,51 @@ public float getCameraYaw() { } public static final int COMMANDS_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList commands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string commands = 23; + * * @return A list containing the commands. */ - public com.google.protobuf.ProtocolStringList - getCommandsList() { + public com.google.protobuf.ProtocolStringList getCommandsList() { return commands_; } + /** * repeated string commands = 23; + * * @return The count of commands. */ public int getCommandsCount() { return commands_.size(); } + /** * repeated string commands = 23; + * * @param index The index of the element to return. * @return The commands at the given index. */ public java.lang.String getCommands(int index) { return commands_.get(index); } + /** * repeated string commands = 23; + * * @param index The index of the value to return. * @return The bytes of the commands at the given index. */ - public com.google.protobuf.ByteString - getCommandsBytes(int index) { + public com.google.protobuf.ByteString getCommandsBytes(int index) { return commands_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -540,8 +634,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (attack_ != false) { output.writeBool(1, attack_); } @@ -621,92 +714,70 @@ public int getSerializedSize() { size = 0; if (attack_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, attack_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, attack_); } if (back_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, back_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, back_); } if (forward_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, forward_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, forward_); } if (jump_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, jump_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, jump_); } if (left_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, left_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, left_); } if (right_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, right_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, right_); } if (sneak_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, sneak_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, sneak_); } if (sprint_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, sprint_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, sprint_); } if (use_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, use_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, use_); } if (drop_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, drop_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, drop_); } if (inventory_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, inventory_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, inventory_); } if (hotbar1_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, hotbar1_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, hotbar1_); } if (hotbar2_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, hotbar2_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, hotbar2_); } if (hotbar3_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, hotbar3_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, hotbar3_); } if (hotbar4_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, hotbar4_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, hotbar4_); } if (hotbar5_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, hotbar5_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, hotbar5_); } if (hotbar6_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(17, hotbar6_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, hotbar6_); } if (hotbar7_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(18, hotbar7_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, hotbar7_); } if (hotbar8_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(19, hotbar8_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, hotbar8_); } if (hotbar9_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, hotbar9_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, hotbar9_); } if (java.lang.Float.floatToRawIntBits(cameraPitch_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(21, cameraPitch_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(21, cameraPitch_); } if (java.lang.Float.floatToRawIntBits(cameraYaw_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(22, cameraYaw_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(22, cameraYaw_); } { int dataSize = 0; @@ -724,61 +795,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other = (com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) obj; - - if (getAttack() - != other.getAttack()) return false; - if (getBack() - != other.getBack()) return false; - if (getForward() - != other.getForward()) return false; - if (getJump() - != other.getJump()) return false; - if (getLeft() - != other.getLeft()) return false; - if (getRight() - != other.getRight()) return false; - if (getSneak() - != other.getSneak()) return false; - if (getSprint() - != other.getSprint()) return false; - if (getUse() - != other.getUse()) return false; - if (getDrop() - != other.getDrop()) return false; - if (getInventory() - != other.getInventory()) return false; - if (getHotbar1() - != other.getHotbar1()) return false; - if (getHotbar2() - != other.getHotbar2()) return false; - if (getHotbar3() - != other.getHotbar3()) return false; - if (getHotbar4() - != other.getHotbar4()) return false; - if (getHotbar5() - != other.getHotbar5()) return false; - if (getHotbar6() - != other.getHotbar6()) return false; - if (getHotbar7() - != other.getHotbar7()) return false; - if (getHotbar8() - != other.getHotbar8()) return false; - if (getHotbar9() - != other.getHotbar9()) return false; + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other = + (com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) obj; + + if (getAttack() != other.getAttack()) return false; + if (getBack() != other.getBack()) return false; + if (getForward() != other.getForward()) return false; + if (getJump() != other.getJump()) return false; + if (getLeft() != other.getLeft()) return false; + if (getRight() != other.getRight()) return false; + if (getSneak() != other.getSneak()) return false; + if (getSprint() != other.getSprint()) return false; + if (getUse() != other.getUse()) return false; + if (getDrop() != other.getDrop()) return false; + if (getInventory() != other.getInventory()) return false; + if (getHotbar1() != other.getHotbar1()) return false; + if (getHotbar2() != other.getHotbar2()) return false; + if (getHotbar3() != other.getHotbar3()) return false; + if (getHotbar4() != other.getHotbar4()) return false; + if (getHotbar5() != other.getHotbar5()) return false; + if (getHotbar6() != other.getHotbar6()) return false; + if (getHotbar7() != other.getHotbar7()) return false; + if (getHotbar8() != other.getHotbar8()) return false; + if (getHotbar9() != other.getHotbar9()) return false; if (java.lang.Float.floatToIntBits(getCameraPitch()) - != java.lang.Float.floatToIntBits( - other.getCameraPitch())) return false; + != java.lang.Float.floatToIntBits(other.getCameraPitch())) return false; if (java.lang.Float.floatToIntBits(getCameraYaw()) - != java.lang.Float.floatToIntBits( - other.getCameraYaw())) return false; - if (!getCommandsList() - .equals(other.getCommandsList())) return false; + != java.lang.Float.floatToIntBits(other.getCameraYaw())) return false; + if (!getCommandsList().equals(other.getCommandsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -791,71 +840,49 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ATTACK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAttack()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAttack()); hash = (37 * hash) + BACK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBack()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBack()); hash = (37 * hash) + FORWARD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForward()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForward()); hash = (37 * hash) + JUMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getJump()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getJump()); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getLeft()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLeft()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRight()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRight()); hash = (37 * hash) + SNEAK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSneak()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSneak()); hash = (37 * hash) + SPRINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSprint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSprint()); hash = (37 * hash) + USE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUse()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUse()); hash = (37 * hash) + DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDrop()); hash = (37 * hash) + INVENTORY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInventory()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInventory()); hash = (37 * hash) + HOTBAR_1_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar1()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar1()); hash = (37 * hash) + HOTBAR_2_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar2()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar2()); hash = (37 * hash) + HOTBAR_3_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar3()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar3()); hash = (37 * hash) + HOTBAR_4_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar4()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar4()); hash = (37 * hash) + HOTBAR_5_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar5()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar5()); hash = (37 * hash) + HOTBAR_6_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar6()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar6()); hash = (37 * hash) + HOTBAR_7_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar7()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar7()); hash = (37 * hash) + HOTBAR_8_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar8()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar8()); hash = (37 * hash) + HOTBAR_9_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHotbar9()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHotbar9()); hash = (37 * hash) + CAMERA_PITCH_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCameraPitch()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCameraPitch()); hash = (37 * hash) + CAMERA_YAW_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCameraYaw()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCameraYaw()); if (getCommandsCount() > 0) { hash = (37 * hash) + COMMANDS_FIELD_NUMBER; hash = (53 * hash) + getCommandsList().hashCode(); @@ -866,127 +893,131 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code ActionSpaceMessageV2} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code ActionSpaceMessageV2} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:ActionSpaceMessageV2) com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2OrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace + .internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace + .internal_static_ActionSpaceMessageV2_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.class, + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1013,25 +1044,27 @@ public Builder clear() { hotbar9_ = false; cameraPitch_ = 0F; cameraYaw_ = 0F; - commands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + commands_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.internal_static_ActionSpaceMessageV2_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace + .internal_static_ActionSpaceMessageV2_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + .getDefaultInstance(); } @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 build() { - com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = buildPartial(); + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1040,13 +1073,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 buil @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = new com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result = + new com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attack_ = attack_; @@ -1123,15 +1160,19 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.Actio @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2)other); + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + .getDefaultInstance()) return this; if (other.getAttack() != false) { setAttack(other.getAttack()); } @@ -1234,128 +1275,152 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - attack_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - back_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - forward_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - jump_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - left_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - right_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - sneak_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - sprint_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - use_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - drop_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - inventory_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: { - hotbar1_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - case 104: { - hotbar2_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 104 - case 112: { - hotbar3_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - hotbar4_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - hotbar5_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: { - hotbar6_ = input.readBool(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 144: { - hotbar7_ = input.readBool(); - bitField0_ |= 0x00020000; - break; - } // case 144 - case 152: { - hotbar8_ = input.readBool(); - bitField0_ |= 0x00040000; - break; - } // case 152 - case 160: { - hotbar9_ = input.readBool(); - bitField0_ |= 0x00080000; - break; - } // case 160 - case 173: { - cameraPitch_ = input.readFloat(); - bitField0_ |= 0x00100000; - break; - } // case 173 - case 181: { - cameraYaw_ = input.readFloat(); - bitField0_ |= 0x00200000; - break; - } // case 181 - case 186: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCommandsIsMutable(); - commands_.add(s); - break; - } // case 186 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + attack_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + back_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + forward_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + jump_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + left_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + right_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + sneak_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + sprint_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + use_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: + { + drop_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: + { + inventory_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: + { + hotbar1_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: + { + hotbar2_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: + { + hotbar3_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + hotbar4_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: + { + hotbar5_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: + { + hotbar6_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 144: + { + hotbar7_ = input.readBool(); + bitField0_ |= 0x00020000; + break; + } // case 144 + case 152: + { + hotbar8_ = input.readBool(); + bitField0_ |= 0x00040000; + break; + } // case 152 + case 160: + { + hotbar9_ = input.readBool(); + bitField0_ |= 0x00080000; + break; + } // case 160 + case 173: + { + cameraPitch_ = input.readFloat(); + bitField0_ |= 0x00100000; + break; + } // case 173 + case 181: + { + cameraYaw_ = input.readFloat(); + bitField0_ |= 0x00200000; + break; + } // case 181 + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCommandsIsMutable(); + commands_.add(s); + break; + } // case 186 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1365,27 +1430,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean attack_ ; + private boolean attack_; + /** + * + * *
        * Discrete actions for movement and other commands as bool
        * 
* * bool attack = 1; + * * @return The attack. */ @java.lang.Override public boolean getAttack() { return attack_; } + /** + * + * *
        * Discrete actions for movement and other commands as bool
        * 
* * bool attack = 1; + * * @param value The attack to set. * @return This builder for chaining. */ @@ -1396,12 +1470,16 @@ public Builder setAttack(boolean value) { onChanged(); return this; } + /** + * + * *
        * Discrete actions for movement and other commands as bool
        * 
* * bool attack = 1; + * * @return This builder for chaining. */ public Builder clearAttack() { @@ -1411,17 +1489,21 @@ public Builder clearAttack() { return this; } - private boolean back_ ; + private boolean back_; + /** * bool back = 2; + * * @return The back. */ @java.lang.Override public boolean getBack() { return back_; } + /** * bool back = 2; + * * @param value The back to set. * @return This builder for chaining. */ @@ -1432,8 +1514,10 @@ public Builder setBack(boolean value) { onChanged(); return this; } + /** * bool back = 2; + * * @return This builder for chaining. */ public Builder clearBack() { @@ -1443,17 +1527,21 @@ public Builder clearBack() { return this; } - private boolean forward_ ; + private boolean forward_; + /** * bool forward = 3; + * * @return The forward. */ @java.lang.Override public boolean getForward() { return forward_; } + /** * bool forward = 3; + * * @param value The forward to set. * @return This builder for chaining. */ @@ -1464,8 +1552,10 @@ public Builder setForward(boolean value) { onChanged(); return this; } + /** * bool forward = 3; + * * @return This builder for chaining. */ public Builder clearForward() { @@ -1475,17 +1565,21 @@ public Builder clearForward() { return this; } - private boolean jump_ ; + private boolean jump_; + /** * bool jump = 4; + * * @return The jump. */ @java.lang.Override public boolean getJump() { return jump_; } + /** * bool jump = 4; + * * @param value The jump to set. * @return This builder for chaining. */ @@ -1496,8 +1590,10 @@ public Builder setJump(boolean value) { onChanged(); return this; } + /** * bool jump = 4; + * * @return This builder for chaining. */ public Builder clearJump() { @@ -1507,17 +1603,21 @@ public Builder clearJump() { return this; } - private boolean left_ ; + private boolean left_; + /** * bool left = 5; + * * @return The left. */ @java.lang.Override public boolean getLeft() { return left_; } + /** * bool left = 5; + * * @param value The left to set. * @return This builder for chaining. */ @@ -1528,8 +1628,10 @@ public Builder setLeft(boolean value) { onChanged(); return this; } + /** * bool left = 5; + * * @return This builder for chaining. */ public Builder clearLeft() { @@ -1539,17 +1641,21 @@ public Builder clearLeft() { return this; } - private boolean right_ ; + private boolean right_; + /** * bool right = 6; + * * @return The right. */ @java.lang.Override public boolean getRight() { return right_; } + /** * bool right = 6; + * * @param value The right to set. * @return This builder for chaining. */ @@ -1560,8 +1666,10 @@ public Builder setRight(boolean value) { onChanged(); return this; } + /** * bool right = 6; + * * @return This builder for chaining. */ public Builder clearRight() { @@ -1571,17 +1679,21 @@ public Builder clearRight() { return this; } - private boolean sneak_ ; + private boolean sneak_; + /** * bool sneak = 7; + * * @return The sneak. */ @java.lang.Override public boolean getSneak() { return sneak_; } + /** * bool sneak = 7; + * * @param value The sneak to set. * @return This builder for chaining. */ @@ -1592,8 +1704,10 @@ public Builder setSneak(boolean value) { onChanged(); return this; } + /** * bool sneak = 7; + * * @return This builder for chaining. */ public Builder clearSneak() { @@ -1603,17 +1717,21 @@ public Builder clearSneak() { return this; } - private boolean sprint_ ; + private boolean sprint_; + /** * bool sprint = 8; + * * @return The sprint. */ @java.lang.Override public boolean getSprint() { return sprint_; } + /** * bool sprint = 8; + * * @param value The sprint to set. * @return This builder for chaining. */ @@ -1624,8 +1742,10 @@ public Builder setSprint(boolean value) { onChanged(); return this; } + /** * bool sprint = 8; + * * @return This builder for chaining. */ public Builder clearSprint() { @@ -1635,17 +1755,21 @@ public Builder clearSprint() { return this; } - private boolean use_ ; + private boolean use_; + /** * bool use = 9; + * * @return The use. */ @java.lang.Override public boolean getUse() { return use_; } + /** * bool use = 9; + * * @param value The use to set. * @return This builder for chaining. */ @@ -1656,8 +1780,10 @@ public Builder setUse(boolean value) { onChanged(); return this; } + /** * bool use = 9; + * * @return This builder for chaining. */ public Builder clearUse() { @@ -1667,17 +1793,21 @@ public Builder clearUse() { return this; } - private boolean drop_ ; + private boolean drop_; + /** * bool drop = 10; + * * @return The drop. */ @java.lang.Override public boolean getDrop() { return drop_; } + /** * bool drop = 10; + * * @param value The drop to set. * @return This builder for chaining. */ @@ -1688,8 +1818,10 @@ public Builder setDrop(boolean value) { onChanged(); return this; } + /** * bool drop = 10; + * * @return This builder for chaining. */ public Builder clearDrop() { @@ -1699,17 +1831,21 @@ public Builder clearDrop() { return this; } - private boolean inventory_ ; + private boolean inventory_; + /** * bool inventory = 11; + * * @return The inventory. */ @java.lang.Override public boolean getInventory() { return inventory_; } + /** * bool inventory = 11; + * * @param value The inventory to set. * @return This builder for chaining. */ @@ -1720,8 +1856,10 @@ public Builder setInventory(boolean value) { onChanged(); return this; } + /** * bool inventory = 11; + * * @return This builder for chaining. */ public Builder clearInventory() { @@ -1731,25 +1869,33 @@ public Builder clearInventory() { return this; } - private boolean hotbar1_ ; + private boolean hotbar1_; + /** + * + * *
        * Hotbar selection (1-9) as bool
        * 
* * bool hotbar_1 = 12; + * * @return The hotbar1. */ @java.lang.Override public boolean getHotbar1() { return hotbar1_; } + /** + * + * *
        * Hotbar selection (1-9) as bool
        * 
* * bool hotbar_1 = 12; + * * @param value The hotbar1 to set. * @return This builder for chaining. */ @@ -1760,12 +1906,16 @@ public Builder setHotbar1(boolean value) { onChanged(); return this; } + /** + * + * *
        * Hotbar selection (1-9) as bool
        * 
* * bool hotbar_1 = 12; + * * @return This builder for chaining. */ public Builder clearHotbar1() { @@ -1775,17 +1925,21 @@ public Builder clearHotbar1() { return this; } - private boolean hotbar2_ ; + private boolean hotbar2_; + /** * bool hotbar_2 = 13; + * * @return The hotbar2. */ @java.lang.Override public boolean getHotbar2() { return hotbar2_; } + /** * bool hotbar_2 = 13; + * * @param value The hotbar2 to set. * @return This builder for chaining. */ @@ -1796,8 +1950,10 @@ public Builder setHotbar2(boolean value) { onChanged(); return this; } + /** * bool hotbar_2 = 13; + * * @return This builder for chaining. */ public Builder clearHotbar2() { @@ -1807,17 +1963,21 @@ public Builder clearHotbar2() { return this; } - private boolean hotbar3_ ; + private boolean hotbar3_; + /** * bool hotbar_3 = 14; + * * @return The hotbar3. */ @java.lang.Override public boolean getHotbar3() { return hotbar3_; } + /** * bool hotbar_3 = 14; + * * @param value The hotbar3 to set. * @return This builder for chaining. */ @@ -1828,8 +1988,10 @@ public Builder setHotbar3(boolean value) { onChanged(); return this; } + /** * bool hotbar_3 = 14; + * * @return This builder for chaining. */ public Builder clearHotbar3() { @@ -1839,17 +2001,21 @@ public Builder clearHotbar3() { return this; } - private boolean hotbar4_ ; + private boolean hotbar4_; + /** * bool hotbar_4 = 15; + * * @return The hotbar4. */ @java.lang.Override public boolean getHotbar4() { return hotbar4_; } + /** * bool hotbar_4 = 15; + * * @param value The hotbar4 to set. * @return This builder for chaining. */ @@ -1860,8 +2026,10 @@ public Builder setHotbar4(boolean value) { onChanged(); return this; } + /** * bool hotbar_4 = 15; + * * @return This builder for chaining. */ public Builder clearHotbar4() { @@ -1871,17 +2039,21 @@ public Builder clearHotbar4() { return this; } - private boolean hotbar5_ ; + private boolean hotbar5_; + /** * bool hotbar_5 = 16; + * * @return The hotbar5. */ @java.lang.Override public boolean getHotbar5() { return hotbar5_; } + /** * bool hotbar_5 = 16; + * * @param value The hotbar5 to set. * @return This builder for chaining. */ @@ -1892,8 +2064,10 @@ public Builder setHotbar5(boolean value) { onChanged(); return this; } + /** * bool hotbar_5 = 16; + * * @return This builder for chaining. */ public Builder clearHotbar5() { @@ -1903,17 +2077,21 @@ public Builder clearHotbar5() { return this; } - private boolean hotbar6_ ; + private boolean hotbar6_; + /** * bool hotbar_6 = 17; + * * @return The hotbar6. */ @java.lang.Override public boolean getHotbar6() { return hotbar6_; } + /** * bool hotbar_6 = 17; + * * @param value The hotbar6 to set. * @return This builder for chaining. */ @@ -1924,8 +2102,10 @@ public Builder setHotbar6(boolean value) { onChanged(); return this; } + /** * bool hotbar_6 = 17; + * * @return This builder for chaining. */ public Builder clearHotbar6() { @@ -1935,17 +2115,21 @@ public Builder clearHotbar6() { return this; } - private boolean hotbar7_ ; + private boolean hotbar7_; + /** * bool hotbar_7 = 18; + * * @return The hotbar7. */ @java.lang.Override public boolean getHotbar7() { return hotbar7_; } + /** * bool hotbar_7 = 18; + * * @param value The hotbar7 to set. * @return This builder for chaining. */ @@ -1956,8 +2140,10 @@ public Builder setHotbar7(boolean value) { onChanged(); return this; } + /** * bool hotbar_7 = 18; + * * @return This builder for chaining. */ public Builder clearHotbar7() { @@ -1967,17 +2153,21 @@ public Builder clearHotbar7() { return this; } - private boolean hotbar8_ ; + private boolean hotbar8_; + /** * bool hotbar_8 = 19; + * * @return The hotbar8. */ @java.lang.Override public boolean getHotbar8() { return hotbar8_; } + /** * bool hotbar_8 = 19; + * * @param value The hotbar8 to set. * @return This builder for chaining. */ @@ -1988,8 +2178,10 @@ public Builder setHotbar8(boolean value) { onChanged(); return this; } + /** * bool hotbar_8 = 19; + * * @return This builder for chaining. */ public Builder clearHotbar8() { @@ -1999,17 +2191,21 @@ public Builder clearHotbar8() { return this; } - private boolean hotbar9_ ; + private boolean hotbar9_; + /** * bool hotbar_9 = 20; + * * @return The hotbar9. */ @java.lang.Override public boolean getHotbar9() { return hotbar9_; } + /** * bool hotbar_9 = 20; + * * @param value The hotbar9 to set. * @return This builder for chaining. */ @@ -2020,8 +2216,10 @@ public Builder setHotbar9(boolean value) { onChanged(); return this; } + /** * bool hotbar_9 = 20; + * * @return This builder for chaining. */ public Builder clearHotbar9() { @@ -2031,25 +2229,33 @@ public Builder clearHotbar9() { return this; } - private float cameraPitch_ ; + private float cameraPitch_; + /** + * + * *
        * Camera movement (pitch and yaw)
        * 
* * float camera_pitch = 21; + * * @return The cameraPitch. */ @java.lang.Override public float getCameraPitch() { return cameraPitch_; } + /** + * + * *
        * Camera movement (pitch and yaw)
        * 
* * float camera_pitch = 21; + * * @param value The cameraPitch to set. * @return This builder for chaining. */ @@ -2060,12 +2266,16 @@ public Builder setCameraPitch(float value) { onChanged(); return this; } + /** + * + * *
        * Camera movement (pitch and yaw)
        * 
* * float camera_pitch = 21; + * * @return This builder for chaining. */ public Builder clearCameraPitch() { @@ -2075,17 +2285,21 @@ public Builder clearCameraPitch() { return this; } - private float cameraYaw_ ; + private float cameraYaw_; + /** * float camera_yaw = 22; + * * @return The cameraYaw. */ @java.lang.Override public float getCameraYaw() { return cameraYaw_; } + /** * float camera_yaw = 22; + * * @param value The cameraYaw to set. * @return This builder for chaining. */ @@ -2096,8 +2310,10 @@ public Builder setCameraYaw(float value) { onChanged(); return this; } + /** * float camera_yaw = 22; + * * @return This builder for chaining. */ public Builder clearCameraYaw() { @@ -2109,107 +2325,125 @@ public Builder clearCameraYaw() { private com.google.protobuf.LazyStringArrayList commands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCommandsIsMutable() { if (!commands_.isModifiable()) { commands_ = new com.google.protobuf.LazyStringArrayList(commands_); } bitField0_ |= 0x00400000; } + /** * repeated string commands = 23; + * * @return A list containing the commands. */ - public com.google.protobuf.ProtocolStringList - getCommandsList() { + public com.google.protobuf.ProtocolStringList getCommandsList() { commands_.makeImmutable(); return commands_; } + /** * repeated string commands = 23; + * * @return The count of commands. */ public int getCommandsCount() { return commands_.size(); } + /** * repeated string commands = 23; + * * @param index The index of the element to return. * @return The commands at the given index. */ public java.lang.String getCommands(int index) { return commands_.get(index); } + /** * repeated string commands = 23; + * * @param index The index of the value to return. * @return The bytes of the commands at the given index. */ - public com.google.protobuf.ByteString - getCommandsBytes(int index) { + public com.google.protobuf.ByteString getCommandsBytes(int index) { return commands_.getByteString(index); } + /** * repeated string commands = 23; + * * @param index The index to set the value at. * @param value The commands to set. * @return This builder for chaining. */ - public Builder setCommands( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCommands(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCommandsIsMutable(); commands_.set(index, value); bitField0_ |= 0x00400000; onChanged(); return this; } + /** * repeated string commands = 23; + * * @param value The commands to add. * @return This builder for chaining. */ - public Builder addCommands( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCommands(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCommandsIsMutable(); commands_.add(value); bitField0_ |= 0x00400000; onChanged(); return this; } + /** * repeated string commands = 23; + * * @param values The commands to add. * @return This builder for chaining. */ - public Builder addAllCommands( - java.lang.Iterable values) { + public Builder addAllCommands(java.lang.Iterable values) { ensureCommandsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, commands_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, commands_); bitField0_ |= 0x00400000; onChanged(); return this; } + /** * repeated string commands = 23; + * * @return This builder for chaining. */ public Builder clearCommands() { - commands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000);; + commands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00400000); + ; onChanged(); return this; } + /** * repeated string commands = 23; + * * @param value The bytes of the commands to add. * @return This builder for chaining. */ - public Builder addCommandsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCommandsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCommandsIsMutable(); commands_.add(value); @@ -2222,36 +2456,40 @@ public Builder addCommandsBytes( } // @@protoc_insertion_point(class_scope:ActionSpaceMessageV2) - private static final com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2(); } - public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActionSpaceMessageV2 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActionSpaceMessageV2 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2263,50 +2501,87 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ActionSpace.ActionSpaceMessageV2 + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ActionSpaceMessageV2_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ActionSpaceMessageV2_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ActionSpaceMessageV2_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n\022action_space.proto\"\233\003\n\024ActionSpaceMess" + - "ageV2\022\016\n\006attack\030\001 \001(\010\022\014\n\004back\030\002 \001(\010\022\017\n\007f" + - "orward\030\003 \001(\010\022\014\n\004jump\030\004 \001(\010\022\014\n\004left\030\005 \001(\010" + - "\022\r\n\005right\030\006 \001(\010\022\r\n\005sneak\030\007 \001(\010\022\016\n\006sprint" + - "\030\010 \001(\010\022\013\n\003use\030\t \001(\010\022\014\n\004drop\030\n \001(\010\022\021\n\tinv" + - "entory\030\013 \001(\010\022\020\n\010hotbar_1\030\014 \001(\010\022\020\n\010hotbar" + - "_2\030\r \001(\010\022\020\n\010hotbar_3\030\016 \001(\010\022\020\n\010hotbar_4\030\017" + - " \001(\010\022\020\n\010hotbar_5\030\020 \001(\010\022\020\n\010hotbar_6\030\021 \001(\010" + - "\022\020\n\010hotbar_7\030\022 \001(\010\022\020\n\010hotbar_8\030\023 \001(\010\022\020\n\010" + - "hotbar_9\030\024 \001(\010\022\024\n\014camera_pitch\030\025 \001(\002\022\022\n\n" + - "camera_yaw\030\026 \001(\002\022\020\n\010commands\030\027 \003(\tB&\n$co" + - "m.kyhsgeekcode.minecraftenv.protob\006prot" + - "o3" + "\n" + + "\022action_space.proto\"\233\003\n" + + "\024ActionSpaceMessageV2\022\016\n" + + "\006attack\030\001 \001(\010\022\014\n" + + "\004back\030\002 \001(\010\022\017\n" + + "\007forward\030\003 \001(\010\022\014\n" + + "\004jump\030\004 \001(\010\022\014\n" + + "\004left\030\005 \001(\010\022\r\n" + + "\005right\030\006 \001(\010\022\r\n" + + "\005sneak\030\007 \001(\010\022\016\n" + + "\006sprint\030\010 \001(\010\022\013\n" + + "\003use\030\t \001(\010\022\014\n" + + "\004drop\030\n" + + " \001(\010\022\021\n" + + "\tinventory\030\013 \001(\010\022\020\n" + + "\010hotbar_1\030\014 \001(\010\022\020\n" + + "\010hotbar_2\030\r" + + " \001(\010\022\020\n" + + "\010hotbar_3\030\016 \001(\010\022\020\n" + + "\010hotbar_4\030\017 \001(\010\022\020\n" + + "\010hotbar_5\030\020 \001(\010\022\020\n" + + "\010hotbar_6\030\021 \001(\010\022\020\n" + + "\010hotbar_7\030\022 \001(\010\022\020\n" + + "\010hotbar_8\030\023 \001(\010\022\020\n" + + "\010hotbar_9\030\024 \001(\010\022\024\n" + + "\014camera_pitch\030\025 \001(\002\022\022\n\n" + + "camera_yaw\030\026 \001(\002\022\020\n" + + "\010commands\030\027 \003(\tB&\n" + + "$com.kyhsgeekcode.minecraftenv.protob\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_ActionSpaceMessageV2_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_ActionSpaceMessageV2_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ActionSpaceMessageV2_descriptor, - new java.lang.String[] { "Attack", "Back", "Forward", "Jump", "Left", "Right", "Sneak", "Sprint", "Use", "Drop", "Inventory", "Hotbar1", "Hotbar2", "Hotbar3", "Hotbar4", "Hotbar5", "Hotbar6", "Hotbar7", "Hotbar8", "Hotbar9", "CameraPitch", "CameraYaw", "Commands", }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_ActionSpaceMessageV2_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_ActionSpaceMessageV2_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ActionSpaceMessageV2_descriptor, + new java.lang.String[] { + "Attack", + "Back", + "Forward", + "Jump", + "Left", + "Right", + "Sneak", + "Sprint", + "Use", + "Drop", + "Inventory", + "Hotbar1", + "Hotbar2", + "Hotbar3", + "Hotbar4", + "Hotbar5", + "Hotbar6", + "Hotbar7", + "Hotbar8", + "Hotbar9", + "CameraPitch", + "CameraYaw", + "Commands", + }); descriptor.resolveAllFeaturesImmutable(); } diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java index d4b70a9b..e0161b63 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/InitialEnvironment.java @@ -7,66 +7,52 @@ public final class InitialEnvironment { private InitialEnvironment() {} + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - InitialEnvironment.class.getName()); - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + InitialEnvironment.class.getName()); } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - /** - * Protobuf enum {@code GameMode} - */ - public enum GameMode - implements com.google.protobuf.ProtocolMessageEnum { - /** - * SURVIVAL = 0; - */ + + /** Protobuf enum {@code GameMode} */ + public enum GameMode implements com.google.protobuf.ProtocolMessageEnum { + /** SURVIVAL = 0; */ SURVIVAL(0), - /** - * HARDCORE = 1; - */ + /** HARDCORE = 1; */ HARDCORE(1), - /** - * CREATIVE = 2; - */ + /** CREATIVE = 2; */ CREATIVE(2), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - GameMode.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + GameMode.class.getName()); } - /** - * SURVIVAL = 0; - */ + + /** SURVIVAL = 0; */ public static final int SURVIVAL_VALUE = 0; - /** - * HARDCORE = 1; - */ + + /** HARDCORE = 1; */ public static final int HARDCORE_VALUE = 1; - /** - * CREATIVE = 2; - */ - public static final int CREATIVE_VALUE = 2; + /** CREATIVE = 2; */ + public static final int CREATIVE_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -92,49 +78,51 @@ public static GameMode valueOf(int value) { */ public static GameMode forNumber(int value) { switch (value) { - case 0: return SURVIVAL; - case 1: return HARDCORE; - case 2: return CREATIVE; - default: return null; + case 0: + return SURVIVAL; + case 1: + return HARDCORE; + case 2: + return CREATIVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GameMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GameMode findValueByNumber(int number) { - return GameMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameMode findValueByNumber(int number) { + return GameMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor() + .getEnumTypes() + .get(0); } private static final GameMode[] VALUES = values(); - public static GameMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static GameMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -151,56 +139,40 @@ private GameMode(int value) { // @@protoc_insertion_point(enum_scope:GameMode) } - /** - * Protobuf enum {@code Difficulty} - */ - public enum Difficulty - implements com.google.protobuf.ProtocolMessageEnum { - /** - * PEACEFUL = 0; - */ + /** Protobuf enum {@code Difficulty} */ + public enum Difficulty implements com.google.protobuf.ProtocolMessageEnum { + /** PEACEFUL = 0; */ PEACEFUL(0), - /** - * EASY = 1; - */ + /** EASY = 1; */ EASY(1), - /** - * NORMAL = 2; - */ + /** NORMAL = 2; */ NORMAL(2), - /** - * HARD = 3; - */ + /** HARD = 3; */ HARD(3), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - Difficulty.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + Difficulty.class.getName()); } - /** - * PEACEFUL = 0; - */ + + /** PEACEFUL = 0; */ public static final int PEACEFUL_VALUE = 0; - /** - * EASY = 1; - */ + + /** EASY = 1; */ public static final int EASY_VALUE = 1; - /** - * NORMAL = 2; - */ + + /** NORMAL = 2; */ public static final int NORMAL_VALUE = 2; - /** - * HARD = 3; - */ - public static final int HARD_VALUE = 3; + /** HARD = 3; */ + public static final int HARD_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -226,50 +198,53 @@ public static Difficulty valueOf(int value) { */ public static Difficulty forNumber(int value) { switch (value) { - case 0: return PEACEFUL; - case 1: return EASY; - case 2: return NORMAL; - case 3: return HARD; - default: return null; + case 0: + return PEACEFUL; + case 1: + return EASY; + case 2: + return NORMAL; + case 3: + return HARD; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Difficulty> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Difficulty findValueByNumber(int number) { - return Difficulty.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Difficulty findValueByNumber(int number) { + return Difficulty.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor() + .getEnumTypes() + .get(1); } private static final Difficulty[] VALUES = values(); - public static Difficulty valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Difficulty valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -286,64 +261,45 @@ private Difficulty(int value) { // @@protoc_insertion_point(enum_scope:Difficulty) } - /** - * Protobuf enum {@code WorldType} - */ - public enum WorldType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * DEFAULT = 0; - */ + /** Protobuf enum {@code WorldType} */ + public enum WorldType implements com.google.protobuf.ProtocolMessageEnum { + /** DEFAULT = 0; */ DEFAULT(0), - /** - * SUPERFLAT = 1; - */ + /** SUPERFLAT = 1; */ SUPERFLAT(1), - /** - * LARGE_BIOMES = 2; - */ + /** LARGE_BIOMES = 2; */ LARGE_BIOMES(2), - /** - * AMPLIFIED = 3; - */ + /** AMPLIFIED = 3; */ AMPLIFIED(3), - /** - * SINGLE_BIOME = 4; - */ + /** SINGLE_BIOME = 4; */ SINGLE_BIOME(4), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - WorldType.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + WorldType.class.getName()); } - /** - * DEFAULT = 0; - */ + + /** DEFAULT = 0; */ public static final int DEFAULT_VALUE = 0; - /** - * SUPERFLAT = 1; - */ + + /** SUPERFLAT = 1; */ public static final int SUPERFLAT_VALUE = 1; - /** - * LARGE_BIOMES = 2; - */ + + /** LARGE_BIOMES = 2; */ public static final int LARGE_BIOMES_VALUE = 2; - /** - * AMPLIFIED = 3; - */ + + /** AMPLIFIED = 3; */ public static final int AMPLIFIED_VALUE = 3; - /** - * SINGLE_BIOME = 4; - */ - public static final int SINGLE_BIOME_VALUE = 4; + /** SINGLE_BIOME = 4; */ + public static final int SINGLE_BIOME_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -369,51 +325,55 @@ public static WorldType valueOf(int value) { */ public static WorldType forNumber(int value) { switch (value) { - case 0: return DEFAULT; - case 1: return SUPERFLAT; - case 2: return LARGE_BIOMES; - case 3: return AMPLIFIED; - case 4: return SINGLE_BIOME; - default: return null; + case 0: + return DEFAULT; + case 1: + return SUPERFLAT; + case 2: + return LARGE_BIOMES; + case 3: + return AMPLIFIED; + case 4: + return SINGLE_BIOME; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - WorldType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WorldType findValueByNumber(int number) { - return WorldType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WorldType findValueByNumber(int number) { + return WorldType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.getDescriptor() + .getEnumTypes() + .get(2); } private static final WorldType[] VALUES = values(); - public static WorldType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static WorldType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -430,284 +390,360 @@ private WorldType(int value) { // @@protoc_insertion_point(enum_scope:WorldType) } - public interface InitialEnvironmentMessageOrBuilder extends + public interface InitialEnvironmentMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:InitialEnvironmentMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The width of the image.
      * 
* * int32 imageSizeX = 1; + * * @return The imageSizeX. */ int getImageSizeX(); /** + * + * *
      * Required. The height of the image.
      * 
* * int32 imageSizeY = 2; + * * @return The imageSizeY. */ int getImageSizeY(); /** + * + * *
      * Default = SURVIVAL
      * 
* * .GameMode gamemode = 3; + * * @return The enum numeric value on the wire for gamemode. */ int getGamemodeValue(); + /** + * + * *
      * Default = SURVIVAL
      * 
* * .GameMode gamemode = 3; + * * @return The gamemode. */ com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode(); /** + * + * *
      * Default = NORMAL
      * 
* * .Difficulty difficulty = 4; + * * @return The enum numeric value on the wire for difficulty. */ int getDifficultyValue(); + /** + * + * *
      * Default = NORMAL
      * 
* * .Difficulty difficulty = 4; + * * @return The difficulty. */ com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty(); /** + * + * *
      * Default = DEFAULT
      * 
* * .WorldType worldType = 5; + * * @return The enum numeric value on the wire for worldType. */ int getWorldTypeValue(); + /** + * + * *
      * Default = DEFAULT
      * 
* * .WorldType worldType = 5; + * * @return The worldType. */ com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType(); /** + * + * *
      * Empty for no value
      * 
* * string worldTypeArgs = 6; + * * @return The worldTypeArgs. */ java.lang.String getWorldTypeArgs(); + /** + * + * *
      * Empty for no value
      * 
* * string worldTypeArgs = 6; + * * @return The bytes for worldTypeArgs. */ - com.google.protobuf.ByteString - getWorldTypeArgsBytes(); + com.google.protobuf.ByteString getWorldTypeArgsBytes(); /** + * + * *
      * Empty for no value
      * 
* * string seed = 7; + * * @return The seed. */ java.lang.String getSeed(); + /** + * + * *
      * Empty for no value
      * 
* * string seed = 7; + * * @return The bytes for seed. */ - com.google.protobuf.ByteString - getSeedBytes(); + com.google.protobuf.ByteString getSeedBytes(); /** + * + * *
      * Default = true
      * 
* * bool generate_structures = 8; + * * @return The generateStructures. */ boolean getGenerateStructures(); /** + * + * *
      * Default = false
      * 
* * bool bonus_chest = 9; + * * @return The bonusChest. */ boolean getBonusChest(); /** * repeated string datapackPaths = 10; + * * @return A list containing the datapackPaths. */ - java.util.List - getDatapackPathsList(); + java.util.List getDatapackPathsList(); + /** * repeated string datapackPaths = 10; + * * @return The count of datapackPaths. */ int getDatapackPathsCount(); + /** * repeated string datapackPaths = 10; + * * @param index The index of the element to return. * @return The datapackPaths at the given index. */ java.lang.String getDatapackPaths(int index); + /** * repeated string datapackPaths = 10; + * * @param index The index of the value to return. * @return The bytes of the datapackPaths at the given index. */ - com.google.protobuf.ByteString - getDatapackPathsBytes(int index); + com.google.protobuf.ByteString getDatapackPathsBytes(int index); /** * repeated string initialExtraCommands = 11; + * * @return A list containing the initialExtraCommands. */ - java.util.List - getInitialExtraCommandsList(); + java.util.List getInitialExtraCommandsList(); + /** * repeated string initialExtraCommands = 11; + * * @return The count of initialExtraCommands. */ int getInitialExtraCommandsCount(); + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the element to return. * @return The initialExtraCommands at the given index. */ java.lang.String getInitialExtraCommands(int index); + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the value to return. * @return The bytes of the initialExtraCommands at the given index. */ - com.google.protobuf.ByteString - getInitialExtraCommandsBytes(int index); + com.google.protobuf.ByteString getInitialExtraCommandsBytes(int index); /** * repeated string killedStatKeys = 12; + * * @return A list containing the killedStatKeys. */ - java.util.List - getKilledStatKeysList(); + java.util.List getKilledStatKeysList(); + /** * repeated string killedStatKeys = 12; + * * @return The count of killedStatKeys. */ int getKilledStatKeysCount(); + /** * repeated string killedStatKeys = 12; + * * @param index The index of the element to return. * @return The killedStatKeys at the given index. */ java.lang.String getKilledStatKeys(int index); + /** * repeated string killedStatKeys = 12; + * * @param index The index of the value to return. * @return The bytes of the killedStatKeys at the given index. */ - com.google.protobuf.ByteString - getKilledStatKeysBytes(int index); + com.google.protobuf.ByteString getKilledStatKeysBytes(int index); /** * repeated string minedStatKeys = 13; + * * @return A list containing the minedStatKeys. */ - java.util.List - getMinedStatKeysList(); + java.util.List getMinedStatKeysList(); + /** * repeated string minedStatKeys = 13; + * * @return The count of minedStatKeys. */ int getMinedStatKeysCount(); + /** * repeated string minedStatKeys = 13; + * * @param index The index of the element to return. * @return The minedStatKeys at the given index. */ java.lang.String getMinedStatKeys(int index); + /** * repeated string minedStatKeys = 13; + * * @param index The index of the value to return. * @return The bytes of the minedStatKeys at the given index. */ - com.google.protobuf.ByteString - getMinedStatKeysBytes(int index); + com.google.protobuf.ByteString getMinedStatKeysBytes(int index); /** * repeated string miscStatKeys = 14; + * * @return A list containing the miscStatKeys. */ - java.util.List - getMiscStatKeysList(); + java.util.List getMiscStatKeysList(); + /** * repeated string miscStatKeys = 14; + * * @return The count of miscStatKeys. */ int getMiscStatKeysCount(); + /** * repeated string miscStatKeys = 14; + * * @param index The index of the element to return. * @return The miscStatKeys at the given index. */ java.lang.String getMiscStatKeys(int index); + /** * repeated string miscStatKeys = 14; + * * @param index The index of the value to return. * @return The bytes of the miscStatKeys at the given index. */ - com.google.protobuf.ByteString - getMiscStatKeysBytes(int index); + com.google.protobuf.ByteString getMiscStatKeysBytes(int index); /** * repeated int32 surroundingEntityDistances = 15; + * * @return A list containing the surroundingEntityDistances. */ java.util.List getSurroundingEntityDistancesList(); + /** * repeated int32 surroundingEntityDistances = 15; + * * @return The count of surroundingEntityDistances. */ int getSurroundingEntityDistancesCount(); + /** * repeated int32 surroundingEntityDistances = 15; + * * @param index The index of the element to return. * @return The surroundingEntityDistances at the given index. */ @@ -715,179 +751,205 @@ public interface InitialEnvironmentMessageOrBuilder extends /** * bool hudHidden = 16; + * * @return The hudHidden. */ boolean getHudHidden(); /** * int32 render_distance = 17; + * * @return The renderDistance. */ int getRenderDistance(); /** * int32 simulation_distance = 18; + * * @return The simulationDistance. */ int getSimulationDistance(); /** + * + * *
      * If > 0, binocular mode
      * 
* * float eye_distance = 19; + * * @return The eyeDistance. */ float getEyeDistance(); /** * repeated string structurePaths = 20; + * * @return A list containing the structurePaths. */ - java.util.List - getStructurePathsList(); + java.util.List getStructurePathsList(); + /** * repeated string structurePaths = 20; + * * @return The count of structurePaths. */ int getStructurePathsCount(); + /** * repeated string structurePaths = 20; + * * @param index The index of the element to return. * @return The structurePaths at the given index. */ java.lang.String getStructurePaths(int index); + /** * repeated string structurePaths = 20; + * * @param index The index of the value to return. * @return The bytes of the structurePaths at the given index. */ - com.google.protobuf.ByteString - getStructurePathsBytes(int index); + com.google.protobuf.ByteString getStructurePathsBytes(int index); /** * bool no_fov_effect = 21; + * * @return The noFovEffect. */ boolean getNoFovEffect(); /** * bool request_raycast = 22; + * * @return The requestRaycast. */ boolean getRequestRaycast(); /** * int32 screen_encoding_mode = 23; + * * @return The screenEncodingMode. */ int getScreenEncodingMode(); /** * bool requiresSurroundingBlocks = 24; + * * @return The requiresSurroundingBlocks. */ boolean getRequiresSurroundingBlocks(); /** * string level_display_name_to_play = 25; + * * @return The levelDisplayNameToPlay. */ java.lang.String getLevelDisplayNameToPlay(); + /** * string level_display_name_to_play = 25; + * * @return The bytes for levelDisplayNameToPlay. */ - com.google.protobuf.ByteString - getLevelDisplayNameToPlayBytes(); + com.google.protobuf.ByteString getLevelDisplayNameToPlayBytes(); /** + * + * *
      * Default = 70
      * 
* * float fov = 26; + * * @return The fov. */ float getFov(); /** * bool requiresBiomeInfo = 27; + * * @return The requiresBiomeInfo. */ boolean getRequiresBiomeInfo(); /** * bool requiresHeightmap = 28; + * * @return The requiresHeightmap. */ boolean getRequiresHeightmap(); } - /** - * Protobuf type {@code InitialEnvironmentMessage} - */ - public static final class InitialEnvironmentMessage extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code InitialEnvironmentMessage} */ + public static final class InitialEnvironmentMessage extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:InitialEnvironmentMessage) InitialEnvironmentMessageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 27, - /* patch= */ 3, - /* suffix= */ "", - InitialEnvironmentMessage.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 3, + /* suffix= */ "", + InitialEnvironmentMessage.class.getName()); } + // Use InitialEnvironmentMessage.newBuilder() to construct. private InitialEnvironmentMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private InitialEnvironmentMessage() { gamemode_ = 0; difficulty_ = 0; worldType_ = 0; worldTypeArgs_ = ""; seed_ = ""; - datapackPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - initialExtraCommands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - killedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - minedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - miscStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + datapackPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + initialExtraCommands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + killedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + minedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + miscStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); surroundingEntityDistances_ = emptyIntList(); - structurePaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + structurePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); levelDisplayNameToPlay_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .internal_static_InitialEnvironmentMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .internal_static_InitialEnvironmentMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .class, + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .Builder.class); } public static final int IMAGESIZEX_FIELD_NUMBER = 1; private int imageSizeX_ = 0; + /** + * + * *
      * Required. The width of the image.
      * 
* * int32 imageSizeX = 1; + * * @return The imageSizeX. */ @java.lang.Override @@ -897,12 +959,16 @@ public int getImageSizeX() { public static final int IMAGESIZEY_FIELD_NUMBER = 2; private int imageSizeY_ = 0; + /** + * + * *
      * Required. The height of the image.
      * 
* * int32 imageSizeY = 2; + * * @return The imageSizeY. */ @java.lang.Override @@ -912,91 +978,135 @@ public int getImageSizeY() { public static final int GAMEMODE_FIELD_NUMBER = 3; private int gamemode_ = 0; + /** + * + * *
      * Default = SURVIVAL
      * 
* * .GameMode gamemode = 3; + * * @return The enum numeric value on the wire for gamemode. */ - @java.lang.Override public int getGamemodeValue() { + @java.lang.Override + public int getGamemodeValue() { return gamemode_; } + /** + * + * *
      * Default = SURVIVAL
      * 
* * .GameMode gamemode = 3; + * * @return The gamemode. */ - @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result; + @java.lang.Override + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode() { + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED + : result; } public static final int DIFFICULTY_FIELD_NUMBER = 4; private int difficulty_ = 0; + /** + * + * *
      * Default = NORMAL
      * 
* * .Difficulty difficulty = 4; + * * @return The enum numeric value on the wire for difficulty. */ - @java.lang.Override public int getDifficultyValue() { + @java.lang.Override + public int getDifficultyValue() { return difficulty_; } + /** + * + * *
      * Default = NORMAL
      * 
* * .Difficulty difficulty = 4; + * * @return The difficulty. */ - @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber(difficulty_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result; + @java.lang.Override + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty() { + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber(difficulty_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED + : result; } public static final int WORLDTYPE_FIELD_NUMBER = 5; private int worldType_ = 0; + /** + * + * *
      * Default = DEFAULT
      * 
* * .WorldType worldType = 5; + * * @return The enum numeric value on the wire for worldType. */ - @java.lang.Override public int getWorldTypeValue() { + @java.lang.Override + public int getWorldTypeValue() { return worldType_; } + /** + * + * *
      * Default = DEFAULT
      * 
* * .WorldType worldType = 5; + * * @return The worldType. */ - @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result; + @java.lang.Override + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType() { + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED + : result; } public static final int WORLDTYPEARGS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object worldTypeArgs_ = ""; + /** + * + * *
      * Empty for no value
      * 
* * string worldTypeArgs = 6; + * * @return The worldTypeArgs. */ @java.lang.Override @@ -1005,29 +1115,30 @@ public java.lang.String getWorldTypeArgs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); worldTypeArgs_ = s; return s; } } + /** + * + * *
      * Empty for no value
      * 
* * string worldTypeArgs = 6; + * * @return The bytes for worldTypeArgs. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorldTypeArgsBytes() { + public com.google.protobuf.ByteString getWorldTypeArgsBytes() { java.lang.Object ref = worldTypeArgs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); worldTypeArgs_ = b; return b; } else { @@ -1036,14 +1147,19 @@ public java.lang.String getWorldTypeArgs() { } public static final int SEED_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object seed_ = ""; + /** + * + * *
      * Empty for no value
      * 
* * string seed = 7; + * * @return The seed. */ @java.lang.Override @@ -1052,29 +1168,30 @@ public java.lang.String getSeed() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); seed_ = s; return s; } } + /** + * + * *
      * Empty for no value
      * 
* * string seed = 7; + * * @return The bytes for seed. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeedBytes() { + public com.google.protobuf.ByteString getSeedBytes() { java.lang.Object ref = seed_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); seed_ = b; return b; } else { @@ -1084,12 +1201,16 @@ public java.lang.String getSeed() { public static final int GENERATE_STRUCTURES_FIELD_NUMBER = 8; private boolean generateStructures_ = false; + /** + * + * *
      * Default = true
      * 
* * bool generate_structures = 8; + * * @return The generateStructures. */ @java.lang.Override @@ -1099,12 +1220,16 @@ public boolean getGenerateStructures() { public static final int BONUS_CHEST_FIELD_NUMBER = 9; private boolean bonusChest_ = false; + /** + * + * *
      * Default = false
      * 
* * bool bonus_chest = 9; + * * @return The bonusChest. */ @java.lang.Override @@ -1113,224 +1238,267 @@ public boolean getBonusChest() { } public static final int DATAPACKPATHS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList datapackPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string datapackPaths = 10; + * * @return A list containing the datapackPaths. */ - public com.google.protobuf.ProtocolStringList - getDatapackPathsList() { + public com.google.protobuf.ProtocolStringList getDatapackPathsList() { return datapackPaths_; } + /** * repeated string datapackPaths = 10; + * * @return The count of datapackPaths. */ public int getDatapackPathsCount() { return datapackPaths_.size(); } + /** * repeated string datapackPaths = 10; + * * @param index The index of the element to return. * @return The datapackPaths at the given index. */ public java.lang.String getDatapackPaths(int index) { return datapackPaths_.get(index); } + /** * repeated string datapackPaths = 10; + * * @param index The index of the value to return. * @return The bytes of the datapackPaths at the given index. */ - public com.google.protobuf.ByteString - getDatapackPathsBytes(int index) { + public com.google.protobuf.ByteString getDatapackPathsBytes(int index) { return datapackPaths_.getByteString(index); } public static final int INITIALEXTRACOMMANDS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList initialExtraCommands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string initialExtraCommands = 11; + * * @return A list containing the initialExtraCommands. */ - public com.google.protobuf.ProtocolStringList - getInitialExtraCommandsList() { + public com.google.protobuf.ProtocolStringList getInitialExtraCommandsList() { return initialExtraCommands_; } + /** * repeated string initialExtraCommands = 11; + * * @return The count of initialExtraCommands. */ public int getInitialExtraCommandsCount() { return initialExtraCommands_.size(); } + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the element to return. * @return The initialExtraCommands at the given index. */ public java.lang.String getInitialExtraCommands(int index) { return initialExtraCommands_.get(index); } + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the value to return. * @return The bytes of the initialExtraCommands at the given index. */ - public com.google.protobuf.ByteString - getInitialExtraCommandsBytes(int index) { + public com.google.protobuf.ByteString getInitialExtraCommandsBytes(int index) { return initialExtraCommands_.getByteString(index); } public static final int KILLEDSTATKEYS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList killedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string killedStatKeys = 12; + * * @return A list containing the killedStatKeys. */ - public com.google.protobuf.ProtocolStringList - getKilledStatKeysList() { + public com.google.protobuf.ProtocolStringList getKilledStatKeysList() { return killedStatKeys_; } + /** * repeated string killedStatKeys = 12; + * * @return The count of killedStatKeys. */ public int getKilledStatKeysCount() { return killedStatKeys_.size(); } + /** * repeated string killedStatKeys = 12; + * * @param index The index of the element to return. * @return The killedStatKeys at the given index. */ public java.lang.String getKilledStatKeys(int index) { return killedStatKeys_.get(index); } + /** * repeated string killedStatKeys = 12; + * * @param index The index of the value to return. * @return The bytes of the killedStatKeys at the given index. */ - public com.google.protobuf.ByteString - getKilledStatKeysBytes(int index) { + public com.google.protobuf.ByteString getKilledStatKeysBytes(int index) { return killedStatKeys_.getByteString(index); } public static final int MINEDSTATKEYS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList minedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string minedStatKeys = 13; + * * @return A list containing the minedStatKeys. */ - public com.google.protobuf.ProtocolStringList - getMinedStatKeysList() { + public com.google.protobuf.ProtocolStringList getMinedStatKeysList() { return minedStatKeys_; } + /** * repeated string minedStatKeys = 13; + * * @return The count of minedStatKeys. */ public int getMinedStatKeysCount() { return minedStatKeys_.size(); } + /** * repeated string minedStatKeys = 13; + * * @param index The index of the element to return. * @return The minedStatKeys at the given index. */ public java.lang.String getMinedStatKeys(int index) { return minedStatKeys_.get(index); } + /** * repeated string minedStatKeys = 13; + * * @param index The index of the value to return. * @return The bytes of the minedStatKeys at the given index. */ - public com.google.protobuf.ByteString - getMinedStatKeysBytes(int index) { + public com.google.protobuf.ByteString getMinedStatKeysBytes(int index) { return minedStatKeys_.getByteString(index); } public static final int MISCSTATKEYS_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList miscStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string miscStatKeys = 14; + * * @return A list containing the miscStatKeys. */ - public com.google.protobuf.ProtocolStringList - getMiscStatKeysList() { + public com.google.protobuf.ProtocolStringList getMiscStatKeysList() { return miscStatKeys_; } + /** * repeated string miscStatKeys = 14; + * * @return The count of miscStatKeys. */ public int getMiscStatKeysCount() { return miscStatKeys_.size(); } + /** * repeated string miscStatKeys = 14; + * * @param index The index of the element to return. * @return The miscStatKeys at the given index. */ public java.lang.String getMiscStatKeys(int index) { return miscStatKeys_.get(index); } + /** * repeated string miscStatKeys = 14; + * * @param index The index of the value to return. * @return The bytes of the miscStatKeys at the given index. */ - public com.google.protobuf.ByteString - getMiscStatKeysBytes(int index) { + public com.google.protobuf.ByteString getMiscStatKeysBytes(int index) { return miscStatKeys_.getByteString(index); } public static final int SURROUNDINGENTITYDISTANCES_FIELD_NUMBER = 15; + @SuppressWarnings("serial") - private com.google.protobuf.Internal.IntList surroundingEntityDistances_ = - emptyIntList(); + private com.google.protobuf.Internal.IntList surroundingEntityDistances_ = emptyIntList(); + /** * repeated int32 surroundingEntityDistances = 15; + * * @return A list containing the surroundingEntityDistances. */ @java.lang.Override - public java.util.List - getSurroundingEntityDistancesList() { + public java.util.List getSurroundingEntityDistancesList() { return surroundingEntityDistances_; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @return The count of surroundingEntityDistances. */ public int getSurroundingEntityDistancesCount() { return surroundingEntityDistances_.size(); } + /** * repeated int32 surroundingEntityDistances = 15; + * * @param index The index of the element to return. * @return The surroundingEntityDistances at the given index. */ public int getSurroundingEntityDistances(int index) { return surroundingEntityDistances_.getInt(index); } + private int surroundingEntityDistancesMemoizedSerializedSize = -1; public static final int HUDHIDDEN_FIELD_NUMBER = 16; private boolean hudHidden_ = false; + /** * bool hudHidden = 16; + * * @return The hudHidden. */ @java.lang.Override @@ -1340,8 +1508,10 @@ public boolean getHudHidden() { public static final int RENDER_DISTANCE_FIELD_NUMBER = 17; private int renderDistance_ = 0; + /** * int32 render_distance = 17; + * * @return The renderDistance. */ @java.lang.Override @@ -1351,8 +1521,10 @@ public int getRenderDistance() { public static final int SIMULATION_DISTANCE_FIELD_NUMBER = 18; private int simulationDistance_ = 0; + /** * int32 simulation_distance = 18; + * * @return The simulationDistance. */ @java.lang.Override @@ -1362,12 +1534,16 @@ public int getSimulationDistance() { public static final int EYE_DISTANCE_FIELD_NUMBER = 19; private float eyeDistance_ = 0F; + /** + * + * *
      * If > 0, binocular mode
      * 
* * float eye_distance = 19; + * * @return The eyeDistance. */ @java.lang.Override @@ -1376,46 +1552,55 @@ public float getEyeDistance() { } public static final int STRUCTUREPATHS_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList structurePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * repeated string structurePaths = 20; + * * @return A list containing the structurePaths. */ - public com.google.protobuf.ProtocolStringList - getStructurePathsList() { + public com.google.protobuf.ProtocolStringList getStructurePathsList() { return structurePaths_; } + /** * repeated string structurePaths = 20; + * * @return The count of structurePaths. */ public int getStructurePathsCount() { return structurePaths_.size(); } + /** * repeated string structurePaths = 20; + * * @param index The index of the element to return. * @return The structurePaths at the given index. */ public java.lang.String getStructurePaths(int index) { return structurePaths_.get(index); } + /** * repeated string structurePaths = 20; + * * @param index The index of the value to return. * @return The bytes of the structurePaths at the given index. */ - public com.google.protobuf.ByteString - getStructurePathsBytes(int index) { + public com.google.protobuf.ByteString getStructurePathsBytes(int index) { return structurePaths_.getByteString(index); } public static final int NO_FOV_EFFECT_FIELD_NUMBER = 21; private boolean noFovEffect_ = false; + /** * bool no_fov_effect = 21; + * * @return The noFovEffect. */ @java.lang.Override @@ -1425,8 +1610,10 @@ public boolean getNoFovEffect() { public static final int REQUEST_RAYCAST_FIELD_NUMBER = 22; private boolean requestRaycast_ = false; + /** * bool request_raycast = 22; + * * @return The requestRaycast. */ @java.lang.Override @@ -1436,8 +1623,10 @@ public boolean getRequestRaycast() { public static final int SCREEN_ENCODING_MODE_FIELD_NUMBER = 23; private int screenEncodingMode_ = 0; + /** * int32 screen_encoding_mode = 23; + * * @return The screenEncodingMode. */ @java.lang.Override @@ -1447,8 +1636,10 @@ public int getScreenEncodingMode() { public static final int REQUIRESSURROUNDINGBLOCKS_FIELD_NUMBER = 24; private boolean requiresSurroundingBlocks_ = false; + /** * bool requiresSurroundingBlocks = 24; + * * @return The requiresSurroundingBlocks. */ @java.lang.Override @@ -1457,10 +1648,13 @@ public boolean getRequiresSurroundingBlocks() { } public static final int LEVEL_DISPLAY_NAME_TO_PLAY_FIELD_NUMBER = 25; + @SuppressWarnings("serial") private volatile java.lang.Object levelDisplayNameToPlay_ = ""; + /** * string level_display_name_to_play = 25; + * * @return The levelDisplayNameToPlay. */ @java.lang.Override @@ -1469,25 +1663,24 @@ public java.lang.String getLevelDisplayNameToPlay() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); levelDisplayNameToPlay_ = s; return s; } } + /** * string level_display_name_to_play = 25; + * * @return The bytes for levelDisplayNameToPlay. */ @java.lang.Override - public com.google.protobuf.ByteString - getLevelDisplayNameToPlayBytes() { + public com.google.protobuf.ByteString getLevelDisplayNameToPlayBytes() { java.lang.Object ref = levelDisplayNameToPlay_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); levelDisplayNameToPlay_ = b; return b; } else { @@ -1497,12 +1690,16 @@ public java.lang.String getLevelDisplayNameToPlay() { public static final int FOV_FIELD_NUMBER = 26; private float fov_ = 0F; + /** + * + * *
      * Default = 70
      * 
* * float fov = 26; + * * @return The fov. */ @java.lang.Override @@ -1512,8 +1709,10 @@ public float getFov() { public static final int REQUIRESBIOMEINFO_FIELD_NUMBER = 27; private boolean requiresBiomeInfo_ = false; + /** * bool requiresBiomeInfo = 27; + * * @return The requiresBiomeInfo. */ @java.lang.Override @@ -1523,8 +1722,10 @@ public boolean getRequiresBiomeInfo() { public static final int REQUIRESHEIGHTMAP_FIELD_NUMBER = 28; private boolean requiresHeightmap_ = false; + /** * bool requiresHeightmap = 28; + * * @return The requiresHeightmap. */ @java.lang.Override @@ -1533,6 +1734,7 @@ public boolean getRequiresHeightmap() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1544,8 +1746,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (imageSizeX_ != 0) { output.writeInt32(1, imageSizeX_); @@ -1553,13 +1754,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (imageSizeY_ != 0) { output.writeInt32(2, imageSizeY_); } - if (gamemode_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) { + if (gamemode_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) { output.writeEnum(3, gamemode_); } - if (difficulty_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) { + if (difficulty_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL + .getNumber()) { output.writeEnum(4, difficulty_); } - if (worldType_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) { + if (worldType_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) { output.writeEnum(5, worldType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(worldTypeArgs_)) { @@ -1578,7 +1783,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessage.writeString(output, 10, datapackPaths_.getRaw(i)); } for (int i = 0; i < initialExtraCommands_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 11, initialExtraCommands_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString( + output, 11, initialExtraCommands_.getRaw(i)); } for (int i = 0; i < killedStatKeys_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 12, killedStatKeys_.getRaw(i)); @@ -1645,24 +1851,23 @@ public int getSerializedSize() { size = 0; if (imageSizeX_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, imageSizeX_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, imageSizeX_); } if (imageSizeY_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, imageSizeY_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, imageSizeY_); } - if (gamemode_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gamemode_); + if (gamemode_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.SURVIVAL.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, gamemode_); } - if (difficulty_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, difficulty_); + if (difficulty_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.PEACEFUL + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, difficulty_); } - if (worldType_ != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, worldType_); + if (worldType_ + != com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.DEFAULT.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, worldType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(worldTypeArgs_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, worldTypeArgs_); @@ -1671,12 +1876,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, seed_); } if (generateStructures_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, generateStructures_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, generateStructures_); } if (bonusChest_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, bonusChest_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, bonusChest_); } { int dataSize = 0; @@ -1721,32 +1924,28 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < surroundingEntityDistances_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(surroundingEntityDistances_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + surroundingEntityDistances_.getInt(i)); } size += dataSize; if (!getSurroundingEntityDistancesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } surroundingEntityDistancesMemoizedSerializedSize = dataSize; } if (hudHidden_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, hudHidden_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, hudHidden_); } if (renderDistance_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, renderDistance_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, renderDistance_); } if (simulationDistance_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(18, simulationDistance_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(18, simulationDistance_); } if (java.lang.Float.floatToRawIntBits(eyeDistance_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(19, eyeDistance_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(19, eyeDistance_); } { int dataSize = 0; @@ -1757,35 +1956,29 @@ public int getSerializedSize() { size += 2 * getStructurePathsList().size(); } if (noFovEffect_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(21, noFovEffect_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, noFovEffect_); } if (requestRaycast_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(22, requestRaycast_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(22, requestRaycast_); } if (screenEncodingMode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(23, screenEncodingMode_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(23, screenEncodingMode_); } if (requiresSurroundingBlocks_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(24, requiresSurroundingBlocks_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(24, requiresSurroundingBlocks_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(levelDisplayNameToPlay_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(25, levelDisplayNameToPlay_); } if (java.lang.Float.floatToRawIntBits(fov_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(26, fov_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(26, fov_); } if (requiresBiomeInfo_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(27, requiresBiomeInfo_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(27, requiresBiomeInfo_); } if (requiresHeightmap_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(28, requiresHeightmap_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, requiresHeightmap_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1795,68 +1988,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage)) { + if (!(obj + instanceof + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other = (com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) obj; + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other = + (com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) obj; - if (getImageSizeX() - != other.getImageSizeX()) return false; - if (getImageSizeY() - != other.getImageSizeY()) return false; + if (getImageSizeX() != other.getImageSizeX()) return false; + if (getImageSizeY() != other.getImageSizeY()) return false; if (gamemode_ != other.gamemode_) return false; if (difficulty_ != other.difficulty_) return false; if (worldType_ != other.worldType_) return false; - if (!getWorldTypeArgs() - .equals(other.getWorldTypeArgs())) return false; - if (!getSeed() - .equals(other.getSeed())) return false; - if (getGenerateStructures() - != other.getGenerateStructures()) return false; - if (getBonusChest() - != other.getBonusChest()) return false; - if (!getDatapackPathsList() - .equals(other.getDatapackPathsList())) return false; - if (!getInitialExtraCommandsList() - .equals(other.getInitialExtraCommandsList())) return false; - if (!getKilledStatKeysList() - .equals(other.getKilledStatKeysList())) return false; - if (!getMinedStatKeysList() - .equals(other.getMinedStatKeysList())) return false; - if (!getMiscStatKeysList() - .equals(other.getMiscStatKeysList())) return false; - if (!getSurroundingEntityDistancesList() - .equals(other.getSurroundingEntityDistancesList())) return false; - if (getHudHidden() - != other.getHudHidden()) return false; - if (getRenderDistance() - != other.getRenderDistance()) return false; - if (getSimulationDistance() - != other.getSimulationDistance()) return false; + if (!getWorldTypeArgs().equals(other.getWorldTypeArgs())) return false; + if (!getSeed().equals(other.getSeed())) return false; + if (getGenerateStructures() != other.getGenerateStructures()) return false; + if (getBonusChest() != other.getBonusChest()) return false; + if (!getDatapackPathsList().equals(other.getDatapackPathsList())) return false; + if (!getInitialExtraCommandsList().equals(other.getInitialExtraCommandsList())) return false; + if (!getKilledStatKeysList().equals(other.getKilledStatKeysList())) return false; + if (!getMinedStatKeysList().equals(other.getMinedStatKeysList())) return false; + if (!getMiscStatKeysList().equals(other.getMiscStatKeysList())) return false; + if (!getSurroundingEntityDistancesList().equals(other.getSurroundingEntityDistancesList())) + return false; + if (getHudHidden() != other.getHudHidden()) return false; + if (getRenderDistance() != other.getRenderDistance()) return false; + if (getSimulationDistance() != other.getSimulationDistance()) return false; if (java.lang.Float.floatToIntBits(getEyeDistance()) - != java.lang.Float.floatToIntBits( - other.getEyeDistance())) return false; - if (!getStructurePathsList() - .equals(other.getStructurePathsList())) return false; - if (getNoFovEffect() - != other.getNoFovEffect()) return false; - if (getRequestRaycast() - != other.getRequestRaycast()) return false; - if (getScreenEncodingMode() - != other.getScreenEncodingMode()) return false; - if (getRequiresSurroundingBlocks() - != other.getRequiresSurroundingBlocks()) return false; - if (!getLevelDisplayNameToPlay() - .equals(other.getLevelDisplayNameToPlay())) return false; + != java.lang.Float.floatToIntBits(other.getEyeDistance())) return false; + if (!getStructurePathsList().equals(other.getStructurePathsList())) return false; + if (getNoFovEffect() != other.getNoFovEffect()) return false; + if (getRequestRaycast() != other.getRequestRaycast()) return false; + if (getScreenEncodingMode() != other.getScreenEncodingMode()) return false; + if (getRequiresSurroundingBlocks() != other.getRequiresSurroundingBlocks()) return false; + if (!getLevelDisplayNameToPlay().equals(other.getLevelDisplayNameToPlay())) return false; if (java.lang.Float.floatToIntBits(getFov()) - != java.lang.Float.floatToIntBits( - other.getFov())) return false; - if (getRequiresBiomeInfo() - != other.getRequiresBiomeInfo()) return false; - if (getRequiresHeightmap() - != other.getRequiresHeightmap()) return false; + != java.lang.Float.floatToIntBits(other.getFov())) return false; + if (getRequiresBiomeInfo() != other.getRequiresBiomeInfo()) return false; + if (getRequiresHeightmap() != other.getRequiresHeightmap()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1883,11 +2055,9 @@ public int hashCode() { hash = (37 * hash) + SEED_FIELD_NUMBER; hash = (53 * hash) + getSeed().hashCode(); hash = (37 * hash) + GENERATE_STRUCTURES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getGenerateStructures()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGenerateStructures()); hash = (37 * hash) + BONUS_CHEST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBonusChest()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBonusChest()); if (getDatapackPathsCount() > 0) { hash = (37 * hash) + DATAPACKPATHS_FIELD_NUMBER; hash = (53 * hash) + getDatapackPathsList().hashCode(); @@ -1913,168 +2083,172 @@ public int hashCode() { hash = (53 * hash) + getSurroundingEntityDistancesList().hashCode(); } hash = (37 * hash) + HUDHIDDEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHudHidden()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHudHidden()); hash = (37 * hash) + RENDER_DISTANCE_FIELD_NUMBER; hash = (53 * hash) + getRenderDistance(); hash = (37 * hash) + SIMULATION_DISTANCE_FIELD_NUMBER; hash = (53 * hash) + getSimulationDistance(); hash = (37 * hash) + EYE_DISTANCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getEyeDistance()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getEyeDistance()); if (getStructurePathsCount() > 0) { hash = (37 * hash) + STRUCTUREPATHS_FIELD_NUMBER; hash = (53 * hash) + getStructurePathsList().hashCode(); } hash = (37 * hash) + NO_FOV_EFFECT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNoFovEffect()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNoFovEffect()); hash = (37 * hash) + REQUEST_RAYCAST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestRaycast()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestRaycast()); hash = (37 * hash) + SCREEN_ENCODING_MODE_FIELD_NUMBER; hash = (53 * hash) + getScreenEncodingMode(); hash = (37 * hash) + REQUIRESSURROUNDINGBLOCKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresSurroundingBlocks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresSurroundingBlocks()); hash = (37 * hash) + LEVEL_DISPLAY_NAME_TO_PLAY_FIELD_NUMBER; hash = (53 * hash) + getLevelDisplayNameToPlay().hashCode(); hash = (37 * hash) + FOV_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFov()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFov()); hash = (37 * hash) + REQUIRESBIOMEINFO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresBiomeInfo()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresBiomeInfo()); hash = (37 * hash) + REQUIRESHEIGHTMAP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresHeightmap()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresHeightmap()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code InitialEnvironmentMessage} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code InitialEnvironmentMessage} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:InitialEnvironmentMessage) com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .internal_static_InitialEnvironmentMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .internal_static_InitialEnvironmentMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.class, com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .class, + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2088,23 +2262,17 @@ public Builder clear() { seed_ = ""; generateStructures_ = false; bonusChest_ = false; - datapackPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - initialExtraCommands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - killedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - minedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - miscStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + datapackPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + initialExtraCommands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + killedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + minedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + miscStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); surroundingEntityDistances_ = emptyIntList(); hudHidden_ = false; renderDistance_ = 0; simulationDistance_ = 0; eyeDistance_ = 0F; - structurePaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + structurePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); noFovEffect_ = false; requestRaycast_ = false; screenEncodingMode_ = 0; @@ -2117,19 +2285,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.internal_static_InitialEnvironmentMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .internal_static_InitialEnvironmentMessage_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .getDefaultInstance(); } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage build() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = buildPartial(); + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + build() { + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2137,14 +2309,20 @@ public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironment } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + buildPartial() { + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result = + new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.imageSizeX_ = imageSizeX_; @@ -2241,16 +2419,23 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironmen @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage)other); + if (other + instanceof + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) { + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + .getDefaultInstance()) return this; if (other.getImageSizeX() != 0) { setImageSizeX(other.getImageSizeX()); } @@ -2417,169 +2602,199 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - imageSizeX_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - imageSizeY_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - gamemode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - difficulty_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - worldType_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - worldTypeArgs_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - seed_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: { - generateStructures_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - bonusChest_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatapackPathsIsMutable(); - datapackPaths_.add(s); - break; - } // case 82 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInitialExtraCommandsIsMutable(); - initialExtraCommands_.add(s); - break; - } // case 90 - case 98: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKilledStatKeysIsMutable(); - killedStatKeys_.add(s); - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMinedStatKeysIsMutable(); - minedStatKeys_.add(s); - break; - } // case 106 - case 114: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMiscStatKeysIsMutable(); - miscStatKeys_.add(s); - break; - } // case 114 - case 120: { - int v = input.readInt32(); - ensureSurroundingEntityDistancesIsMutable(); - surroundingEntityDistances_.addInt(v); - break; - } // case 120 - case 122: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureSurroundingEntityDistancesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - surroundingEntityDistances_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } // case 122 - case 128: { - hudHidden_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: { - renderDistance_ = input.readInt32(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 144: { - simulationDistance_ = input.readInt32(); - bitField0_ |= 0x00020000; - break; - } // case 144 - case 157: { - eyeDistance_ = input.readFloat(); - bitField0_ |= 0x00040000; - break; - } // case 157 - case 162: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStructurePathsIsMutable(); - structurePaths_.add(s); - break; - } // case 162 - case 168: { - noFovEffect_ = input.readBool(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 176: { - requestRaycast_ = input.readBool(); - bitField0_ |= 0x00200000; - break; - } // case 176 - case 184: { - screenEncodingMode_ = input.readInt32(); - bitField0_ |= 0x00400000; - break; - } // case 184 - case 192: { - requiresSurroundingBlocks_ = input.readBool(); - bitField0_ |= 0x00800000; - break; - } // case 192 - case 202: { - levelDisplayNameToPlay_ = input.readStringRequireUtf8(); - bitField0_ |= 0x01000000; - break; - } // case 202 - case 213: { - fov_ = input.readFloat(); - bitField0_ |= 0x02000000; - break; - } // case 213 - case 216: { - requiresBiomeInfo_ = input.readBool(); - bitField0_ |= 0x04000000; - break; - } // case 216 - case 224: { - requiresHeightmap_ = input.readBool(); - bitField0_ |= 0x08000000; - break; - } // case 224 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + imageSizeX_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + imageSizeY_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + gamemode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + difficulty_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + worldType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + worldTypeArgs_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + seed_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: + { + generateStructures_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + bonusChest_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatapackPathsIsMutable(); + datapackPaths_.add(s); + break; + } // case 82 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInitialExtraCommandsIsMutable(); + initialExtraCommands_.add(s); + break; + } // case 90 + case 98: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureKilledStatKeysIsMutable(); + killedStatKeys_.add(s); + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMinedStatKeysIsMutable(); + minedStatKeys_.add(s); + break; + } // case 106 + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMiscStatKeysIsMutable(); + miscStatKeys_.add(s); + break; + } // case 114 + case 120: + { + int v = input.readInt32(); + ensureSurroundingEntityDistancesIsMutable(); + surroundingEntityDistances_.addInt(v); + break; + } // case 120 + case 122: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureSurroundingEntityDistancesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + surroundingEntityDistances_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 122 + case 128: + { + hudHidden_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: + { + renderDistance_ = input.readInt32(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 144: + { + simulationDistance_ = input.readInt32(); + bitField0_ |= 0x00020000; + break; + } // case 144 + case 157: + { + eyeDistance_ = input.readFloat(); + bitField0_ |= 0x00040000; + break; + } // case 157 + case 162: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStructurePathsIsMutable(); + structurePaths_.add(s); + break; + } // case 162 + case 168: + { + noFovEffect_ = input.readBool(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: + { + requestRaycast_ = input.readBool(); + bitField0_ |= 0x00200000; + break; + } // case 176 + case 184: + { + screenEncodingMode_ = input.readInt32(); + bitField0_ |= 0x00400000; + break; + } // case 184 + case 192: + { + requiresSurroundingBlocks_ = input.readBool(); + bitField0_ |= 0x00800000; + break; + } // case 192 + case 202: + { + levelDisplayNameToPlay_ = input.readStringRequireUtf8(); + bitField0_ |= 0x01000000; + break; + } // case 202 + case 213: + { + fov_ = input.readFloat(); + bitField0_ |= 0x02000000; + break; + } // case 213 + case 216: + { + requiresBiomeInfo_ = input.readBool(); + bitField0_ |= 0x04000000; + break; + } // case 216 + case 224: + { + requiresHeightmap_ = input.readBool(); + bitField0_ |= 0x08000000; + break; + } // case 224 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2589,27 +2804,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int imageSizeX_ ; + private int imageSizeX_; + /** + * + * *
        * Required. The width of the image.
        * 
* * int32 imageSizeX = 1; + * * @return The imageSizeX. */ @java.lang.Override public int getImageSizeX() { return imageSizeX_; } + /** + * + * *
        * Required. The width of the image.
        * 
* * int32 imageSizeX = 1; + * * @param value The imageSizeX to set. * @return This builder for chaining. */ @@ -2620,12 +2844,16 @@ public Builder setImageSizeX(int value) { onChanged(); return this; } + /** + * + * *
        * Required. The width of the image.
        * 
* * int32 imageSizeX = 1; + * * @return This builder for chaining. */ public Builder clearImageSizeX() { @@ -2635,25 +2863,33 @@ public Builder clearImageSizeX() { return this; } - private int imageSizeY_ ; + private int imageSizeY_; + /** + * + * *
        * Required. The height of the image.
        * 
* * int32 imageSizeY = 2; + * * @return The imageSizeY. */ @java.lang.Override public int getImageSizeY() { return imageSizeY_; } + /** + * + * *
        * Required. The height of the image.
        * 
* * int32 imageSizeY = 2; + * * @param value The imageSizeY to set. * @return This builder for chaining. */ @@ -2664,12 +2900,16 @@ public Builder setImageSizeY(int value) { onChanged(); return this; } + /** + * + * *
        * Required. The height of the image.
        * 
* * int32 imageSizeY = 2; + * * @return This builder for chaining. */ public Builder clearImageSizeY() { @@ -2680,23 +2920,32 @@ public Builder clearImageSizeY() { } private int gamemode_ = 0; + /** + * + * *
        * Default = SURVIVAL
        * 
* * .GameMode gamemode = 3; + * * @return The enum numeric value on the wire for gamemode. */ - @java.lang.Override public int getGamemodeValue() { + @java.lang.Override + public int getGamemodeValue() { return gamemode_; } + /** + * + * *
        * Default = SURVIVAL
        * 
* * .GameMode gamemode = 3; + * * @param value The enum numeric value on the wire for gamemode to set. * @return This builder for chaining. */ @@ -2706,29 +2955,41 @@ public Builder setGamemodeValue(int value) { onChanged(); return this; } + /** + * + * *
        * Default = SURVIVAL
        * 
* * .GameMode gamemode = 3; + * * @return The gamemode. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode getGamemode() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED : result; + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.forNumber(gamemode_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode.UNRECOGNIZED + : result; } + /** + * + * *
        * Default = SURVIVAL
        * 
* * .GameMode gamemode = 3; + * * @param value The gamemode to set. * @return This builder for chaining. */ - public Builder setGamemode(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode value) { + public Builder setGamemode( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.GameMode value) { if (value == null) { throw new NullPointerException(); } @@ -2737,12 +2998,16 @@ public Builder setGamemode(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironmen onChanged(); return this; } + /** + * + * *
        * Default = SURVIVAL
        * 
* * .GameMode gamemode = 3; + * * @return This builder for chaining. */ public Builder clearGamemode() { @@ -2753,23 +3018,32 @@ public Builder clearGamemode() { } private int difficulty_ = 0; + /** + * + * *
        * Default = NORMAL
        * 
* * .Difficulty difficulty = 4; + * * @return The enum numeric value on the wire for difficulty. */ - @java.lang.Override public int getDifficultyValue() { + @java.lang.Override + public int getDifficultyValue() { return difficulty_; } + /** + * + * *
        * Default = NORMAL
        * 
* * .Difficulty difficulty = 4; + * * @param value The enum numeric value on the wire for difficulty to set. * @return This builder for chaining. */ @@ -2779,29 +3053,42 @@ public Builder setDifficultyValue(int value) { onChanged(); return this; } + /** + * + * *
        * Default = NORMAL
        * 
* * .Difficulty difficulty = 4; + * * @return The difficulty. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty getDifficulty() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber(difficulty_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED : result; + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.forNumber( + difficulty_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty.UNRECOGNIZED + : result; } + /** + * + * *
        * Default = NORMAL
        * 
* * .Difficulty difficulty = 4; + * * @param value The difficulty to set. * @return This builder for chaining. */ - public Builder setDifficulty(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty value) { + public Builder setDifficulty( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.Difficulty value) { if (value == null) { throw new NullPointerException(); } @@ -2810,12 +3097,16 @@ public Builder setDifficulty(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironm onChanged(); return this; } + /** + * + * *
        * Default = NORMAL
        * 
* * .Difficulty difficulty = 4; + * * @return This builder for chaining. */ public Builder clearDifficulty() { @@ -2826,23 +3117,32 @@ public Builder clearDifficulty() { } private int worldType_ = 0; + /** + * + * *
        * Default = DEFAULT
        * 
* * .WorldType worldType = 5; + * * @return The enum numeric value on the wire for worldType. */ - @java.lang.Override public int getWorldTypeValue() { + @java.lang.Override + public int getWorldTypeValue() { return worldType_; } + /** + * + * *
        * Default = DEFAULT
        * 
* * .WorldType worldType = 5; + * * @param value The enum numeric value on the wire for worldType to set. * @return This builder for chaining. */ @@ -2852,29 +3152,41 @@ public Builder setWorldTypeValue(int value) { onChanged(); return this; } + /** + * + * *
        * Default = DEFAULT
        * 
* * .WorldType worldType = 5; + * * @return The worldType. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType getWorldType() { - com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED : result; + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType result = + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.forNumber(worldType_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType.UNRECOGNIZED + : result; } + /** + * + * *
        * Default = DEFAULT
        * 
* * .WorldType worldType = 5; + * * @param value The worldType to set. * @return This builder for chaining. */ - public Builder setWorldType(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType value) { + public Builder setWorldType( + com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.WorldType value) { if (value == null) { throw new NullPointerException(); } @@ -2883,12 +3195,16 @@ public Builder setWorldType(com.kyhsgeekcode.minecraftenv.proto.InitialEnvironme onChanged(); return this; } + /** + * + * *
        * Default = DEFAULT
        * 
* * .WorldType worldType = 5; + * * @return This builder for chaining. */ public Builder clearWorldType() { @@ -2899,19 +3215,22 @@ public Builder clearWorldType() { } private java.lang.Object worldTypeArgs_ = ""; + /** + * + * *
        * Empty for no value
        * 
* * string worldTypeArgs = 6; + * * @return The worldTypeArgs. */ public java.lang.String getWorldTypeArgs() { java.lang.Object ref = worldTypeArgs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); worldTypeArgs_ = s; return s; @@ -2919,50 +3238,61 @@ public java.lang.String getWorldTypeArgs() { return (java.lang.String) ref; } } + /** + * + * *
        * Empty for no value
        * 
* * string worldTypeArgs = 6; + * * @return The bytes for worldTypeArgs. */ - public com.google.protobuf.ByteString - getWorldTypeArgsBytes() { + public com.google.protobuf.ByteString getWorldTypeArgsBytes() { java.lang.Object ref = worldTypeArgs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); worldTypeArgs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** + * + * *
        * Empty for no value
        * 
* * string worldTypeArgs = 6; + * * @param value The worldTypeArgs to set. * @return This builder for chaining. */ - public Builder setWorldTypeArgs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorldTypeArgs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } worldTypeArgs_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + /** + * + * *
        * Empty for no value
        * 
* * string worldTypeArgs = 6; + * * @return This builder for chaining. */ public Builder clearWorldTypeArgs() { @@ -2971,18 +3301,23 @@ public Builder clearWorldTypeArgs() { onChanged(); return this; } + /** + * + * *
        * Empty for no value
        * 
* * string worldTypeArgs = 6; + * * @param value The bytes for worldTypeArgs to set. * @return This builder for chaining. */ - public Builder setWorldTypeArgsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorldTypeArgsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); worldTypeArgs_ = value; bitField0_ |= 0x00000020; @@ -2991,19 +3326,22 @@ public Builder setWorldTypeArgsBytes( } private java.lang.Object seed_ = ""; + /** + * + * *
        * Empty for no value
        * 
* * string seed = 7; + * * @return The seed. */ public java.lang.String getSeed() { java.lang.Object ref = seed_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); seed_ = s; return s; @@ -3011,50 +3349,61 @@ public java.lang.String getSeed() { return (java.lang.String) ref; } } + /** + * + * *
        * Empty for no value
        * 
* * string seed = 7; + * * @return The bytes for seed. */ - public com.google.protobuf.ByteString - getSeedBytes() { + public com.google.protobuf.ByteString getSeedBytes() { java.lang.Object ref = seed_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); seed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** + * + * *
        * Empty for no value
        * 
* * string seed = 7; + * * @param value The seed to set. * @return This builder for chaining. */ - public Builder setSeed( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSeed(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } seed_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + /** + * + * *
        * Empty for no value
        * 
* * string seed = 7; + * * @return This builder for chaining. */ public Builder clearSeed() { @@ -3063,18 +3412,23 @@ public Builder clearSeed() { onChanged(); return this; } + /** + * + * *
        * Empty for no value
        * 
* * string seed = 7; + * * @param value The bytes for seed to set. * @return This builder for chaining. */ - public Builder setSeedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSeedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); seed_ = value; bitField0_ |= 0x00000040; @@ -3082,25 +3436,33 @@ public Builder setSeedBytes( return this; } - private boolean generateStructures_ ; + private boolean generateStructures_; + /** + * + * *
        * Default = true
        * 
* * bool generate_structures = 8; + * * @return The generateStructures. */ @java.lang.Override public boolean getGenerateStructures() { return generateStructures_; } + /** + * + * *
        * Default = true
        * 
* * bool generate_structures = 8; + * * @param value The generateStructures to set. * @return This builder for chaining. */ @@ -3111,12 +3473,16 @@ public Builder setGenerateStructures(boolean value) { onChanged(); return this; } + /** + * + * *
        * Default = true
        * 
* * bool generate_structures = 8; + * * @return This builder for chaining. */ public Builder clearGenerateStructures() { @@ -3126,25 +3492,33 @@ public Builder clearGenerateStructures() { return this; } - private boolean bonusChest_ ; + private boolean bonusChest_; + /** + * + * *
        * Default = false
        * 
* * bool bonus_chest = 9; + * * @return The bonusChest. */ @java.lang.Override public boolean getBonusChest() { return bonusChest_; } + /** + * + * *
        * Default = false
        * 
* * bool bonus_chest = 9; + * * @param value The bonusChest to set. * @return This builder for chaining. */ @@ -3155,12 +3529,16 @@ public Builder setBonusChest(boolean value) { onChanged(); return this; } + /** + * + * *
        * Default = false
        * 
* * bool bonus_chest = 9; + * * @return This builder for chaining. */ public Builder clearBonusChest() { @@ -3172,107 +3550,125 @@ public Builder clearBonusChest() { private com.google.protobuf.LazyStringArrayList datapackPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDatapackPathsIsMutable() { if (!datapackPaths_.isModifiable()) { datapackPaths_ = new com.google.protobuf.LazyStringArrayList(datapackPaths_); } bitField0_ |= 0x00000200; } + /** * repeated string datapackPaths = 10; + * * @return A list containing the datapackPaths. */ - public com.google.protobuf.ProtocolStringList - getDatapackPathsList() { + public com.google.protobuf.ProtocolStringList getDatapackPathsList() { datapackPaths_.makeImmutable(); return datapackPaths_; } + /** * repeated string datapackPaths = 10; + * * @return The count of datapackPaths. */ public int getDatapackPathsCount() { return datapackPaths_.size(); } + /** * repeated string datapackPaths = 10; + * * @param index The index of the element to return. * @return The datapackPaths at the given index. */ public java.lang.String getDatapackPaths(int index) { return datapackPaths_.get(index); } + /** * repeated string datapackPaths = 10; + * * @param index The index of the value to return. * @return The bytes of the datapackPaths at the given index. */ - public com.google.protobuf.ByteString - getDatapackPathsBytes(int index) { + public com.google.protobuf.ByteString getDatapackPathsBytes(int index) { return datapackPaths_.getByteString(index); } + /** * repeated string datapackPaths = 10; + * * @param index The index to set the value at. * @param value The datapackPaths to set. * @return This builder for chaining. */ - public Builder setDatapackPaths( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatapackPaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatapackPathsIsMutable(); datapackPaths_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } + /** * repeated string datapackPaths = 10; + * * @param value The datapackPaths to add. * @return This builder for chaining. */ - public Builder addDatapackPaths( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatapackPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatapackPathsIsMutable(); datapackPaths_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } + /** * repeated string datapackPaths = 10; + * * @param values The datapackPaths to add. * @return This builder for chaining. */ - public Builder addAllDatapackPaths( - java.lang.Iterable values) { + public Builder addAllDatapackPaths(java.lang.Iterable values) { ensureDatapackPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, datapackPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datapackPaths_); bitField0_ |= 0x00000200; onChanged(); return this; } + /** * repeated string datapackPaths = 10; + * * @return This builder for chaining. */ public Builder clearDatapackPaths() { - datapackPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200);; + datapackPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + ; onChanged(); return this; } + /** * repeated string datapackPaths = 10; + * * @param value The bytes of the datapackPaths to add. * @return This builder for chaining. */ - public Builder addDatapackPathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatapackPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDatapackPathsIsMutable(); datapackPaths_.add(value); @@ -3283,107 +3679,126 @@ public Builder addDatapackPathsBytes( private com.google.protobuf.LazyStringArrayList initialExtraCommands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureInitialExtraCommandsIsMutable() { if (!initialExtraCommands_.isModifiable()) { - initialExtraCommands_ = new com.google.protobuf.LazyStringArrayList(initialExtraCommands_); + initialExtraCommands_ = + new com.google.protobuf.LazyStringArrayList(initialExtraCommands_); } bitField0_ |= 0x00000400; } + /** * repeated string initialExtraCommands = 11; + * * @return A list containing the initialExtraCommands. */ - public com.google.protobuf.ProtocolStringList - getInitialExtraCommandsList() { + public com.google.protobuf.ProtocolStringList getInitialExtraCommandsList() { initialExtraCommands_.makeImmutable(); return initialExtraCommands_; } + /** * repeated string initialExtraCommands = 11; + * * @return The count of initialExtraCommands. */ public int getInitialExtraCommandsCount() { return initialExtraCommands_.size(); } + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the element to return. * @return The initialExtraCommands at the given index. */ public java.lang.String getInitialExtraCommands(int index) { return initialExtraCommands_.get(index); } + /** * repeated string initialExtraCommands = 11; + * * @param index The index of the value to return. * @return The bytes of the initialExtraCommands at the given index. */ - public com.google.protobuf.ByteString - getInitialExtraCommandsBytes(int index) { + public com.google.protobuf.ByteString getInitialExtraCommandsBytes(int index) { return initialExtraCommands_.getByteString(index); } + /** * repeated string initialExtraCommands = 11; + * * @param index The index to set the value at. * @param value The initialExtraCommands to set. * @return This builder for chaining. */ - public Builder setInitialExtraCommands( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInitialExtraCommands(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInitialExtraCommandsIsMutable(); initialExtraCommands_.set(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } + /** * repeated string initialExtraCommands = 11; + * * @param value The initialExtraCommands to add. * @return This builder for chaining. */ - public Builder addInitialExtraCommands( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInitialExtraCommands(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInitialExtraCommandsIsMutable(); initialExtraCommands_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } + /** * repeated string initialExtraCommands = 11; + * * @param values The initialExtraCommands to add. * @return This builder for chaining. */ - public Builder addAllInitialExtraCommands( - java.lang.Iterable values) { + public Builder addAllInitialExtraCommands(java.lang.Iterable values) { ensureInitialExtraCommandsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, initialExtraCommands_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, initialExtraCommands_); bitField0_ |= 0x00000400; onChanged(); return this; } + /** * repeated string initialExtraCommands = 11; + * * @return This builder for chaining. */ public Builder clearInitialExtraCommands() { - initialExtraCommands_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400);; + initialExtraCommands_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + ; onChanged(); return this; } + /** * repeated string initialExtraCommands = 11; + * * @param value The bytes of the initialExtraCommands to add. * @return This builder for chaining. */ - public Builder addInitialExtraCommandsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInitialExtraCommandsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInitialExtraCommandsIsMutable(); initialExtraCommands_.add(value); @@ -3394,107 +3809,125 @@ public Builder addInitialExtraCommandsBytes( private com.google.protobuf.LazyStringArrayList killedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKilledStatKeysIsMutable() { if (!killedStatKeys_.isModifiable()) { killedStatKeys_ = new com.google.protobuf.LazyStringArrayList(killedStatKeys_); } bitField0_ |= 0x00000800; } + /** * repeated string killedStatKeys = 12; + * * @return A list containing the killedStatKeys. */ - public com.google.protobuf.ProtocolStringList - getKilledStatKeysList() { + public com.google.protobuf.ProtocolStringList getKilledStatKeysList() { killedStatKeys_.makeImmutable(); return killedStatKeys_; } + /** * repeated string killedStatKeys = 12; + * * @return The count of killedStatKeys. */ public int getKilledStatKeysCount() { return killedStatKeys_.size(); } + /** * repeated string killedStatKeys = 12; + * * @param index The index of the element to return. * @return The killedStatKeys at the given index. */ public java.lang.String getKilledStatKeys(int index) { return killedStatKeys_.get(index); } + /** * repeated string killedStatKeys = 12; + * * @param index The index of the value to return. * @return The bytes of the killedStatKeys at the given index. */ - public com.google.protobuf.ByteString - getKilledStatKeysBytes(int index) { + public com.google.protobuf.ByteString getKilledStatKeysBytes(int index) { return killedStatKeys_.getByteString(index); } + /** * repeated string killedStatKeys = 12; + * * @param index The index to set the value at. * @param value The killedStatKeys to set. * @return This builder for chaining. */ - public Builder setKilledStatKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKilledStatKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKilledStatKeysIsMutable(); killedStatKeys_.set(index, value); bitField0_ |= 0x00000800; onChanged(); return this; } + /** * repeated string killedStatKeys = 12; + * * @param value The killedStatKeys to add. * @return This builder for chaining. */ - public Builder addKilledStatKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKilledStatKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKilledStatKeysIsMutable(); killedStatKeys_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } + /** * repeated string killedStatKeys = 12; + * * @param values The killedStatKeys to add. * @return This builder for chaining. */ - public Builder addAllKilledStatKeys( - java.lang.Iterable values) { + public Builder addAllKilledStatKeys(java.lang.Iterable values) { ensureKilledStatKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, killedStatKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, killedStatKeys_); bitField0_ |= 0x00000800; onChanged(); return this; } + /** * repeated string killedStatKeys = 12; + * * @return This builder for chaining. */ public Builder clearKilledStatKeys() { - killedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800);; + killedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + ; onChanged(); return this; } + /** * repeated string killedStatKeys = 12; + * * @param value The bytes of the killedStatKeys to add. * @return This builder for chaining. */ - public Builder addKilledStatKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKilledStatKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKilledStatKeysIsMutable(); killedStatKeys_.add(value); @@ -3505,107 +3938,125 @@ public Builder addKilledStatKeysBytes( private com.google.protobuf.LazyStringArrayList minedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMinedStatKeysIsMutable() { if (!minedStatKeys_.isModifiable()) { minedStatKeys_ = new com.google.protobuf.LazyStringArrayList(minedStatKeys_); } bitField0_ |= 0x00001000; } + /** * repeated string minedStatKeys = 13; + * * @return A list containing the minedStatKeys. */ - public com.google.protobuf.ProtocolStringList - getMinedStatKeysList() { + public com.google.protobuf.ProtocolStringList getMinedStatKeysList() { minedStatKeys_.makeImmutable(); return minedStatKeys_; } + /** * repeated string minedStatKeys = 13; + * * @return The count of minedStatKeys. */ public int getMinedStatKeysCount() { return minedStatKeys_.size(); } + /** * repeated string minedStatKeys = 13; + * * @param index The index of the element to return. * @return The minedStatKeys at the given index. */ public java.lang.String getMinedStatKeys(int index) { return minedStatKeys_.get(index); } + /** * repeated string minedStatKeys = 13; + * * @param index The index of the value to return. * @return The bytes of the minedStatKeys at the given index. */ - public com.google.protobuf.ByteString - getMinedStatKeysBytes(int index) { + public com.google.protobuf.ByteString getMinedStatKeysBytes(int index) { return minedStatKeys_.getByteString(index); } + /** * repeated string minedStatKeys = 13; + * * @param index The index to set the value at. * @param value The minedStatKeys to set. * @return This builder for chaining. */ - public Builder setMinedStatKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMinedStatKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMinedStatKeysIsMutable(); minedStatKeys_.set(index, value); bitField0_ |= 0x00001000; onChanged(); return this; } + /** * repeated string minedStatKeys = 13; + * * @param value The minedStatKeys to add. * @return This builder for chaining. */ - public Builder addMinedStatKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMinedStatKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMinedStatKeysIsMutable(); minedStatKeys_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } + /** * repeated string minedStatKeys = 13; + * * @param values The minedStatKeys to add. * @return This builder for chaining. */ - public Builder addAllMinedStatKeys( - java.lang.Iterable values) { + public Builder addAllMinedStatKeys(java.lang.Iterable values) { ensureMinedStatKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, minedStatKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minedStatKeys_); bitField0_ |= 0x00001000; onChanged(); return this; } + /** * repeated string minedStatKeys = 13; + * * @return This builder for chaining. */ public Builder clearMinedStatKeys() { - minedStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000);; + minedStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00001000); + ; onChanged(); return this; } + /** * repeated string minedStatKeys = 13; + * * @param value The bytes of the minedStatKeys to add. * @return This builder for chaining. */ - public Builder addMinedStatKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMinedStatKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMinedStatKeysIsMutable(); minedStatKeys_.add(value); @@ -3616,107 +4067,125 @@ public Builder addMinedStatKeysBytes( private com.google.protobuf.LazyStringArrayList miscStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMiscStatKeysIsMutable() { if (!miscStatKeys_.isModifiable()) { miscStatKeys_ = new com.google.protobuf.LazyStringArrayList(miscStatKeys_); } bitField0_ |= 0x00002000; } + /** * repeated string miscStatKeys = 14; + * * @return A list containing the miscStatKeys. */ - public com.google.protobuf.ProtocolStringList - getMiscStatKeysList() { + public com.google.protobuf.ProtocolStringList getMiscStatKeysList() { miscStatKeys_.makeImmutable(); return miscStatKeys_; } + /** * repeated string miscStatKeys = 14; + * * @return The count of miscStatKeys. */ public int getMiscStatKeysCount() { return miscStatKeys_.size(); } + /** * repeated string miscStatKeys = 14; + * * @param index The index of the element to return. * @return The miscStatKeys at the given index. */ public java.lang.String getMiscStatKeys(int index) { return miscStatKeys_.get(index); } + /** * repeated string miscStatKeys = 14; + * * @param index The index of the value to return. * @return The bytes of the miscStatKeys at the given index. */ - public com.google.protobuf.ByteString - getMiscStatKeysBytes(int index) { + public com.google.protobuf.ByteString getMiscStatKeysBytes(int index) { return miscStatKeys_.getByteString(index); } + /** * repeated string miscStatKeys = 14; + * * @param index The index to set the value at. * @param value The miscStatKeys to set. * @return This builder for chaining. */ - public Builder setMiscStatKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMiscStatKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMiscStatKeysIsMutable(); miscStatKeys_.set(index, value); bitField0_ |= 0x00002000; onChanged(); return this; } + /** * repeated string miscStatKeys = 14; + * * @param value The miscStatKeys to add. * @return This builder for chaining. */ - public Builder addMiscStatKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMiscStatKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMiscStatKeysIsMutable(); miscStatKeys_.add(value); bitField0_ |= 0x00002000; onChanged(); return this; } + /** * repeated string miscStatKeys = 14; + * * @param values The miscStatKeys to add. * @return This builder for chaining. */ - public Builder addAllMiscStatKeys( - java.lang.Iterable values) { + public Builder addAllMiscStatKeys(java.lang.Iterable values) { ensureMiscStatKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, miscStatKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, miscStatKeys_); bitField0_ |= 0x00002000; onChanged(); return this; } + /** * repeated string miscStatKeys = 14; + * * @return This builder for chaining. */ public Builder clearMiscStatKeys() { - miscStatKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00002000);; + miscStatKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00002000); + ; onChanged(); return this; } + /** * repeated string miscStatKeys = 14; + * * @param value The bytes of the miscStatKeys to add. * @return This builder for chaining. */ - public Builder addMiscStatKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMiscStatKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMiscStatKeysIsMutable(); miscStatKeys_.add(value); @@ -3726,44 +4195,51 @@ public Builder addMiscStatKeysBytes( } private com.google.protobuf.Internal.IntList surroundingEntityDistances_ = emptyIntList(); + private void ensureSurroundingEntityDistancesIsMutable() { if (!surroundingEntityDistances_.isModifiable()) { surroundingEntityDistances_ = makeMutableCopy(surroundingEntityDistances_); } bitField0_ |= 0x00004000; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @return A list containing the surroundingEntityDistances. */ - public java.util.List - getSurroundingEntityDistancesList() { + public java.util.List getSurroundingEntityDistancesList() { surroundingEntityDistances_.makeImmutable(); return surroundingEntityDistances_; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @return The count of surroundingEntityDistances. */ public int getSurroundingEntityDistancesCount() { return surroundingEntityDistances_.size(); } + /** * repeated int32 surroundingEntityDistances = 15; + * * @param index The index of the element to return. * @return The surroundingEntityDistances at the given index. */ public int getSurroundingEntityDistances(int index) { return surroundingEntityDistances_.getInt(index); } + /** * repeated int32 surroundingEntityDistances = 15; + * * @param index The index to set the value at. * @param value The surroundingEntityDistances to set. * @return This builder for chaining. */ - public Builder setSurroundingEntityDistances( - int index, int value) { + public Builder setSurroundingEntityDistances(int index, int value) { ensureSurroundingEntityDistancesIsMutable(); surroundingEntityDistances_.setInt(index, value); @@ -3771,8 +4247,10 @@ public Builder setSurroundingEntityDistances( onChanged(); return this; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @param value The surroundingEntityDistances to add. * @return This builder for chaining. */ @@ -3784,22 +4262,25 @@ public Builder addSurroundingEntityDistances(int value) { onChanged(); return this; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @param values The surroundingEntityDistances to add. * @return This builder for chaining. */ public Builder addAllSurroundingEntityDistances( java.lang.Iterable values) { ensureSurroundingEntityDistancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, surroundingEntityDistances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, surroundingEntityDistances_); bitField0_ |= 0x00004000; onChanged(); return this; } + /** * repeated int32 surroundingEntityDistances = 15; + * * @return This builder for chaining. */ public Builder clearSurroundingEntityDistances() { @@ -3809,17 +4290,21 @@ public Builder clearSurroundingEntityDistances() { return this; } - private boolean hudHidden_ ; + private boolean hudHidden_; + /** * bool hudHidden = 16; + * * @return The hudHidden. */ @java.lang.Override public boolean getHudHidden() { return hudHidden_; } + /** * bool hudHidden = 16; + * * @param value The hudHidden to set. * @return This builder for chaining. */ @@ -3830,8 +4315,10 @@ public Builder setHudHidden(boolean value) { onChanged(); return this; } + /** * bool hudHidden = 16; + * * @return This builder for chaining. */ public Builder clearHudHidden() { @@ -3841,17 +4328,21 @@ public Builder clearHudHidden() { return this; } - private int renderDistance_ ; + private int renderDistance_; + /** * int32 render_distance = 17; + * * @return The renderDistance. */ @java.lang.Override public int getRenderDistance() { return renderDistance_; } + /** * int32 render_distance = 17; + * * @param value The renderDistance to set. * @return This builder for chaining. */ @@ -3862,8 +4353,10 @@ public Builder setRenderDistance(int value) { onChanged(); return this; } + /** * int32 render_distance = 17; + * * @return This builder for chaining. */ public Builder clearRenderDistance() { @@ -3873,17 +4366,21 @@ public Builder clearRenderDistance() { return this; } - private int simulationDistance_ ; + private int simulationDistance_; + /** * int32 simulation_distance = 18; + * * @return The simulationDistance. */ @java.lang.Override public int getSimulationDistance() { return simulationDistance_; } + /** * int32 simulation_distance = 18; + * * @param value The simulationDistance to set. * @return This builder for chaining. */ @@ -3894,8 +4391,10 @@ public Builder setSimulationDistance(int value) { onChanged(); return this; } + /** * int32 simulation_distance = 18; + * * @return This builder for chaining. */ public Builder clearSimulationDistance() { @@ -3905,25 +4404,33 @@ public Builder clearSimulationDistance() { return this; } - private float eyeDistance_ ; + private float eyeDistance_; + /** + * + * *
        * If > 0, binocular mode
        * 
* * float eye_distance = 19; + * * @return The eyeDistance. */ @java.lang.Override public float getEyeDistance() { return eyeDistance_; } + /** + * + * *
        * If > 0, binocular mode
        * 
* * float eye_distance = 19; + * * @param value The eyeDistance to set. * @return This builder for chaining. */ @@ -3934,12 +4441,16 @@ public Builder setEyeDistance(float value) { onChanged(); return this; } + /** + * + * *
        * If > 0, binocular mode
        * 
* * float eye_distance = 19; + * * @return This builder for chaining. */ public Builder clearEyeDistance() { @@ -3951,107 +4462,125 @@ public Builder clearEyeDistance() { private com.google.protobuf.LazyStringArrayList structurePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureStructurePathsIsMutable() { if (!structurePaths_.isModifiable()) { structurePaths_ = new com.google.protobuf.LazyStringArrayList(structurePaths_); } bitField0_ |= 0x00080000; } + /** * repeated string structurePaths = 20; + * * @return A list containing the structurePaths. */ - public com.google.protobuf.ProtocolStringList - getStructurePathsList() { + public com.google.protobuf.ProtocolStringList getStructurePathsList() { structurePaths_.makeImmutable(); return structurePaths_; } + /** * repeated string structurePaths = 20; + * * @return The count of structurePaths. */ public int getStructurePathsCount() { return structurePaths_.size(); } + /** * repeated string structurePaths = 20; + * * @param index The index of the element to return. * @return The structurePaths at the given index. */ public java.lang.String getStructurePaths(int index) { return structurePaths_.get(index); } + /** * repeated string structurePaths = 20; + * * @param index The index of the value to return. * @return The bytes of the structurePaths at the given index. */ - public com.google.protobuf.ByteString - getStructurePathsBytes(int index) { + public com.google.protobuf.ByteString getStructurePathsBytes(int index) { return structurePaths_.getByteString(index); } + /** * repeated string structurePaths = 20; + * * @param index The index to set the value at. * @param value The structurePaths to set. * @return This builder for chaining. */ - public Builder setStructurePaths( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStructurePaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStructurePathsIsMutable(); structurePaths_.set(index, value); bitField0_ |= 0x00080000; onChanged(); return this; } + /** * repeated string structurePaths = 20; + * * @param value The structurePaths to add. * @return This builder for chaining. */ - public Builder addStructurePaths( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStructurePaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStructurePathsIsMutable(); structurePaths_.add(value); bitField0_ |= 0x00080000; onChanged(); return this; } + /** * repeated string structurePaths = 20; + * * @param values The structurePaths to add. * @return This builder for chaining. */ - public Builder addAllStructurePaths( - java.lang.Iterable values) { + public Builder addAllStructurePaths(java.lang.Iterable values) { ensureStructurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, structurePaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, structurePaths_); bitField0_ |= 0x00080000; onChanged(); return this; } + /** * repeated string structurePaths = 20; + * * @return This builder for chaining. */ public Builder clearStructurePaths() { - structurePaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000);; + structurePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00080000); + ; onChanged(); return this; } + /** * repeated string structurePaths = 20; + * * @param value The bytes of the structurePaths to add. * @return This builder for chaining. */ - public Builder addStructurePathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStructurePathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureStructurePathsIsMutable(); structurePaths_.add(value); @@ -4060,17 +4589,21 @@ public Builder addStructurePathsBytes( return this; } - private boolean noFovEffect_ ; + private boolean noFovEffect_; + /** * bool no_fov_effect = 21; + * * @return The noFovEffect. */ @java.lang.Override public boolean getNoFovEffect() { return noFovEffect_; } + /** * bool no_fov_effect = 21; + * * @param value The noFovEffect to set. * @return This builder for chaining. */ @@ -4081,8 +4614,10 @@ public Builder setNoFovEffect(boolean value) { onChanged(); return this; } + /** * bool no_fov_effect = 21; + * * @return This builder for chaining. */ public Builder clearNoFovEffect() { @@ -4092,17 +4627,21 @@ public Builder clearNoFovEffect() { return this; } - private boolean requestRaycast_ ; + private boolean requestRaycast_; + /** * bool request_raycast = 22; + * * @return The requestRaycast. */ @java.lang.Override public boolean getRequestRaycast() { return requestRaycast_; } + /** * bool request_raycast = 22; + * * @param value The requestRaycast to set. * @return This builder for chaining. */ @@ -4113,8 +4652,10 @@ public Builder setRequestRaycast(boolean value) { onChanged(); return this; } + /** * bool request_raycast = 22; + * * @return This builder for chaining. */ public Builder clearRequestRaycast() { @@ -4124,17 +4665,21 @@ public Builder clearRequestRaycast() { return this; } - private int screenEncodingMode_ ; + private int screenEncodingMode_; + /** * int32 screen_encoding_mode = 23; + * * @return The screenEncodingMode. */ @java.lang.Override public int getScreenEncodingMode() { return screenEncodingMode_; } + /** * int32 screen_encoding_mode = 23; + * * @param value The screenEncodingMode to set. * @return This builder for chaining. */ @@ -4145,8 +4690,10 @@ public Builder setScreenEncodingMode(int value) { onChanged(); return this; } + /** * int32 screen_encoding_mode = 23; + * * @return This builder for chaining. */ public Builder clearScreenEncodingMode() { @@ -4156,17 +4703,21 @@ public Builder clearScreenEncodingMode() { return this; } - private boolean requiresSurroundingBlocks_ ; + private boolean requiresSurroundingBlocks_; + /** * bool requiresSurroundingBlocks = 24; + * * @return The requiresSurroundingBlocks. */ @java.lang.Override public boolean getRequiresSurroundingBlocks() { return requiresSurroundingBlocks_; } + /** * bool requiresSurroundingBlocks = 24; + * * @param value The requiresSurroundingBlocks to set. * @return This builder for chaining. */ @@ -4177,8 +4728,10 @@ public Builder setRequiresSurroundingBlocks(boolean value) { onChanged(); return this; } + /** * bool requiresSurroundingBlocks = 24; + * * @return This builder for chaining. */ public Builder clearRequiresSurroundingBlocks() { @@ -4189,15 +4742,16 @@ public Builder clearRequiresSurroundingBlocks() { } private java.lang.Object levelDisplayNameToPlay_ = ""; + /** * string level_display_name_to_play = 25; + * * @return The levelDisplayNameToPlay. */ public java.lang.String getLevelDisplayNameToPlay() { java.lang.Object ref = levelDisplayNameToPlay_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); levelDisplayNameToPlay_ = s; return s; @@ -4205,38 +4759,43 @@ public java.lang.String getLevelDisplayNameToPlay() { return (java.lang.String) ref; } } + /** * string level_display_name_to_play = 25; + * * @return The bytes for levelDisplayNameToPlay. */ - public com.google.protobuf.ByteString - getLevelDisplayNameToPlayBytes() { + public com.google.protobuf.ByteString getLevelDisplayNameToPlayBytes() { java.lang.Object ref = levelDisplayNameToPlay_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); levelDisplayNameToPlay_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string level_display_name_to_play = 25; + * * @param value The levelDisplayNameToPlay to set. * @return This builder for chaining. */ - public Builder setLevelDisplayNameToPlay( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLevelDisplayNameToPlay(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } levelDisplayNameToPlay_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } + /** * string level_display_name_to_play = 25; + * * @return This builder for chaining. */ public Builder clearLevelDisplayNameToPlay() { @@ -4245,14 +4804,17 @@ public Builder clearLevelDisplayNameToPlay() { onChanged(); return this; } + /** * string level_display_name_to_play = 25; + * * @param value The bytes for levelDisplayNameToPlay to set. * @return This builder for chaining. */ - public Builder setLevelDisplayNameToPlayBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLevelDisplayNameToPlayBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); levelDisplayNameToPlay_ = value; bitField0_ |= 0x01000000; @@ -4260,25 +4822,33 @@ public Builder setLevelDisplayNameToPlayBytes( return this; } - private float fov_ ; + private float fov_; + /** + * + * *
        * Default = 70
        * 
* * float fov = 26; + * * @return The fov. */ @java.lang.Override public float getFov() { return fov_; } + /** + * + * *
        * Default = 70
        * 
* * float fov = 26; + * * @param value The fov to set. * @return This builder for chaining. */ @@ -4289,12 +4859,16 @@ public Builder setFov(float value) { onChanged(); return this; } + /** + * + * *
        * Default = 70
        * 
* * float fov = 26; + * * @return This builder for chaining. */ public Builder clearFov() { @@ -4304,17 +4878,21 @@ public Builder clearFov() { return this; } - private boolean requiresBiomeInfo_ ; + private boolean requiresBiomeInfo_; + /** * bool requiresBiomeInfo = 27; + * * @return The requiresBiomeInfo. */ @java.lang.Override public boolean getRequiresBiomeInfo() { return requiresBiomeInfo_; } + /** * bool requiresBiomeInfo = 27; + * * @param value The requiresBiomeInfo to set. * @return This builder for chaining. */ @@ -4325,8 +4903,10 @@ public Builder setRequiresBiomeInfo(boolean value) { onChanged(); return this; } + /** * bool requiresBiomeInfo = 27; + * * @return This builder for chaining. */ public Builder clearRequiresBiomeInfo() { @@ -4336,17 +4916,21 @@ public Builder clearRequiresBiomeInfo() { return this; } - private boolean requiresHeightmap_ ; + private boolean requiresHeightmap_; + /** * bool requiresHeightmap = 28; + * * @return The requiresHeightmap. */ @java.lang.Override public boolean getRequiresHeightmap() { return requiresHeightmap_; } + /** * bool requiresHeightmap = 28; + * * @param value The requiresHeightmap to set. * @return This builder for chaining. */ @@ -4357,8 +4941,10 @@ public Builder setRequiresHeightmap(boolean value) { onChanged(); return this; } + /** * bool requiresHeightmap = 28; + * * @return This builder for chaining. */ public Builder clearRequiresHeightmap() { @@ -4372,36 +4958,42 @@ public Builder clearRequiresHeightmap() { } // @@protoc_insertion_point(class_scope:InitialEnvironmentMessage) - private static final com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment + .InitialEnvironmentMessage + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage(); + DEFAULT_INSTANCE = + new com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage(); } - public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InitialEnvironmentMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InitialEnvironmentMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4413,63 +5005,115 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.InitialEnvironment.InitialEnvironmentMessage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_InitialEnvironmentMessage_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_InitialEnvironmentMessage_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_InitialEnvironmentMessage_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n\031initial_environment.proto\"\344\005\n\031InitialE" + - "nvironmentMessage\022\022\n\nimageSizeX\030\001 \001(\005\022\022\n" + - "\nimageSizeY\030\002 \001(\005\022\033\n\010gamemode\030\003 \001(\0162\t.Ga" + - "meMode\022\037\n\ndifficulty\030\004 \001(\0162\013.Difficulty\022" + - "\035\n\tworldType\030\005 \001(\0162\n.WorldType\022\025\n\rworldT" + - "ypeArgs\030\006 \001(\t\022\014\n\004seed\030\007 \001(\t\022\033\n\023generate_" + - "structures\030\010 \001(\010\022\023\n\013bonus_chest\030\t \001(\010\022\025\n" + - "\rdatapackPaths\030\n \003(\t\022\034\n\024initialExtraComm" + - "ands\030\013 \003(\t\022\026\n\016killedStatKeys\030\014 \003(\t\022\025\n\rmi" + - "nedStatKeys\030\r \003(\t\022\024\n\014miscStatKeys\030\016 \003(\t\022" + - "\"\n\032surroundingEntityDistances\030\017 \003(\005\022\021\n\th" + - "udHidden\030\020 \001(\010\022\027\n\017render_distance\030\021 \001(\005\022" + - "\033\n\023simulation_distance\030\022 \001(\005\022\024\n\014eye_dist" + - "ance\030\023 \001(\002\022\026\n\016structurePaths\030\024 \003(\t\022\025\n\rno" + - "_fov_effect\030\025 \001(\010\022\027\n\017request_raycast\030\026 \001" + - "(\010\022\034\n\024screen_encoding_mode\030\027 \001(\005\022!\n\031requ" + - "iresSurroundingBlocks\030\030 \001(\010\022\"\n\032level_dis" + - "play_name_to_play\030\031 \001(\t\022\013\n\003fov\030\032 \001(\002\022\031\n\021" + - "requiresBiomeInfo\030\033 \001(\010\022\031\n\021requiresHeigh" + - "tmap\030\034 \001(\010*4\n\010GameMode\022\014\n\010SURVIVAL\020\000\022\014\n\010" + - "HARDCORE\020\001\022\014\n\010CREATIVE\020\002*:\n\nDifficulty\022\014" + - "\n\010PEACEFUL\020\000\022\010\n\004EASY\020\001\022\n\n\006NORMAL\020\002\022\010\n\004HA" + - "RD\020\003*Z\n\tWorldType\022\013\n\007DEFAULT\020\000\022\r\n\tSUPERF" + - "LAT\020\001\022\020\n\014LARGE_BIOMES\020\002\022\r\n\tAMPLIFIED\020\003\022\020" + - "\n\014SINGLE_BIOME\020\004B&\n$com.kyhsgeekcode.min" + - "ecraft_env.protob\006proto3" + "\n" + + "\031initial_environment.proto\"\344\005\n" + + "\031InitialEnvironmentMessage\022\022\n\n" + + "imageSizeX\030\001 \001(\005\022\022\n" + + "\n" + + "imageSizeY\030\002 \001(\005\022\033\n" + + "\010gamemode\030\003 \001(\0162\t.GameMode\022\037\n\n" + + "difficulty\030\004 \001(\0162\013.Difficulty\022\035\n" + + "\tworldType\030\005 \001(\0162\n" + + ".WorldType\022\025\n\r" + + "worldTypeArgs\030\006 \001(\t\022\014\n" + + "\004seed\030\007 \001(\t\022\033\n" + + "\023generate_structures\030\010 \001(\010\022\023\n" + + "\013bonus_chest\030\t \001(\010\022\025\n" + + "\r" + + "datapackPaths\030\n" + + " \003(\t\022\034\n" + + "\024initialExtraCommands\030\013 \003(\t\022\026\n" + + "\016killedStatKeys\030\014 \003(\t\022\025\n\r" + + "minedStatKeys\030\r" + + " \003(\t\022\024\n" + + "\014miscStatKeys\030\016 \003(\t\022\"\n" + + "\032surroundingEntityDistances\030\017 \003(\005\022\021\n" + + "\thudHidden\030\020 \001(\010\022\027\n" + + "\017render_distance\030\021 \001(\005\022\033\n" + + "\023simulation_distance\030\022 \001(\005\022\024\n" + + "\014eye_distance\030\023 \001(\002\022\026\n" + + "\016structurePaths\030\024 \003(\t\022\025\n\r" + + "no_fov_effect\030\025 \001(\010\022\027\n" + + "\017request_raycast\030\026 \001(\010\022\034\n" + + "\024screen_encoding_mode\030\027 \001(\005\022!\n" + + "\031requiresSurroundingBlocks\030\030 \001(\010\022\"\n" + + "\032level_display_name_to_play\030\031 \001(\t\022\013\n" + + "\003fov\030\032 \001(\002\022\031\n" + + "\021requiresBiomeInfo\030\033 \001(\010\022\031\n" + + "\021requiresHeightmap\030\034 \001(\010*4\n" + + "\010GameMode\022\014\n" + + "\010SURVIVAL\020\000\022\014\n" + + "\010HARDCORE\020\001\022\014\n" + + "\010CREATIVE\020\002*:\n\n" + + "Difficulty\022\014\n" + + "\010PEACEFUL\020\000\022\010\n" + + "\004EASY\020\001\022\n\n" + + "\006NORMAL\020\002\022\010\n" + + "\004HARD\020\003*Z\n" + + "\tWorldType\022\013\n" + + "\007DEFAULT\020\000\022\r\n" + + "\tSUPERFLAT\020\001\022\020\n" + + "\014LARGE_BIOMES\020\002\022\r\n" + + "\tAMPLIFIED\020\003\022\020\n" + + "\014SINGLE_BIOME\020\004B&\n" + + "$com.kyhsgeekcode.minecraft_env.protob\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_InitialEnvironmentMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_InitialEnvironmentMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_InitialEnvironmentMessage_descriptor, - new java.lang.String[] { "ImageSizeX", "ImageSizeY", "Gamemode", "Difficulty", "WorldType", "WorldTypeArgs", "Seed", "GenerateStructures", "BonusChest", "DatapackPaths", "InitialExtraCommands", "KilledStatKeys", "MinedStatKeys", "MiscStatKeys", "SurroundingEntityDistances", "HudHidden", "RenderDistance", "SimulationDistance", "EyeDistance", "StructurePaths", "NoFovEffect", "RequestRaycast", "ScreenEncodingMode", "RequiresSurroundingBlocks", "LevelDisplayNameToPlay", "Fov", "RequiresBiomeInfo", "RequiresHeightmap", }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_InitialEnvironmentMessage_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_InitialEnvironmentMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_InitialEnvironmentMessage_descriptor, + new java.lang.String[] { + "ImageSizeX", + "ImageSizeY", + "Gamemode", + "Difficulty", + "WorldType", + "WorldTypeArgs", + "Seed", + "GenerateStructures", + "BonusChest", + "DatapackPaths", + "InitialExtraCommands", + "KilledStatKeys", + "MinedStatKeys", + "MiscStatKeys", + "SurroundingEntityDistances", + "HudHidden", + "RenderDistance", + "SimulationDistance", + "EyeDistance", + "StructurePaths", + "NoFovEffect", + "RequestRaycast", + "ScreenEncodingMode", + "RequiresSurroundingBlocks", + "LevelDisplayNameToPlay", + "Fov", + "RequiresBiomeInfo", + "RequiresHeightmap", + }); descriptor.resolveAllFeaturesImmutable(); } diff --git a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java index 1be007ad..3b9a1f6f 100644 --- a/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java +++ b/src/craftground/MinecraftEnv/src/main/java/com/kyhsgeekcode/minecraftenv/proto/ObservationSpace.java @@ -7,106 +7,118 @@ public final class ObservationSpace { private ObservationSpace() {} + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - ObservationSpace.class.getName()); - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + ObservationSpace.class.getName()); } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface ItemStackOrBuilder extends + + public interface ItemStackOrBuilder + extends // @@protoc_insertion_point(interface_extends:ItemStack) com.google.protobuf.MessageOrBuilder { /** * int32 raw_id = 1; + * * @return The rawId. */ int getRawId(); /** * string translation_key = 2; + * * @return The translationKey. */ java.lang.String getTranslationKey(); + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ - com.google.protobuf.ByteString - getTranslationKeyBytes(); + com.google.protobuf.ByteString getTranslationKeyBytes(); /** * int32 count = 3; + * * @return The count. */ int getCount(); /** * int32 durability = 4; + * * @return The durability. */ int getDurability(); /** * int32 max_durability = 5; + * * @return The maxDurability. */ int getMaxDurability(); } - /** - * Protobuf type {@code ItemStack} - */ - public static final class ItemStack extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code ItemStack} */ + public static final class ItemStack extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:ItemStack) ItemStackOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - ItemStack.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + ItemStack.class.getName()); } + // Use ItemStack.newBuilder() to construct. private ItemStack(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private ItemStack() { translationKey_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ItemStack_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ItemStack_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class); } public static final int RAW_ID_FIELD_NUMBER = 1; private int rawId_ = 0; + /** * int32 raw_id = 1; + * * @return The rawId. */ @java.lang.Override @@ -115,10 +127,13 @@ public int getRawId() { } public static final int TRANSLATION_KEY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object translationKey_ = ""; + /** * string translation_key = 2; + * * @return The translationKey. */ @java.lang.Override @@ -127,25 +142,24 @@ public java.lang.String getTranslationKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; } } + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { @@ -155,8 +169,10 @@ public java.lang.String getTranslationKey() { public static final int COUNT_FIELD_NUMBER = 3; private int count_ = 0; + /** * int32 count = 3; + * * @return The count. */ @java.lang.Override @@ -166,8 +182,10 @@ public int getCount() { public static final int DURABILITY_FIELD_NUMBER = 4; private int durability_ = 0; + /** * int32 durability = 4; + * * @return The durability. */ @java.lang.Override @@ -177,8 +195,10 @@ public int getDurability() { public static final int MAX_DURABILITY_FIELD_NUMBER = 5; private int maxDurability_ = 0; + /** * int32 max_durability = 5; + * * @return The maxDurability. */ @java.lang.Override @@ -187,6 +207,7 @@ public int getMaxDurability() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rawId_ != 0) { output.writeInt32(1, rawId_); } @@ -225,23 +245,19 @@ public int getSerializedSize() { size = 0; if (rawId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, rawId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, rawId_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(translationKey_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, translationKey_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, count_); } if (durability_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, durability_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, durability_); } if (maxDurability_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDurability_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDurability_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,23 +267,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) obj; - - if (getRawId() - != other.getRawId()) return false; - if (!getTranslationKey() - .equals(other.getTranslationKey())) return false; - if (getCount() - != other.getCount()) return false; - if (getDurability() - != other.getDurability()) return false; - if (getMaxDurability() - != other.getMaxDurability()) return false; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) obj; + + if (getRawId() != other.getRawId()) return false; + if (!getTranslationKey().equals(other.getTranslationKey())) return false; + if (getCount() != other.getCount()) return false; + if (getDurability() != other.getDurability()) return false; + if (getMaxDurability() != other.getMaxDurability()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,127 +307,129 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code ItemStack} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code ItemStack} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:ItemStack) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ItemStack_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ItemStack_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder.class); } // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,13 +443,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ItemStack_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ItemStack_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance(); } @@ -450,13 +465,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rawId_ = rawId_; @@ -478,15 +497,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance()) + return this; if (other.getRawId() != 0) { setRawId(other.getRawId()); } @@ -530,37 +552,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - rawId_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - translationKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - count_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - durability_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - maxDurability_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + rawId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + translationKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + count_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + durability_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + maxDurability_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,19 +598,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int rawId_ ; + private int rawId_; + /** * int32 raw_id = 1; + * * @return The rawId. */ @java.lang.Override public int getRawId() { return rawId_; } + /** * int32 raw_id = 1; + * * @param value The rawId to set. * @return This builder for chaining. */ @@ -593,8 +626,10 @@ public Builder setRawId(int value) { onChanged(); return this; } + /** * int32 raw_id = 1; + * * @return This builder for chaining. */ public Builder clearRawId() { @@ -605,15 +640,16 @@ public Builder clearRawId() { } private java.lang.Object translationKey_ = ""; + /** * string translation_key = 2; + * * @return The translationKey. */ public java.lang.String getTranslationKey() { java.lang.Object ref = translationKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; @@ -621,38 +657,43 @@ public java.lang.String getTranslationKey() { return (java.lang.String) ref; } } + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string translation_key = 2; + * * @param value The translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } translationKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + /** * string translation_key = 2; + * * @return This builder for chaining. */ public Builder clearTranslationKey() { @@ -661,14 +702,17 @@ public Builder clearTranslationKey() { onChanged(); return this; } + /** * string translation_key = 2; + * * @param value The bytes for translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); translationKey_ = value; bitField0_ |= 0x00000002; @@ -676,17 +720,21 @@ public Builder setTranslationKeyBytes( return this; } - private int count_ ; + private int count_; + /** * int32 count = 3; + * * @return The count. */ @java.lang.Override public int getCount() { return count_; } + /** * int32 count = 3; + * * @param value The count to set. * @return This builder for chaining. */ @@ -697,8 +745,10 @@ public Builder setCount(int value) { onChanged(); return this; } + /** * int32 count = 3; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -708,17 +758,21 @@ public Builder clearCount() { return this; } - private int durability_ ; + private int durability_; + /** * int32 durability = 4; + * * @return The durability. */ @java.lang.Override public int getDurability() { return durability_; } + /** * int32 durability = 4; + * * @param value The durability to set. * @return This builder for chaining. */ @@ -729,8 +783,10 @@ public Builder setDurability(int value) { onChanged(); return this; } + /** * int32 durability = 4; + * * @return This builder for chaining. */ public Builder clearDurability() { @@ -740,17 +796,21 @@ public Builder clearDurability() { return this; } - private int maxDurability_ ; + private int maxDurability_; + /** * int32 max_durability = 5; + * * @return The maxDurability. */ @java.lang.Override public int getMaxDurability() { return maxDurability_; } + /** * int32 max_durability = 5; + * * @param value The maxDurability to set. * @return This builder for chaining. */ @@ -761,8 +821,10 @@ public Builder setMaxDurability(int value) { onChanged(); return this; } + /** * int32 max_durability = 5; + * * @return This builder for chaining. */ public Builder clearMaxDurability() { @@ -776,36 +838,40 @@ public Builder clearMaxDurability() { } // @@protoc_insertion_point(class_scope:ItemStack) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ItemStack parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ItemStack parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,88 +883,100 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BlockInfoOrBuilder extends + public interface BlockInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:BlockInfo) com.google.protobuf.MessageOrBuilder { /** * int32 x = 1; + * * @return The x. */ int getX(); /** * int32 y = 2; + * * @return The y. */ int getY(); /** * int32 z = 3; + * * @return The z. */ int getZ(); /** * string translation_key = 4; + * * @return The translationKey. */ java.lang.String getTranslationKey(); + /** * string translation_key = 4; + * * @return The bytes for translationKey. */ - com.google.protobuf.ByteString - getTranslationKeyBytes(); + com.google.protobuf.ByteString getTranslationKeyBytes(); } - /** - * Protobuf type {@code BlockInfo} - */ - public static final class BlockInfo extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code BlockInfo} */ + public static final class BlockInfo extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:BlockInfo) BlockInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - BlockInfo.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + BlockInfo.class.getName()); } + // Use BlockInfo.newBuilder() to construct. private BlockInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private BlockInfo() { translationKey_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BlockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BlockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class); } public static final int X_FIELD_NUMBER = 1; private int x_ = 0; + /** * int32 x = 1; + * * @return The x. */ @java.lang.Override @@ -908,8 +986,10 @@ public int getX() { public static final int Y_FIELD_NUMBER = 2; private int y_ = 0; + /** * int32 y = 2; + * * @return The y. */ @java.lang.Override @@ -919,8 +999,10 @@ public int getY() { public static final int Z_FIELD_NUMBER = 3; private int z_ = 0; + /** * int32 z = 3; + * * @return The z. */ @java.lang.Override @@ -929,10 +1011,13 @@ public int getZ() { } public static final int TRANSLATION_KEY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object translationKey_ = ""; + /** * string translation_key = 4; + * * @return The translationKey. */ @java.lang.Override @@ -941,25 +1026,24 @@ public java.lang.String getTranslationKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; } } + /** * string translation_key = 4; + * * @return The bytes for translationKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { @@ -968,6 +1052,7 @@ public java.lang.String getTranslationKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -979,8 +1064,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (x_ != 0) { output.writeInt32(1, x_); } @@ -1003,16 +1087,13 @@ public int getSerializedSize() { size = 0; if (x_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, x_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, x_); } if (y_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, y_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, y_); } if (z_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, z_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, z_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(translationKey_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, translationKey_); @@ -1025,21 +1106,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) obj; - if (getX() - != other.getX()) return false; - if (getY() - != other.getY()) return false; - if (getZ() - != other.getZ()) return false; - if (!getTranslationKey() - .equals(other.getTranslationKey())) return false; + if (getX() != other.getX()) return false; + if (getY() != other.getY()) return false; + if (getZ() != other.getZ()) return false; + if (!getTranslationKey().equals(other.getTranslationKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1065,127 +1143,129 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code BlockInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code BlockInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:BlockInfo) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BlockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BlockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder.class); } // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1198,13 +1278,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BlockInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BlockInfo_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance(); } @@ -1219,13 +1300,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.x_ = x_; @@ -1244,15 +1329,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()) + return this; if (other.getX() != 0) { setX(other.getX()); } @@ -1293,32 +1381,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - x_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - y_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - z_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - translationKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + x_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + y_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + z_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + translationKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1328,19 +1421,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int x_ ; + private int x_; + /** * int32 x = 1; + * * @return The x. */ @java.lang.Override public int getX() { return x_; } + /** * int32 x = 1; + * * @param value The x to set. * @return This builder for chaining. */ @@ -1351,8 +1449,10 @@ public Builder setX(int value) { onChanged(); return this; } + /** * int32 x = 1; + * * @return This builder for chaining. */ public Builder clearX() { @@ -1362,17 +1462,21 @@ public Builder clearX() { return this; } - private int y_ ; + private int y_; + /** * int32 y = 2; + * * @return The y. */ @java.lang.Override public int getY() { return y_; } + /** * int32 y = 2; + * * @param value The y to set. * @return This builder for chaining. */ @@ -1383,8 +1487,10 @@ public Builder setY(int value) { onChanged(); return this; } + /** * int32 y = 2; + * * @return This builder for chaining. */ public Builder clearY() { @@ -1394,17 +1500,21 @@ public Builder clearY() { return this; } - private int z_ ; + private int z_; + /** * int32 z = 3; + * * @return The z. */ @java.lang.Override public int getZ() { return z_; } + /** * int32 z = 3; + * * @param value The z to set. * @return This builder for chaining. */ @@ -1415,8 +1525,10 @@ public Builder setZ(int value) { onChanged(); return this; } + /** * int32 z = 3; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -1427,15 +1539,16 @@ public Builder clearZ() { } private java.lang.Object translationKey_ = ""; + /** * string translation_key = 4; + * * @return The translationKey. */ public java.lang.String getTranslationKey() { java.lang.Object ref = translationKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; @@ -1443,38 +1556,43 @@ public java.lang.String getTranslationKey() { return (java.lang.String) ref; } } + /** * string translation_key = 4; + * * @return The bytes for translationKey. */ - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string translation_key = 4; + * * @param value The translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } translationKey_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + /** * string translation_key = 4; + * * @return This builder for chaining. */ public Builder clearTranslationKey() { @@ -1483,14 +1601,17 @@ public Builder clearTranslationKey() { onChanged(); return this; } + /** * string translation_key = 4; + * * @param value The bytes for translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); translationKey_ = value; bitField0_ |= 0x00000008; @@ -1502,36 +1623,40 @@ public Builder setTranslationKeyBytes( } // @@protoc_insertion_point(class_scope:BlockInfo) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlockInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlockInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1543,120 +1668,138 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EntityInfoOrBuilder extends + public interface EntityInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:EntityInfo) com.google.protobuf.MessageOrBuilder { /** * string unique_name = 1; + * * @return The uniqueName. */ java.lang.String getUniqueName(); + /** * string unique_name = 1; + * * @return The bytes for uniqueName. */ - com.google.protobuf.ByteString - getUniqueNameBytes(); + com.google.protobuf.ByteString getUniqueNameBytes(); /** * string translation_key = 2; + * * @return The translationKey. */ java.lang.String getTranslationKey(); + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ - com.google.protobuf.ByteString - getTranslationKeyBytes(); + com.google.protobuf.ByteString getTranslationKeyBytes(); /** * double x = 3; + * * @return The x. */ double getX(); /** * double y = 4; + * * @return The y. */ double getY(); /** * double z = 5; + * * @return The z. */ double getZ(); /** * double yaw = 6; + * * @return The yaw. */ double getYaw(); /** * double pitch = 7; + * * @return The pitch. */ double getPitch(); /** * double health = 8; + * * @return The health. */ double getHealth(); } - /** - * Protobuf type {@code EntityInfo} - */ - public static final class EntityInfo extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code EntityInfo} */ + public static final class EntityInfo extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:EntityInfo) EntityInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - EntityInfo.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + EntityInfo.class.getName()); } + // Use EntityInfo.newBuilder() to construct. private EntityInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private EntityInfo() { uniqueName_ = ""; translationKey_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class); } public static final int UNIQUE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object uniqueName_ = ""; + /** * string unique_name = 1; + * * @return The uniqueName. */ @java.lang.Override @@ -1665,25 +1808,24 @@ public java.lang.String getUniqueName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uniqueName_ = s; return s; } } + /** * string unique_name = 1; + * * @return The bytes for uniqueName. */ @java.lang.Override - public com.google.protobuf.ByteString - getUniqueNameBytes() { + public com.google.protobuf.ByteString getUniqueNameBytes() { java.lang.Object ref = uniqueName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uniqueName_ = b; return b; } else { @@ -1692,10 +1834,13 @@ public java.lang.String getUniqueName() { } public static final int TRANSLATION_KEY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object translationKey_ = ""; + /** * string translation_key = 2; + * * @return The translationKey. */ @java.lang.Override @@ -1704,25 +1849,24 @@ public java.lang.String getTranslationKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; } } + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { @@ -1732,8 +1876,10 @@ public java.lang.String getTranslationKey() { public static final int X_FIELD_NUMBER = 3; private double x_ = 0D; + /** * double x = 3; + * * @return The x. */ @java.lang.Override @@ -1743,8 +1889,10 @@ public double getX() { public static final int Y_FIELD_NUMBER = 4; private double y_ = 0D; + /** * double y = 4; + * * @return The y. */ @java.lang.Override @@ -1754,8 +1902,10 @@ public double getY() { public static final int Z_FIELD_NUMBER = 5; private double z_ = 0D; + /** * double z = 5; + * * @return The z. */ @java.lang.Override @@ -1765,8 +1915,10 @@ public double getZ() { public static final int YAW_FIELD_NUMBER = 6; private double yaw_ = 0D; + /** * double yaw = 6; + * * @return The yaw. */ @java.lang.Override @@ -1776,8 +1928,10 @@ public double getYaw() { public static final int PITCH_FIELD_NUMBER = 7; private double pitch_ = 0D; + /** * double pitch = 7; + * * @return The pitch. */ @java.lang.Override @@ -1787,8 +1941,10 @@ public double getPitch() { public static final int HEALTH_FIELD_NUMBER = 8; private double health_ = 0D; + /** * double health = 8; + * * @return The health. */ @java.lang.Override @@ -1797,6 +1953,7 @@ public double getHealth() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1808,8 +1965,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uniqueName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, uniqueName_); } @@ -1850,28 +2006,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, translationKey_); } if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, x_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, x_); } if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, y_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, y_); } if (java.lang.Double.doubleToRawLongBits(z_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, z_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, z_); } if (java.lang.Double.doubleToRawLongBits(yaw_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(6, yaw_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, yaw_); } if (java.lang.Double.doubleToRawLongBits(pitch_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(7, pitch_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(7, pitch_); } if (java.lang.Double.doubleToRawLongBits(health_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, health_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, health_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1881,35 +2031,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) obj; - if (!getUniqueName() - .equals(other.getUniqueName())) return false; - if (!getTranslationKey() - .equals(other.getTranslationKey())) return false; + if (!getUniqueName().equals(other.getUniqueName())) return false; + if (!getTranslationKey().equals(other.getTranslationKey())) return false; if (java.lang.Double.doubleToLongBits(getX()) - != java.lang.Double.doubleToLongBits( - other.getX())) return false; + != java.lang.Double.doubleToLongBits(other.getX())) return false; if (java.lang.Double.doubleToLongBits(getY()) - != java.lang.Double.doubleToLongBits( - other.getY())) return false; + != java.lang.Double.doubleToLongBits(other.getY())) return false; if (java.lang.Double.doubleToLongBits(getZ()) - != java.lang.Double.doubleToLongBits( - other.getZ())) return false; + != java.lang.Double.doubleToLongBits(other.getZ())) return false; if (java.lang.Double.doubleToLongBits(getYaw()) - != java.lang.Double.doubleToLongBits( - other.getYaw())) return false; + != java.lang.Double.doubleToLongBits(other.getYaw())) return false; if (java.lang.Double.doubleToLongBits(getPitch()) - != java.lang.Double.doubleToLongBits( - other.getPitch())) return false; + != java.lang.Double.doubleToLongBits(other.getPitch())) return false; if (java.lang.Double.doubleToLongBits(getHealth()) - != java.lang.Double.doubleToLongBits( - other.getHealth())) return false; + != java.lang.Double.doubleToLongBits(other.getHealth())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1926,150 +2069,162 @@ public int hashCode() { hash = (37 * hash) + TRANSLATION_KEY_FIELD_NUMBER; hash = (53 * hash) + getTranslationKey().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getX())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getX())); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getY())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getY())); hash = (37 * hash) + Z_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getZ())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getZ())); hash = (37 * hash) + YAW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getYaw())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getYaw())); hash = (37 * hash) + PITCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPitch())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPitch())); hash = (37 * hash) + HEALTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getHealth())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getHealth())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code EntityInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code EntityInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:EntityInfo) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2086,13 +2241,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntityInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntityInfo_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance(); } @@ -2107,13 +2263,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.uniqueName_ = uniqueName_; @@ -2144,15 +2304,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()) + return this; if (!other.getUniqueName().isEmpty()) { uniqueName_ = other.uniqueName_; bitField0_ |= 0x00000001; @@ -2207,52 +2370,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - uniqueName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - translationKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 25: { - x_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - case 33: { - y_ = input.readDouble(); - bitField0_ |= 0x00000008; - break; - } // case 33 - case 41: { - z_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 49: { - yaw_ = input.readDouble(); - bitField0_ |= 0x00000020; - break; - } // case 49 - case 57: { - pitch_ = input.readDouble(); - bitField0_ |= 0x00000040; - break; - } // case 57 - case 65: { - health_ = input.readDouble(); - bitField0_ |= 0x00000080; - break; - } // case 65 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + uniqueName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + translationKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 25: + { + x_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: + { + y_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + z_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: + { + yaw_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + case 57: + { + pitch_ = input.readDouble(); + bitField0_ |= 0x00000040; + break; + } // case 57 + case 65: + { + health_ = input.readDouble(); + bitField0_ |= 0x00000080; + break; + } // case 65 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2262,18 +2434,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object uniqueName_ = ""; + /** * string unique_name = 1; + * * @return The uniqueName. */ public java.lang.String getUniqueName() { java.lang.Object ref = uniqueName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uniqueName_ = s; return s; @@ -2281,38 +2455,43 @@ public java.lang.String getUniqueName() { return (java.lang.String) ref; } } + /** * string unique_name = 1; + * * @return The bytes for uniqueName. */ - public com.google.protobuf.ByteString - getUniqueNameBytes() { + public com.google.protobuf.ByteString getUniqueNameBytes() { java.lang.Object ref = uniqueName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uniqueName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string unique_name = 1; + * * @param value The uniqueName to set. * @return This builder for chaining. */ - public Builder setUniqueName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUniqueName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uniqueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** * string unique_name = 1; + * * @return This builder for chaining. */ public Builder clearUniqueName() { @@ -2321,14 +2500,17 @@ public Builder clearUniqueName() { onChanged(); return this; } + /** * string unique_name = 1; + * * @param value The bytes for uniqueName to set. * @return This builder for chaining. */ - public Builder setUniqueNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUniqueNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uniqueName_ = value; bitField0_ |= 0x00000001; @@ -2337,15 +2519,16 @@ public Builder setUniqueNameBytes( } private java.lang.Object translationKey_ = ""; + /** * string translation_key = 2; + * * @return The translationKey. */ public java.lang.String getTranslationKey() { java.lang.Object ref = translationKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; @@ -2353,38 +2536,43 @@ public java.lang.String getTranslationKey() { return (java.lang.String) ref; } } + /** * string translation_key = 2; + * * @return The bytes for translationKey. */ - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string translation_key = 2; + * * @param value The translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } translationKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + /** * string translation_key = 2; + * * @return This builder for chaining. */ public Builder clearTranslationKey() { @@ -2393,14 +2581,17 @@ public Builder clearTranslationKey() { onChanged(); return this; } + /** * string translation_key = 2; + * * @param value The bytes for translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); translationKey_ = value; bitField0_ |= 0x00000002; @@ -2408,17 +2599,21 @@ public Builder setTranslationKeyBytes( return this; } - private double x_ ; + private double x_; + /** * double x = 3; + * * @return The x. */ @java.lang.Override public double getX() { return x_; } + /** * double x = 3; + * * @param value The x to set. * @return This builder for chaining. */ @@ -2429,8 +2624,10 @@ public Builder setX(double value) { onChanged(); return this; } + /** * double x = 3; + * * @return This builder for chaining. */ public Builder clearX() { @@ -2440,17 +2637,21 @@ public Builder clearX() { return this; } - private double y_ ; + private double y_; + /** * double y = 4; + * * @return The y. */ @java.lang.Override public double getY() { return y_; } + /** * double y = 4; + * * @param value The y to set. * @return This builder for chaining. */ @@ -2461,8 +2662,10 @@ public Builder setY(double value) { onChanged(); return this; } + /** * double y = 4; + * * @return This builder for chaining. */ public Builder clearY() { @@ -2472,17 +2675,21 @@ public Builder clearY() { return this; } - private double z_ ; + private double z_; + /** * double z = 5; + * * @return The z. */ @java.lang.Override public double getZ() { return z_; } + /** * double z = 5; + * * @param value The z to set. * @return This builder for chaining. */ @@ -2493,8 +2700,10 @@ public Builder setZ(double value) { onChanged(); return this; } + /** * double z = 5; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -2504,17 +2713,21 @@ public Builder clearZ() { return this; } - private double yaw_ ; + private double yaw_; + /** * double yaw = 6; + * * @return The yaw. */ @java.lang.Override public double getYaw() { return yaw_; } + /** * double yaw = 6; + * * @param value The yaw to set. * @return This builder for chaining. */ @@ -2525,8 +2738,10 @@ public Builder setYaw(double value) { onChanged(); return this; } + /** * double yaw = 6; + * * @return This builder for chaining. */ public Builder clearYaw() { @@ -2536,17 +2751,21 @@ public Builder clearYaw() { return this; } - private double pitch_ ; + private double pitch_; + /** * double pitch = 7; + * * @return The pitch. */ @java.lang.Override public double getPitch() { return pitch_; } + /** * double pitch = 7; + * * @param value The pitch to set. * @return This builder for chaining. */ @@ -2557,8 +2776,10 @@ public Builder setPitch(double value) { onChanged(); return this; } + /** * double pitch = 7; + * * @return This builder for chaining. */ public Builder clearPitch() { @@ -2568,17 +2789,21 @@ public Builder clearPitch() { return this; } - private double health_ ; + private double health_; + /** * double health = 8; + * * @return The health. */ @java.lang.Override public double getHealth() { return health_; } + /** * double health = 8; + * * @param value The health to set. * @return This builder for chaining. */ @@ -2589,8 +2814,10 @@ public Builder setHealth(double value) { onChanged(); return this; } + /** * double health = 8; + * * @return This builder for chaining. */ public Builder clearHealth() { @@ -2604,36 +2831,40 @@ public Builder clearHealth() { } // @@protoc_insertion_point(class_scope:EntityInfo) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2645,137 +2876,138 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface HitResultOrBuilder extends + public interface HitResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:HitResult) com.google.protobuf.MessageOrBuilder { /** * .HitResult.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); + /** * .HitResult.Type type = 1; + * * @return The type. */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType(); /** * .BlockInfo target_block = 2; + * * @return Whether the targetBlock field is set. */ boolean hasTargetBlock(); + /** * .BlockInfo target_block = 2; + * * @return The targetBlock. */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock(); - /** - * .BlockInfo target_block = 2; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder(); + + /** .BlockInfo target_block = 2; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getTargetBlockOrBuilder(); /** * .EntityInfo target_entity = 3; + * * @return Whether the targetEntity field is set. */ boolean hasTargetEntity(); + /** * .EntityInfo target_entity = 3; + * * @return The targetEntity. */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity(); - /** - * .EntityInfo target_entity = 3; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder(); + + /** .EntityInfo target_entity = 3; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getTargetEntityOrBuilder(); } - /** - * Protobuf type {@code HitResult} - */ - public static final class HitResult extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code HitResult} */ + public static final class HitResult extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:HitResult) HitResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - HitResult.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + HitResult.class.getName()); } + // Use HitResult.newBuilder() to construct. private HitResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private HitResult() { type_ = 0; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HitResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HitResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class); } - /** - * Protobuf enum {@code HitResult.Type} - */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { - /** - * MISS = 0; - */ + /** Protobuf enum {@code HitResult.Type} */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** MISS = 0; */ MISS(0), - /** - * BLOCK = 1; - */ + /** BLOCK = 1; */ BLOCK(1), - /** - * ENTITY = 2; - */ + /** ENTITY = 2; */ ENTITY(2), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - Type.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + Type.class.getName()); } - /** - * MISS = 0; - */ + + /** MISS = 0; */ public static final int MISS_VALUE = 0; - /** - * BLOCK = 1; - */ + + /** BLOCK = 1; */ public static final int BLOCK_VALUE = 1; - /** - * ENTITY = 2; - */ - public static final int ENTITY_VALUE = 2; + /** ENTITY = 2; */ + public static final int ENTITY_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -2801,49 +3033,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return MISS; - case 1: return BLOCK; - case 2: return ENTITY; - default: return null; + case 0: + return MISS; + case 1: + return BLOCK; + case 2: + return ENTITY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2863,75 +3097,101 @@ private Type(int value) { private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; + /** * .HitResult.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } + /** * .HitResult.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED + : result; } public static final int TARGET_BLOCK_FIELD_NUMBER = 2; private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo targetBlock_; + /** * .BlockInfo target_block = 2; + * * @return Whether the targetBlock field is set. */ @java.lang.Override public boolean hasTargetBlock() { return ((bitField0_ & 0x00000001) != 0); } + /** * .BlockInfo target_block = 2; + * * @return The targetBlock. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock() { - return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_; + return targetBlock_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() + : targetBlock_; } - /** - * .BlockInfo target_block = 2; - */ + + /** .BlockInfo target_block = 2; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() { - return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_; + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getTargetBlockOrBuilder() { + return targetBlock_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() + : targetBlock_; } public static final int TARGET_ENTITY_FIELD_NUMBER = 3; private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo targetEntity_; + /** * .EntityInfo target_entity = 3; + * * @return Whether the targetEntity field is set. */ @java.lang.Override public boolean hasTargetEntity() { return ((bitField0_ & 0x00000002) != 0); } + /** * .EntityInfo target_entity = 3; + * * @return The targetEntity. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity() { - return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_; + return targetEntity_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() + : targetEntity_; } - /** - * .EntityInfo target_entity = 3; - */ + + /** .EntityInfo target_entity = 3; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() { - return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_; + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getTargetEntityOrBuilder() { + return targetEntity_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() + : targetEntity_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2943,9 +3203,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -2963,17 +3223,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.MISS.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTargetBlock()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTargetBlock()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTargetEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTargetEntity()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2983,23 +3241,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) obj; if (type_ != other.type_) return false; if (hasTargetBlock() != other.hasTargetBlock()) return false; if (hasTargetBlock()) { - if (!getTargetBlock() - .equals(other.getTargetBlock())) return false; + if (!getTargetBlock().equals(other.getTargetBlock())) return false; } if (hasTargetEntity() != other.hasTargetEntity()) return false; if (hasTargetEntity()) { - if (!getTargetEntity() - .equals(other.getTargetEntity())) return false; + if (!getTargetEntity().equals(other.getTargetEntity())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3028,115 +3285,120 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code HitResult} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code HitResult} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:HitResult) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HitResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HitResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder.class); } // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.newBuilder() @@ -3144,18 +3406,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTargetBlockFieldBuilder(); getTargetEntityFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3175,13 +3437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HitResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HitResult_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance(); } @@ -3196,28 +3459,30 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.targetBlock_ = targetBlockBuilder_ == null - ? targetBlock_ - : targetBlockBuilder_.build(); + result.targetBlock_ = + targetBlockBuilder_ == null ? targetBlock_ : targetBlockBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.targetEntity_ = targetEntityBuilder_ == null - ? targetEntity_ - : targetEntityBuilder_.build(); + result.targetEntity_ = + targetEntityBuilder_ == null ? targetEntity_ : targetEntityBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -3226,15 +3491,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -3270,31 +3538,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getTargetBlockFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getTargetEntityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getTargetBlockFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getTargetEntityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3304,18 +3572,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; + /** * .HitResult.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } + /** * .HitResult.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3325,21 +3599,29 @@ public Builder setTypeValue(int value) { onChanged(); return this; } + /** * .HitResult.Type type = 1; + * * @return The type. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type getType() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_); - return result == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED : result; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type result = + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.forNumber(type_); + return result == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type.UNRECOGNIZED + : result; } + /** * .HitResult.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type value) { + public Builder setType( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3348,8 +3630,10 @@ public Builder setType(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitR onChanged(); return this; } + /** * .HitResult.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3361,29 +3645,38 @@ public Builder clearType() { private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo targetBlock_; private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> targetBlockBuilder_; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> + targetBlockBuilder_; + /** * .BlockInfo target_block = 2; + * * @return Whether the targetBlock field is set. */ public boolean hasTargetBlock() { return ((bitField0_ & 0x00000002) != 0); } + /** * .BlockInfo target_block = 2; + * * @return The targetBlock. */ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getTargetBlock() { if (targetBlockBuilder_ == null) { - return targetBlock_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_; + return targetBlock_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() + : targetBlock_; } else { return targetBlockBuilder_.getMessage(); } } - /** - * .BlockInfo target_block = 2; - */ - public Builder setTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { + + /** .BlockInfo target_block = 2; */ + public Builder setTargetBlock( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { if (targetBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3396,9 +3689,8 @@ public Builder setTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationSpa onChanged(); return this; } - /** - * .BlockInfo target_block = 2; - */ + + /** .BlockInfo target_block = 2; */ public Builder setTargetBlock( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) { if (targetBlockBuilder_ == null) { @@ -3410,14 +3702,16 @@ public Builder setTargetBlock( onChanged(); return this; } - /** - * .BlockInfo target_block = 2; - */ - public Builder mergeTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { + + /** .BlockInfo target_block = 2; */ + public Builder mergeTargetBlock( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { if (targetBlockBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - targetBlock_ != null && - targetBlock_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && targetBlock_ != null + && targetBlock_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + .getDefaultInstance()) { getTargetBlockBuilder().mergeFrom(value); } else { targetBlock_ = value; @@ -3431,9 +3725,8 @@ public Builder mergeTargetBlock(com.kyhsgeekcode.minecraftenv.proto.ObservationS } return this; } - /** - * .BlockInfo target_block = 2; - */ + + /** .BlockInfo target_block = 2; */ public Builder clearTargetBlock() { bitField0_ = (bitField0_ & ~0x00000002); targetBlock_ = null; @@ -3444,37 +3737,40 @@ public Builder clearTargetBlock() { onChanged(); return this; } - /** - * .BlockInfo target_block = 2; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder getTargetBlockBuilder() { + + /** .BlockInfo target_block = 2; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder + getTargetBlockBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTargetBlockFieldBuilder().getBuilder(); } - /** - * .BlockInfo target_block = 2; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getTargetBlockOrBuilder() { + + /** .BlockInfo target_block = 2; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getTargetBlockOrBuilder() { if (targetBlockBuilder_ != null) { return targetBlockBuilder_.getMessageOrBuilder(); } else { - return targetBlock_ == null ? - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() : targetBlock_; + return targetBlock_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance() + : targetBlock_; } } - /** - * .BlockInfo target_block = 2; - */ + + /** .BlockInfo target_block = 2; */ private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> getTargetBlockFieldBuilder() { if (targetBlockBuilder_ == null) { - targetBlockBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>( - getTargetBlock(), - getParentForChildren(), - isClean()); + targetBlockBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>( + getTargetBlock(), getParentForChildren(), isClean()); targetBlock_ = null; } return targetBlockBuilder_; @@ -3482,29 +3778,38 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder g private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo targetEntity_; private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> targetEntityBuilder_; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + targetEntityBuilder_; + /** * .EntityInfo target_entity = 3; + * * @return Whether the targetEntity field is set. */ public boolean hasTargetEntity() { return ((bitField0_ & 0x00000004) != 0); } + /** * .EntityInfo target_entity = 3; + * * @return The targetEntity. */ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getTargetEntity() { if (targetEntityBuilder_ == null) { - return targetEntity_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_; + return targetEntity_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() + : targetEntity_; } else { return targetEntityBuilder_.getMessage(); } } - /** - * .EntityInfo target_entity = 3; - */ - public Builder setTargetEntity(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { + + /** .EntityInfo target_entity = 3; */ + public Builder setTargetEntity( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (targetEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3517,9 +3822,8 @@ public Builder setTargetEntity(com.kyhsgeekcode.minecraftenv.proto.ObservationSp onChanged(); return this; } - /** - * .EntityInfo target_entity = 3; - */ + + /** .EntityInfo target_entity = 3; */ public Builder setTargetEntity( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (targetEntityBuilder_ == null) { @@ -3531,14 +3835,16 @@ public Builder setTargetEntity( onChanged(); return this; } - /** - * .EntityInfo target_entity = 3; - */ - public Builder mergeTargetEntity(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { + + /** .EntityInfo target_entity = 3; */ + public Builder mergeTargetEntity( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (targetEntityBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - targetEntity_ != null && - targetEntity_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && targetEntity_ != null + && targetEntity_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .getDefaultInstance()) { getTargetEntityBuilder().mergeFrom(value); } else { targetEntity_ = value; @@ -3552,9 +3858,8 @@ public Builder mergeTargetEntity(com.kyhsgeekcode.minecraftenv.proto.Observation } return this; } - /** - * .EntityInfo target_entity = 3; - */ + + /** .EntityInfo target_entity = 3; */ public Builder clearTargetEntity() { bitField0_ = (bitField0_ & ~0x00000004); targetEntity_ = null; @@ -3565,37 +3870,40 @@ public Builder clearTargetEntity() { onChanged(); return this; } - /** - * .EntityInfo target_entity = 3; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getTargetEntityBuilder() { + + /** .EntityInfo target_entity = 3; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + getTargetEntityBuilder() { bitField0_ |= 0x00000004; onChanged(); return getTargetEntityFieldBuilder().getBuilder(); } - /** - * .EntityInfo target_entity = 3; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getTargetEntityOrBuilder() { + + /** .EntityInfo target_entity = 3; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getTargetEntityOrBuilder() { if (targetEntityBuilder_ != null) { return targetEntityBuilder_.getMessageOrBuilder(); } else { - return targetEntity_ == null ? - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() : targetEntity_; + return targetEntity_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance() + : targetEntity_; } } - /** - * .EntityInfo target_entity = 3; - */ + + /** .EntityInfo target_entity = 3; */ private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getTargetEntityFieldBuilder() { if (targetEntityBuilder_ == null) { - targetEntityBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( - getTargetEntity(), - getParentForChildren(), - isClean()); + targetEntityBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( + getTargetEntity(), getParentForChildren(), isClean()); targetEntity_ = null; } return targetEntityBuilder_; @@ -3605,36 +3913,40 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder } // @@protoc_insertion_point(class_scope:HitResult) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HitResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HitResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3646,83 +3958,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StatusEffectOrBuilder extends + public interface StatusEffectOrBuilder + extends // @@protoc_insertion_point(interface_extends:StatusEffect) com.google.protobuf.MessageOrBuilder { /** * string translation_key = 1; + * * @return The translationKey. */ java.lang.String getTranslationKey(); + /** * string translation_key = 1; + * * @return The bytes for translationKey. */ - com.google.protobuf.ByteString - getTranslationKeyBytes(); + com.google.protobuf.ByteString getTranslationKeyBytes(); /** * int32 duration = 2; + * * @return The duration. */ int getDuration(); /** * int32 amplifier = 3; + * * @return The amplifier. */ int getAmplifier(); } - /** - * Protobuf type {@code StatusEffect} - */ - public static final class StatusEffect extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code StatusEffect} */ + public static final class StatusEffect extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:StatusEffect) StatusEffectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - StatusEffect.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + StatusEffect.class.getName()); } + // Use StatusEffect.newBuilder() to construct. private StatusEffect(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private StatusEffect() { translationKey_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_StatusEffect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_StatusEffect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class); } public static final int TRANSLATION_KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object translationKey_ = ""; + /** * string translation_key = 1; + * * @return The translationKey. */ @java.lang.Override @@ -3731,25 +4055,24 @@ public java.lang.String getTranslationKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; } } + /** * string translation_key = 1; + * * @return The bytes for translationKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { @@ -3759,8 +4082,10 @@ public java.lang.String getTranslationKey() { public static final int DURATION_FIELD_NUMBER = 2; private int duration_ = 0; + /** * int32 duration = 2; + * * @return The duration. */ @java.lang.Override @@ -3770,8 +4095,10 @@ public int getDuration() { public static final int AMPLIFIER_FIELD_NUMBER = 3; private int amplifier_ = 0; + /** * int32 amplifier = 3; + * * @return The amplifier. */ @java.lang.Override @@ -3780,6 +4107,7 @@ public int getAmplifier() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3791,8 +4119,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(translationKey_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, translationKey_); } @@ -3815,12 +4142,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, translationKey_); } if (duration_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, duration_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, duration_); } if (amplifier_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, amplifier_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, amplifier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3830,19 +4155,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) obj; - if (!getTranslationKey() - .equals(other.getTranslationKey())) return false; - if (getDuration() - != other.getDuration()) return false; - if (getAmplifier() - != other.getAmplifier()) return false; + if (!getTranslationKey().equals(other.getTranslationKey())) return false; + if (getDuration() != other.getDuration()) return false; + if (getAmplifier() != other.getAmplifier()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3866,127 +4189,131 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code StatusEffect} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code StatusEffect} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:StatusEffect) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_StatusEffect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_StatusEffect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3998,14 +4325,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_StatusEffect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_StatusEffect_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + .getDefaultInstance(); } @java.lang.Override @@ -4019,13 +4348,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect build() @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.translationKey_ = translationKey_; @@ -4041,15 +4374,19 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect)other); + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + .getDefaultInstance()) return this; if (!other.getTranslationKey().isEmpty()) { translationKey_ = other.translationKey_; bitField0_ |= 0x00000001; @@ -4087,27 +4424,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - translationKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - duration_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - amplifier_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + translationKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + duration_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + amplifier_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4117,18 +4458,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object translationKey_ = ""; + /** * string translation_key = 1; + * * @return The translationKey. */ public java.lang.String getTranslationKey() { java.lang.Object ref = translationKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translationKey_ = s; return s; @@ -4136,38 +4479,43 @@ public java.lang.String getTranslationKey() { return (java.lang.String) ref; } } + /** * string translation_key = 1; + * * @return The bytes for translationKey. */ - public com.google.protobuf.ByteString - getTranslationKeyBytes() { + public com.google.protobuf.ByteString getTranslationKeyBytes() { java.lang.Object ref = translationKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translationKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string translation_key = 1; + * * @param value The translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } translationKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** * string translation_key = 1; + * * @return This builder for chaining. */ public Builder clearTranslationKey() { @@ -4176,14 +4524,17 @@ public Builder clearTranslationKey() { onChanged(); return this; } + /** * string translation_key = 1; + * * @param value The bytes for translationKey to set. * @return This builder for chaining. */ - public Builder setTranslationKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslationKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); translationKey_ = value; bitField0_ |= 0x00000001; @@ -4191,17 +4542,21 @@ public Builder setTranslationKeyBytes( return this; } - private int duration_ ; + private int duration_; + /** * int32 duration = 2; + * * @return The duration. */ @java.lang.Override public int getDuration() { return duration_; } + /** * int32 duration = 2; + * * @param value The duration to set. * @return This builder for chaining. */ @@ -4212,8 +4567,10 @@ public Builder setDuration(int value) { onChanged(); return this; } + /** * int32 duration = 2; + * * @return This builder for chaining. */ public Builder clearDuration() { @@ -4223,17 +4580,21 @@ public Builder clearDuration() { return this; } - private int amplifier_ ; + private int amplifier_; + /** * int32 amplifier = 3; + * * @return The amplifier. */ @java.lang.Override public int getAmplifier() { return amplifier_; } + /** * int32 amplifier = 3; + * * @param value The amplifier to set. * @return This builder for chaining. */ @@ -4244,8 +4605,10 @@ public Builder setAmplifier(int value) { onChanged(); return this; } + /** * int32 amplifier = 3; + * * @return This builder for chaining. */ public Builder clearAmplifier() { @@ -4259,36 +4622,40 @@ public Builder clearAmplifier() { } // @@protoc_insertion_point(class_scope:StatusEffect) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatusEffect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusEffect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4300,95 +4667,109 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SoundEntryOrBuilder extends + public interface SoundEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:SoundEntry) com.google.protobuf.MessageOrBuilder { /** * string translate_key = 1; + * * @return The translateKey. */ java.lang.String getTranslateKey(); + /** * string translate_key = 1; + * * @return The bytes for translateKey. */ - com.google.protobuf.ByteString - getTranslateKeyBytes(); + com.google.protobuf.ByteString getTranslateKeyBytes(); /** * int64 age = 2; + * * @return The age. */ long getAge(); /** * double x = 3; + * * @return The x. */ double getX(); /** * double y = 4; + * * @return The y. */ double getY(); /** * double z = 5; + * * @return The z. */ double getZ(); } - /** - * Protobuf type {@code SoundEntry} - */ - public static final class SoundEntry extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code SoundEntry} */ + public static final class SoundEntry extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:SoundEntry) SoundEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - SoundEntry.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + SoundEntry.class.getName()); } + // Use SoundEntry.newBuilder() to construct. private SoundEntry(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private SoundEntry() { translateKey_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_SoundEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_SoundEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class); } public static final int TRANSLATE_KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object translateKey_ = ""; + /** * string translate_key = 1; + * * @return The translateKey. */ @java.lang.Override @@ -4397,25 +4778,24 @@ public java.lang.String getTranslateKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translateKey_ = s; return s; } } + /** * string translate_key = 1; + * * @return The bytes for translateKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranslateKeyBytes() { + public com.google.protobuf.ByteString getTranslateKeyBytes() { java.lang.Object ref = translateKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translateKey_ = b; return b; } else { @@ -4425,8 +4805,10 @@ public java.lang.String getTranslateKey() { public static final int AGE_FIELD_NUMBER = 2; private long age_ = 0L; + /** * int64 age = 2; + * * @return The age. */ @java.lang.Override @@ -4436,8 +4818,10 @@ public long getAge() { public static final int X_FIELD_NUMBER = 3; private double x_ = 0D; + /** * double x = 3; + * * @return The x. */ @java.lang.Override @@ -4447,8 +4831,10 @@ public double getX() { public static final int Y_FIELD_NUMBER = 4; private double y_ = 0D; + /** * double y = 4; + * * @return The y. */ @java.lang.Override @@ -4458,8 +4844,10 @@ public double getY() { public static final int Z_FIELD_NUMBER = 5; private double z_ = 0D; + /** * double z = 5; + * * @return The z. */ @java.lang.Override @@ -4468,6 +4856,7 @@ public double getZ() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4479,8 +4868,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(translateKey_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, translateKey_); } @@ -4509,20 +4897,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, translateKey_); } if (age_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, age_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, age_); } if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, x_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, x_); } if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, y_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, y_); } if (java.lang.Double.doubleToRawLongBits(z_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, z_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, z_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4532,26 +4916,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) obj; - if (!getTranslateKey() - .equals(other.getTranslateKey())) return false; - if (getAge() - != other.getAge()) return false; + if (!getTranslateKey().equals(other.getTranslateKey())) return false; + if (getAge() != other.getAge()) return false; if (java.lang.Double.doubleToLongBits(getX()) - != java.lang.Double.doubleToLongBits( - other.getX())) return false; + != java.lang.Double.doubleToLongBits(other.getX())) return false; if (java.lang.Double.doubleToLongBits(getY()) - != java.lang.Double.doubleToLongBits( - other.getY())) return false; + != java.lang.Double.doubleToLongBits(other.getY())) return false; if (java.lang.Double.doubleToLongBits(getZ()) - != java.lang.Double.doubleToLongBits( - other.getZ())) return false; + != java.lang.Double.doubleToLongBits(other.getZ())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4566,144 +4946,150 @@ public int hashCode() { hash = (37 * hash) + TRANSLATE_KEY_FIELD_NUMBER; hash = (53 * hash) + getTranslateKey().hashCode(); hash = (37 * hash) + AGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAge()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAge()); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getX())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getX())); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getY())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getY())); hash = (37 * hash) + Z_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getZ())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getZ())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code SoundEntry} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code SoundEntry} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:SoundEntry) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_SoundEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_SoundEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4717,13 +5103,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_SoundEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_SoundEntry_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance(); } @@ -4738,13 +5125,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.translateKey_ = translateKey_; @@ -4766,15 +5157,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance()) + return this; if (!other.getTranslateKey().isEmpty()) { translateKey_ = other.translateKey_; bitField0_ |= 0x00000001; @@ -4818,37 +5212,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - translateKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - age_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: { - x_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - case 33: { - y_ = input.readDouble(); - bitField0_ |= 0x00000008; - break; - } // case 33 - case 41: { - z_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + translateKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + age_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: + { + x_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: + { + y_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + z_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4858,18 +5258,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object translateKey_ = ""; + /** * string translate_key = 1; + * * @return The translateKey. */ public java.lang.String getTranslateKey() { java.lang.Object ref = translateKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); translateKey_ = s; return s; @@ -4877,38 +5279,43 @@ public java.lang.String getTranslateKey() { return (java.lang.String) ref; } } + /** * string translate_key = 1; + * * @return The bytes for translateKey. */ - public com.google.protobuf.ByteString - getTranslateKeyBytes() { + public com.google.protobuf.ByteString getTranslateKeyBytes() { java.lang.Object ref = translateKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); translateKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string translate_key = 1; + * * @param value The translateKey to set. * @return This builder for chaining. */ - public Builder setTranslateKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslateKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } translateKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** * string translate_key = 1; + * * @return This builder for chaining. */ public Builder clearTranslateKey() { @@ -4917,14 +5324,17 @@ public Builder clearTranslateKey() { onChanged(); return this; } + /** * string translate_key = 1; + * * @param value The bytes for translateKey to set. * @return This builder for chaining. */ - public Builder setTranslateKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranslateKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); translateKey_ = value; bitField0_ |= 0x00000001; @@ -4932,17 +5342,21 @@ public Builder setTranslateKeyBytes( return this; } - private long age_ ; + private long age_; + /** * int64 age = 2; + * * @return The age. */ @java.lang.Override public long getAge() { return age_; } + /** * int64 age = 2; + * * @param value The age to set. * @return This builder for chaining. */ @@ -4953,8 +5367,10 @@ public Builder setAge(long value) { onChanged(); return this; } + /** * int64 age = 2; + * * @return This builder for chaining. */ public Builder clearAge() { @@ -4964,17 +5380,21 @@ public Builder clearAge() { return this; } - private double x_ ; + private double x_; + /** * double x = 3; + * * @return The x. */ @java.lang.Override public double getX() { return x_; } + /** * double x = 3; + * * @param value The x to set. * @return This builder for chaining. */ @@ -4985,8 +5405,10 @@ public Builder setX(double value) { onChanged(); return this; } + /** * double x = 3; + * * @return This builder for chaining. */ public Builder clearX() { @@ -4996,17 +5418,21 @@ public Builder clearX() { return this; } - private double y_ ; + private double y_; + /** * double y = 4; + * * @return The y. */ @java.lang.Override public double getY() { return y_; } + /** * double y = 4; + * * @param value The y to set. * @return This builder for chaining. */ @@ -5017,8 +5443,10 @@ public Builder setY(double value) { onChanged(); return this; } + /** * double y = 4; + * * @return This builder for chaining. */ public Builder clearY() { @@ -5028,17 +5456,21 @@ public Builder clearY() { return this; } - private double z_ ; + private double z_; + /** * double z = 5; + * * @return The z. */ @java.lang.Override public double getZ() { return z_; } + /** * double z = 5; + * * @param value The z to set. * @return This builder for chaining. */ @@ -5049,8 +5481,10 @@ public Builder setZ(double value) { onChanged(); return this; } + /** * double z = 5; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -5064,36 +5498,40 @@ public Builder clearZ() { } // @@protoc_insertion_point(class_scope:SoundEntry) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoundEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoundEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5105,120 +5543,121 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EntitiesWithinDistanceOrBuilder extends + public interface EntitiesWithinDistanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:EntitiesWithinDistance) com.google.protobuf.MessageOrBuilder { - /** - * repeated .EntityInfo entities = 1; - */ - java.util.List + /** repeated .EntityInfo entities = 1; */ + java.util.List getEntitiesList(); - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index); - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ int getEntitiesCount(); - /** - * repeated .EntityInfo entities = 1; - */ - java.util.List + + /** repeated .EntityInfo entities = 1; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getEntitiesOrBuilderList(); - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder( int index); } - /** - * Protobuf type {@code EntitiesWithinDistance} - */ - public static final class EntitiesWithinDistance extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code EntitiesWithinDistance} */ + public static final class EntitiesWithinDistance extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:EntitiesWithinDistance) EntitiesWithinDistanceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - EntitiesWithinDistance.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + EntitiesWithinDistance.class.getName()); } + // Use EntitiesWithinDistance.newBuilder() to construct. private EntitiesWithinDistance(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private EntitiesWithinDistance() { entities_ = java.util.Collections.emptyList(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntitiesWithinDistance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntitiesWithinDistance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder + .class); } public static final int ENTITIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List entities_; - /** - * repeated .EntityInfo entities = 1; - */ + private java.util.List + entities_; + + /** repeated .EntityInfo entities = 1; */ @java.lang.Override - public java.util.List getEntitiesList() { + public java.util.List + getEntitiesList() { return entities_; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getEntitiesOrBuilderList() { return entities_; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ @java.lang.Override public int getEntitiesCount() { return entities_.size(); } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index) { return entities_.get(index); } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getEntitiesOrBuilder(int index) { return entities_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5230,8 +5669,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entities_.size(); i++) { output.writeMessage(1, entities_.get(i)); } @@ -5245,8 +5683,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entities_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5256,15 +5693,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance)) { + if (!(obj + instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) obj; - if (!getEntitiesList() - .equals(other.getEntitiesList())) return false; + if (!getEntitiesList().equals(other.getEntitiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5285,128 +5723,138 @@ public int hashCode() { return hash; } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code EntitiesWithinDistance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code EntitiesWithinDistance} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:EntitiesWithinDistance) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntitiesWithinDistance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntitiesWithinDistance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder + .class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5422,19 +5870,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_EntitiesWithinDistance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_EntitiesWithinDistance_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + .getDefaultInstance(); } @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance build() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = buildPartial(); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5442,15 +5893,20 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistan } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance(this); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + buildPartial() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) { + private void buildPartialRepeatedFields( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) { if (entitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); @@ -5462,22 +5918,29 @@ private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.Obse } } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance)other); + if (other + instanceof + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + .getDefaultInstance()) return this; if (entitiesBuilder_ == null) { if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { @@ -5496,9 +5959,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.En entitiesBuilder_ = null; entities_ = other.entities_; bitField0_ = (bitField0_ & ~0x00000001); - entitiesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getEntitiesFieldBuilder() : null; + entitiesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getEntitiesFieldBuilder() + : null; } else { entitiesBuilder_.addAllMessages(other.entities_); } @@ -5530,25 +5994,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(), - extensionRegistry); - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(m); - } else { - entitiesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(), + extensionRegistry); + if (entitiesBuilder_ == null) { + ensureEntitiesIsMutable(); + entities_.add(m); + } else { + entitiesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5558,33 +6024,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List entities_ = - java.util.Collections.emptyList(); + private java.util.List + entities_ = java.util.Collections.emptyList(); + private void ensureEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entities_ = new java.util.ArrayList(entities_); + entities_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo>(entities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> entitiesBuilder_; - - /** - * repeated .EntityInfo entities = 1; - */ - public java.util.List getEntitiesList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + entitiesBuilder_; + + /** repeated .EntityInfo entities = 1; */ + public java.util.List + getEntitiesList() { if (entitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(entities_); } else { return entitiesBuilder_.getMessageList(); } } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public int getEntitiesCount() { if (entitiesBuilder_ == null) { return entities_.size(); @@ -5592,19 +6063,18 @@ public int getEntitiesCount() { return entitiesBuilder_.getCount(); } } - /** - * repeated .EntityInfo entities = 1; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities(int index) { + + /** repeated .EntityInfo entities = 1; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getEntities( + int index) { if (entitiesBuilder_ == null) { return entities_.get(index); } else { return entitiesBuilder_.getMessage(index); } } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder setEntities( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (entitiesBuilder_ == null) { @@ -5619,11 +6089,11 @@ public Builder setEntities( } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder setEntities( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); entities_.set(index, builderForValue.build()); @@ -5633,10 +6103,10 @@ public Builder setEntities( } return this; } - /** - * repeated .EntityInfo entities = 1; - */ - public Builder addEntities(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { + + /** repeated .EntityInfo entities = 1; */ + public Builder addEntities( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (entitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5649,9 +6119,8 @@ public Builder addEntities(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder addEntities( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (entitiesBuilder_ == null) { @@ -5666,9 +6135,8 @@ public Builder addEntities( } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder addEntities( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (entitiesBuilder_ == null) { @@ -5680,11 +6148,11 @@ public Builder addEntities( } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder addEntities( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); entities_.add(index, builderForValue.build()); @@ -5694,24 +6162,23 @@ public Builder addEntities( } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder addAllEntities( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo> + values) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entities_); onChanged(); } else { entitiesBuilder_.addAllMessages(values); } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder clearEntities() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); @@ -5722,9 +6189,8 @@ public Builder clearEntities() { } return this; } - /** - * repeated .EntityInfo entities = 1; - */ + + /** repeated .EntityInfo entities = 1; */ public Builder removeEntities(int index) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); @@ -5735,66 +6201,71 @@ public Builder removeEntities(int index) { } return this; } - /** - * repeated .EntityInfo entities = 1; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getEntitiesBuilder( - int index) { + + /** repeated .EntityInfo entities = 1; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + getEntitiesBuilder(int index) { return getEntitiesFieldBuilder().getBuilder(index); } - /** - * repeated .EntityInfo entities = 1; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getEntitiesOrBuilder( - int index) { + + /** repeated .EntityInfo entities = 1; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getEntitiesOrBuilder(int index) { if (entitiesBuilder_ == null) { - return entities_.get(index); } else { + return entities_.get(index); + } else { return entitiesBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .EntityInfo entities = 1; - */ - public java.util.List - getEntitiesOrBuilderList() { + + /** repeated .EntityInfo entities = 1; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + getEntitiesOrBuilderList() { if (entitiesBuilder_ != null) { return entitiesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entities_); } } - /** - * repeated .EntityInfo entities = 1; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder() { - return getEntitiesFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()); + + /** repeated .EntityInfo entities = 1; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + addEntitiesBuilder() { + return getEntitiesFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .getDefaultInstance()); } - /** - * repeated .EntityInfo entities = 1; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()); + + /** repeated .EntityInfo entities = 1; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + addEntitiesBuilder(int index) { + return getEntitiesFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .getDefaultInstance()); } - /** - * repeated .EntityInfo entities = 1; - */ - public java.util.List - getEntitiesBuilderList() { + + /** repeated .EntityInfo entities = 1; */ + public java.util.List + getEntitiesBuilderList() { return getEntitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getEntitiesFieldBuilder() { if (entitiesBuilder_ == null) { - entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( - entities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( + entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entities_ = null; } return entitiesBuilder_; @@ -5804,36 +6275,41 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder a } // @@protoc_insertion_point(class_scope:EntitiesWithinDistance) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance(); + DEFAULT_INSTANCE = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntitiesWithinDistance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntitiesWithinDistance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5845,97 +6321,113 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ChatMessageInfoOrBuilder extends + public interface ChatMessageInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:ChatMessageInfo) com.google.protobuf.MessageOrBuilder { /** * int64 added_time = 1; + * * @return The addedTime. */ long getAddedTime(); /** * string message = 2; + * * @return The message. */ java.lang.String getMessage(); + /** * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * TODO;; always empty
      * 
* * string indicator = 3; + * * @return The indicator. */ java.lang.String getIndicator(); + /** + * + * *
      * TODO;; always empty
      * 
* * string indicator = 3; + * * @return The bytes for indicator. */ - com.google.protobuf.ByteString - getIndicatorBytes(); + com.google.protobuf.ByteString getIndicatorBytes(); } - /** - * Protobuf type {@code ChatMessageInfo} - */ - public static final class ChatMessageInfo extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code ChatMessageInfo} */ + public static final class ChatMessageInfo extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:ChatMessageInfo) ChatMessageInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - ChatMessageInfo.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + ChatMessageInfo.class.getName()); } + // Use ChatMessageInfo.newBuilder() to construct. private ChatMessageInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private ChatMessageInfo() { message_ = ""; indicator_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ChatMessageInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ChatMessageInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class); } public static final int ADDED_TIME_FIELD_NUMBER = 1; private long addedTime_ = 0L; + /** * int64 added_time = 1; + * * @return The addedTime. */ @java.lang.Override @@ -5944,10 +6436,13 @@ public long getAddedTime() { } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; + /** * string message = 2; + * * @return The message. */ @java.lang.Override @@ -5956,25 +6451,24 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } + /** * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -5983,14 +6477,19 @@ public java.lang.String getMessage() { } public static final int INDICATOR_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object indicator_ = ""; + /** + * + * *
      * TODO;; always empty
      * 
* * string indicator = 3; + * * @return The indicator. */ @java.lang.Override @@ -5999,29 +6498,30 @@ public java.lang.String getIndicator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indicator_ = s; return s; } } + /** + * + * *
      * TODO;; always empty
      * 
* * string indicator = 3; + * * @return The bytes for indicator. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndicatorBytes() { + public com.google.protobuf.ByteString getIndicatorBytes() { java.lang.Object ref = indicator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indicator_ = b; return b; } else { @@ -6030,6 +6530,7 @@ public java.lang.String getIndicator() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6041,8 +6542,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (addedTime_ != 0L) { output.writeInt64(1, addedTime_); } @@ -6062,8 +6562,7 @@ public int getSerializedSize() { size = 0; if (addedTime_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, addedTime_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, addedTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, message_); @@ -6079,19 +6578,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) obj; - if (getAddedTime() - != other.getAddedTime()) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getIndicator() - .equals(other.getIndicator())) return false; + if (getAddedTime() != other.getAddedTime()) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getIndicator().equals(other.getIndicator())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6104,8 +6601,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ADDED_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAddedTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAddedTime()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + INDICATOR_FIELD_NUMBER; @@ -6116,127 +6612,131 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code ChatMessageInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code ChatMessageInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:ChatMessageInfo) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ChatMessageInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ChatMessageInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6248,19 +6748,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ChatMessageInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ChatMessageInfo_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .getDefaultInstance(); } @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo build() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = buildPartial(); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6269,13 +6772,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo buil @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.addedTime_ = addedTime_; @@ -6291,15 +6798,19 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo)other); + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .getDefaultInstance()) return this; if (other.getAddedTime() != 0L) { setAddedTime(other.getAddedTime()); } @@ -6339,27 +6850,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - addedTime_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - indicator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + addedTime_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + indicator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6369,19 +6884,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long addedTime_ ; + private long addedTime_; + /** * int64 added_time = 1; + * * @return The addedTime. */ @java.lang.Override public long getAddedTime() { return addedTime_; } + /** * int64 added_time = 1; + * * @param value The addedTime to set. * @return This builder for chaining. */ @@ -6392,8 +6912,10 @@ public Builder setAddedTime(long value) { onChanged(); return this; } + /** * int64 added_time = 1; + * * @return This builder for chaining. */ public Builder clearAddedTime() { @@ -6404,15 +6926,16 @@ public Builder clearAddedTime() { } private java.lang.Object message_ = ""; + /** * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -6420,38 +6943,43 @@ public java.lang.String getMessage() { return (java.lang.String) ref; } } + /** * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + /** * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -6460,14 +6988,17 @@ public Builder clearMessage() { onChanged(); return this; } + /** * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -6476,19 +7007,22 @@ public Builder setMessageBytes( } private java.lang.Object indicator_ = ""; + /** + * + * *
        * TODO;; always empty
        * 
* * string indicator = 3; + * * @return The indicator. */ public java.lang.String getIndicator() { java.lang.Object ref = indicator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indicator_ = s; return s; @@ -6496,50 +7030,61 @@ public java.lang.String getIndicator() { return (java.lang.String) ref; } } + /** + * + * *
        * TODO;; always empty
        * 
* * string indicator = 3; + * * @return The bytes for indicator. */ - public com.google.protobuf.ByteString - getIndicatorBytes() { + public com.google.protobuf.ByteString getIndicatorBytes() { java.lang.Object ref = indicator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indicator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** + * + * *
        * TODO;; always empty
        * 
* * string indicator = 3; + * * @param value The indicator to set. * @return This builder for chaining. */ - public Builder setIndicator( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndicator(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } indicator_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + /** + * + * *
        * TODO;; always empty
        * 
* * string indicator = 3; + * * @return This builder for chaining. */ public Builder clearIndicator() { @@ -6548,18 +7093,23 @@ public Builder clearIndicator() { onChanged(); return this; } + /** + * + * *
        * TODO;; always empty
        * 
* * string indicator = 3; + * * @param value The bytes for indicator to set. * @return This builder for chaining. */ - public Builder setIndicatorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndicatorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); indicator_ = value; bitField0_ |= 0x00000004; @@ -6571,36 +7121,40 @@ public Builder setIndicatorBytes( } // @@protoc_insertion_point(class_scope:ChatMessageInfo) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChatMessageInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChatMessageInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6612,113 +7166,138 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BiomeInfoOrBuilder extends + public interface BiomeInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:BiomeInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * 바이옴의 이름
      * 
* * string biome_name = 1; + * * @return The biomeName. */ java.lang.String getBiomeName(); + /** + * + * *
      * 바이옴의 이름
      * 
* * string biome_name = 1; + * * @return The bytes for biomeName. */ - com.google.protobuf.ByteString - getBiomeNameBytes(); + com.google.protobuf.ByteString getBiomeNameBytes(); /** + * + * *
      * 바이옴 중심의 x 좌표
      * 
* * int32 center_x = 2; + * * @return The centerX. */ int getCenterX(); /** + * + * *
      * 바이옴 중심의 y 좌표
      * 
* * int32 center_y = 3; + * * @return The centerY. */ int getCenterY(); /** + * + * *
      * 바이옴 중심의 z 좌표
      * 
* * int32 center_z = 4; + * * @return The centerZ. */ int getCenterZ(); } - /** - * Protobuf type {@code BiomeInfo} - */ - public static final class BiomeInfo extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code BiomeInfo} */ + public static final class BiomeInfo extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:BiomeInfo) BiomeInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - BiomeInfo.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + BiomeInfo.class.getName()); } + // Use BiomeInfo.newBuilder() to construct. private BiomeInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private BiomeInfo() { biomeName_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BiomeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BiomeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class); } public static final int BIOME_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object biomeName_ = ""; + /** + * + * *
      * 바이옴의 이름
      * 
* * string biome_name = 1; + * * @return The biomeName. */ @java.lang.Override @@ -6727,29 +7306,30 @@ public java.lang.String getBiomeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); biomeName_ = s; return s; } } + /** + * + * *
      * 바이옴의 이름
      * 
* * string biome_name = 1; + * * @return The bytes for biomeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBiomeNameBytes() { + public com.google.protobuf.ByteString getBiomeNameBytes() { java.lang.Object ref = biomeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); biomeName_ = b; return b; } else { @@ -6759,12 +7339,16 @@ public java.lang.String getBiomeName() { public static final int CENTER_X_FIELD_NUMBER = 2; private int centerX_ = 0; + /** + * + * *
      * 바이옴 중심의 x 좌표
      * 
* * int32 center_x = 2; + * * @return The centerX. */ @java.lang.Override @@ -6774,12 +7358,16 @@ public int getCenterX() { public static final int CENTER_Y_FIELD_NUMBER = 3; private int centerY_ = 0; + /** + * + * *
      * 바이옴 중심의 y 좌표
      * 
* * int32 center_y = 3; + * * @return The centerY. */ @java.lang.Override @@ -6789,12 +7377,16 @@ public int getCenterY() { public static final int CENTER_Z_FIELD_NUMBER = 4; private int centerZ_ = 0; + /** + * + * *
      * 바이옴 중심의 z 좌표
      * 
* * int32 center_z = 4; + * * @return The centerZ. */ @java.lang.Override @@ -6803,6 +7395,7 @@ public int getCenterZ() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6814,8 +7407,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(biomeName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, biomeName_); } @@ -6841,16 +7433,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, biomeName_); } if (centerX_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, centerX_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, centerX_); } if (centerY_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, centerY_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, centerY_); } if (centerZ_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, centerZ_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, centerZ_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6860,21 +7449,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) obj; - if (!getBiomeName() - .equals(other.getBiomeName())) return false; - if (getCenterX() - != other.getCenterX()) return false; - if (getCenterY() - != other.getCenterY()) return false; - if (getCenterZ() - != other.getCenterZ()) return false; + if (!getBiomeName().equals(other.getBiomeName())) return false; + if (getCenterX() != other.getCenterX()) return false; + if (getCenterY() != other.getCenterY()) return false; + if (getCenterZ() != other.getCenterZ()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6900,127 +7486,129 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code BiomeInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code BiomeInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:BiomeInfo) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BiomeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BiomeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder.class); } // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7033,13 +7621,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_BiomeInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_BiomeInfo_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance(); } @@ -7054,13 +7643,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.biomeName_ = biomeName_; @@ -7079,15 +7672,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) + return this; if (!other.getBiomeName().isEmpty()) { biomeName_ = other.biomeName_; bitField0_ |= 0x00000001; @@ -7128,32 +7724,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - biomeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - centerX_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - centerY_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - centerZ_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + biomeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + centerX_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + centerY_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + centerZ_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7163,22 +7764,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object biomeName_ = ""; + /** + * + * *
        * 바이옴의 이름
        * 
* * string biome_name = 1; + * * @return The biomeName. */ public java.lang.String getBiomeName() { java.lang.Object ref = biomeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); biomeName_ = s; return s; @@ -7186,50 +7791,61 @@ public java.lang.String getBiomeName() { return (java.lang.String) ref; } } + /** + * + * *
        * 바이옴의 이름
        * 
* * string biome_name = 1; + * * @return The bytes for biomeName. */ - public com.google.protobuf.ByteString - getBiomeNameBytes() { + public com.google.protobuf.ByteString getBiomeNameBytes() { java.lang.Object ref = biomeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); biomeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** + * + * *
        * 바이옴의 이름
        * 
* * string biome_name = 1; + * * @param value The biomeName to set. * @return This builder for chaining. */ - public Builder setBiomeName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBiomeName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } biomeName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** + * + * *
        * 바이옴의 이름
        * 
* * string biome_name = 1; + * * @return This builder for chaining. */ public Builder clearBiomeName() { @@ -7238,18 +7854,23 @@ public Builder clearBiomeName() { onChanged(); return this; } + /** + * + * *
        * 바이옴의 이름
        * 
* * string biome_name = 1; + * * @param value The bytes for biomeName to set. * @return This builder for chaining. */ - public Builder setBiomeNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBiomeNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); biomeName_ = value; bitField0_ |= 0x00000001; @@ -7257,25 +7878,33 @@ public Builder setBiomeNameBytes( return this; } - private int centerX_ ; + private int centerX_; + /** + * + * *
        * 바이옴 중심의 x 좌표
        * 
* * int32 center_x = 2; + * * @return The centerX. */ @java.lang.Override public int getCenterX() { return centerX_; } + /** + * + * *
        * 바이옴 중심의 x 좌표
        * 
* * int32 center_x = 2; + * * @param value The centerX to set. * @return This builder for chaining. */ @@ -7286,12 +7915,16 @@ public Builder setCenterX(int value) { onChanged(); return this; } + /** + * + * *
        * 바이옴 중심의 x 좌표
        * 
* * int32 center_x = 2; + * * @return This builder for chaining. */ public Builder clearCenterX() { @@ -7301,25 +7934,33 @@ public Builder clearCenterX() { return this; } - private int centerY_ ; + private int centerY_; + /** + * + * *
        * 바이옴 중심의 y 좌표
        * 
* * int32 center_y = 3; + * * @return The centerY. */ @java.lang.Override public int getCenterY() { return centerY_; } + /** + * + * *
        * 바이옴 중심의 y 좌표
        * 
* * int32 center_y = 3; + * * @param value The centerY to set. * @return This builder for chaining. */ @@ -7330,12 +7971,16 @@ public Builder setCenterY(int value) { onChanged(); return this; } + /** + * + * *
        * 바이옴 중심의 y 좌표
        * 
* * int32 center_y = 3; + * * @return This builder for chaining. */ public Builder clearCenterY() { @@ -7345,25 +7990,33 @@ public Builder clearCenterY() { return this; } - private int centerZ_ ; + private int centerZ_; + /** + * + * *
        * 바이옴 중심의 z 좌표
        * 
* * int32 center_z = 4; + * * @return The centerZ. */ @java.lang.Override public int getCenterZ() { return centerZ_; } + /** + * + * *
        * 바이옴 중심의 z 좌표
        * 
* * int32 center_z = 4; + * * @param value The centerZ to set. * @return This builder for chaining. */ @@ -7374,12 +8027,16 @@ public Builder setCenterZ(int value) { onChanged(); return this; } + /** + * + * *
        * 바이옴 중심의 z 좌표
        * 
* * int32 center_z = 4; + * * @return This builder for chaining. */ public Builder clearCenterZ() { @@ -7393,36 +8050,40 @@ public Builder clearCenterZ() { } // @@protoc_insertion_point(class_scope:BiomeInfo) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BiomeInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BiomeInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7434,89 +8095,102 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NearbyBiomeOrBuilder extends + public interface NearbyBiomeOrBuilder + extends // @@protoc_insertion_point(interface_extends:NearbyBiome) com.google.protobuf.MessageOrBuilder { /** * string biome_name = 1; + * * @return The biomeName. */ java.lang.String getBiomeName(); + /** * string biome_name = 1; + * * @return The bytes for biomeName. */ - com.google.protobuf.ByteString - getBiomeNameBytes(); + com.google.protobuf.ByteString getBiomeNameBytes(); /** * int32 x = 2; + * * @return The x. */ int getX(); /** * int32 y = 3; + * * @return The y. */ int getY(); /** * int32 z = 4; + * * @return The z. */ int getZ(); } - /** - * Protobuf type {@code NearbyBiome} - */ - public static final class NearbyBiome extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code NearbyBiome} */ + public static final class NearbyBiome extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:NearbyBiome) NearbyBiomeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - NearbyBiome.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + NearbyBiome.class.getName()); } + // Use NearbyBiome.newBuilder() to construct. private NearbyBiome(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private NearbyBiome() { biomeName_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_NearbyBiome_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_NearbyBiome_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class); } public static final int BIOME_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object biomeName_ = ""; + /** * string biome_name = 1; + * * @return The biomeName. */ @java.lang.Override @@ -7525,25 +8199,24 @@ public java.lang.String getBiomeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); biomeName_ = s; return s; } } + /** * string biome_name = 1; + * * @return The bytes for biomeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBiomeNameBytes() { + public com.google.protobuf.ByteString getBiomeNameBytes() { java.lang.Object ref = biomeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); biomeName_ = b; return b; } else { @@ -7553,8 +8226,10 @@ public java.lang.String getBiomeName() { public static final int X_FIELD_NUMBER = 2; private int x_ = 0; + /** * int32 x = 2; + * * @return The x. */ @java.lang.Override @@ -7564,8 +8239,10 @@ public int getX() { public static final int Y_FIELD_NUMBER = 3; private int y_ = 0; + /** * int32 y = 3; + * * @return The y. */ @java.lang.Override @@ -7575,8 +8252,10 @@ public int getY() { public static final int Z_FIELD_NUMBER = 4; private int z_ = 0; + /** * int32 z = 4; + * * @return The z. */ @java.lang.Override @@ -7585,6 +8264,7 @@ public int getZ() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7596,8 +8276,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(biomeName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, biomeName_); } @@ -7623,16 +8302,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, biomeName_); } if (x_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, x_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, x_); } if (y_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, y_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, y_); } if (z_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, z_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, z_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7642,21 +8318,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) obj; - if (!getBiomeName() - .equals(other.getBiomeName())) return false; - if (getX() - != other.getX()) return false; - if (getY() - != other.getY()) return false; - if (getZ() - != other.getZ()) return false; + if (!getBiomeName().equals(other.getBiomeName())) return false; + if (getX() != other.getX()) return false; + if (getY() != other.getY()) return false; + if (getZ() != other.getZ()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7682,127 +8355,131 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code NearbyBiome} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code NearbyBiome} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:NearbyBiome) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_NearbyBiome_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_NearbyBiome_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7815,14 +8492,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_NearbyBiome_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_NearbyBiome_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + .getDefaultInstance(); } @java.lang.Override @@ -7836,13 +8515,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome build() @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.biomeName_ = biomeName_; @@ -7861,15 +8544,19 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome)other); + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + .getDefaultInstance()) return this; if (!other.getBiomeName().isEmpty()) { biomeName_ = other.biomeName_; bitField0_ |= 0x00000001; @@ -7910,32 +8597,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - biomeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - x_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - y_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - z_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + biomeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + x_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + y_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + z_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7945,18 +8637,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object biomeName_ = ""; + /** * string biome_name = 1; + * * @return The biomeName. */ public java.lang.String getBiomeName() { java.lang.Object ref = biomeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); biomeName_ = s; return s; @@ -7964,38 +8658,43 @@ public java.lang.String getBiomeName() { return (java.lang.String) ref; } } + /** * string biome_name = 1; + * * @return The bytes for biomeName. */ - public com.google.protobuf.ByteString - getBiomeNameBytes() { + public com.google.protobuf.ByteString getBiomeNameBytes() { java.lang.Object ref = biomeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); biomeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string biome_name = 1; + * * @param value The biomeName to set. * @return This builder for chaining. */ - public Builder setBiomeName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBiomeName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } biomeName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** * string biome_name = 1; + * * @return This builder for chaining. */ public Builder clearBiomeName() { @@ -8004,14 +8703,17 @@ public Builder clearBiomeName() { onChanged(); return this; } + /** * string biome_name = 1; + * * @param value The bytes for biomeName to set. * @return This builder for chaining. */ - public Builder setBiomeNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBiomeNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); biomeName_ = value; bitField0_ |= 0x00000001; @@ -8019,17 +8721,21 @@ public Builder setBiomeNameBytes( return this; } - private int x_ ; + private int x_; + /** * int32 x = 2; + * * @return The x. */ @java.lang.Override public int getX() { return x_; } + /** * int32 x = 2; + * * @param value The x to set. * @return This builder for chaining. */ @@ -8040,8 +8746,10 @@ public Builder setX(int value) { onChanged(); return this; } + /** * int32 x = 2; + * * @return This builder for chaining. */ public Builder clearX() { @@ -8051,17 +8759,21 @@ public Builder clearX() { return this; } - private int y_ ; + private int y_; + /** * int32 y = 3; + * * @return The y. */ @java.lang.Override public int getY() { return y_; } + /** * int32 y = 3; + * * @param value The y to set. * @return This builder for chaining. */ @@ -8072,8 +8784,10 @@ public Builder setY(int value) { onChanged(); return this; } + /** * int32 y = 3; + * * @return This builder for chaining. */ public Builder clearY() { @@ -8083,17 +8797,21 @@ public Builder clearY() { return this; } - private int z_ ; + private int z_; + /** * int32 z = 4; + * * @return The z. */ @java.lang.Override public int getZ() { return z_; } + /** * int32 z = 4; + * * @param value The z to set. * @return This builder for chaining. */ @@ -8104,8 +8822,10 @@ public Builder setZ(int value) { onChanged(); return this; } + /** * int32 z = 4; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -8119,36 +8839,40 @@ public Builder clearZ() { } // @@protoc_insertion_point(class_scope:NearbyBiome) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NearbyBiome parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NearbyBiome parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8160,88 +8884,100 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface HeightInfoOrBuilder extends + public interface HeightInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:HeightInfo) com.google.protobuf.MessageOrBuilder { /** * int32 x = 1; + * * @return The x. */ int getX(); /** * int32 z = 2; + * * @return The z. */ int getZ(); /** * int32 height = 3; + * * @return The height. */ int getHeight(); /** * string block_name = 4; + * * @return The blockName. */ java.lang.String getBlockName(); + /** * string block_name = 4; + * * @return The bytes for blockName. */ - com.google.protobuf.ByteString - getBlockNameBytes(); + com.google.protobuf.ByteString getBlockNameBytes(); } - /** - * Protobuf type {@code HeightInfo} - */ - public static final class HeightInfo extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code HeightInfo} */ + public static final class HeightInfo extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:HeightInfo) HeightInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - HeightInfo.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + HeightInfo.class.getName()); } + // Use HeightInfo.newBuilder() to construct. private HeightInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private HeightInfo() { blockName_ = ""; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HeightInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HeightInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class); } public static final int X_FIELD_NUMBER = 1; private int x_ = 0; + /** * int32 x = 1; + * * @return The x. */ @java.lang.Override @@ -8251,8 +8987,10 @@ public int getX() { public static final int Z_FIELD_NUMBER = 2; private int z_ = 0; + /** * int32 z = 2; + * * @return The z. */ @java.lang.Override @@ -8262,8 +9000,10 @@ public int getZ() { public static final int HEIGHT_FIELD_NUMBER = 3; private int height_ = 0; + /** * int32 height = 3; + * * @return The height. */ @java.lang.Override @@ -8272,10 +9012,13 @@ public int getHeight() { } public static final int BLOCK_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object blockName_ = ""; + /** * string block_name = 4; + * * @return The blockName. */ @java.lang.Override @@ -8284,25 +9027,24 @@ public java.lang.String getBlockName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); blockName_ = s; return s; } } + /** * string block_name = 4; + * * @return The bytes for blockName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBlockNameBytes() { + public com.google.protobuf.ByteString getBlockNameBytes() { java.lang.Object ref = blockName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); blockName_ = b; return b; } else { @@ -8311,6 +9053,7 @@ public java.lang.String getBlockName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8322,8 +9065,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (x_ != 0) { output.writeInt32(1, x_); } @@ -8346,16 +9088,13 @@ public int getSerializedSize() { size = 0; if (x_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, x_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, x_); } if (z_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, z_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, z_); } if (height_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, height_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, height_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(blockName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, blockName_); @@ -8368,21 +9107,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) obj; - if (getX() - != other.getX()) return false; - if (getZ() - != other.getZ()) return false; - if (getHeight() - != other.getHeight()) return false; - if (!getBlockName() - .equals(other.getBlockName())) return false; + if (getX() != other.getX()) return false; + if (getZ() != other.getZ()) return false; + if (getHeight() != other.getHeight()) return false; + if (!getBlockName().equals(other.getBlockName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8408,127 +9144,131 @@ public int hashCode() { } public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code HeightInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code HeightInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:HeightInfo) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HeightInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HeightInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder.class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8541,13 +9281,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_HeightInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_HeightInfo_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + getDefaultInstanceForType() { return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance(); } @@ -8562,13 +9303,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo build() { @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.x_ = x_; @@ -8587,15 +9332,18 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo)other); + return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance()) + return this; if (other.getX() != 0) { setX(other.getX()); } @@ -8636,32 +9384,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - x_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - z_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - height_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - blockName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + x_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + z_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + height_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + blockName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8671,19 +9424,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int x_ ; + private int x_; + /** * int32 x = 1; + * * @return The x. */ @java.lang.Override public int getX() { return x_; } + /** * int32 x = 1; + * * @param value The x to set. * @return This builder for chaining. */ @@ -8694,8 +9452,10 @@ public Builder setX(int value) { onChanged(); return this; } + /** * int32 x = 1; + * * @return This builder for chaining. */ public Builder clearX() { @@ -8705,17 +9465,21 @@ public Builder clearX() { return this; } - private int z_ ; + private int z_; + /** * int32 z = 2; + * * @return The z. */ @java.lang.Override public int getZ() { return z_; } + /** * int32 z = 2; + * * @param value The z to set. * @return This builder for chaining. */ @@ -8726,8 +9490,10 @@ public Builder setZ(int value) { onChanged(); return this; } + /** * int32 z = 2; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -8737,17 +9503,21 @@ public Builder clearZ() { return this; } - private int height_ ; + private int height_; + /** * int32 height = 3; + * * @return The height. */ @java.lang.Override public int getHeight() { return height_; } + /** * int32 height = 3; + * * @param value The height to set. * @return This builder for chaining. */ @@ -8758,8 +9528,10 @@ public Builder setHeight(int value) { onChanged(); return this; } + /** * int32 height = 3; + * * @return This builder for chaining. */ public Builder clearHeight() { @@ -8770,15 +9542,16 @@ public Builder clearHeight() { } private java.lang.Object blockName_ = ""; + /** * string block_name = 4; + * * @return The blockName. */ public java.lang.String getBlockName() { java.lang.Object ref = blockName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); blockName_ = s; return s; @@ -8786,38 +9559,43 @@ public java.lang.String getBlockName() { return (java.lang.String) ref; } } + /** * string block_name = 4; + * * @return The bytes for blockName. */ - public com.google.protobuf.ByteString - getBlockNameBytes() { + public com.google.protobuf.ByteString getBlockNameBytes() { java.lang.Object ref = blockName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); blockName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string block_name = 4; + * * @param value The blockName to set. * @return This builder for chaining. */ - public Builder setBlockName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBlockName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } blockName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + /** * string block_name = 4; + * * @return This builder for chaining. */ public Builder clearBlockName() { @@ -8826,14 +9604,17 @@ public Builder clearBlockName() { onChanged(); return this; } + /** * string block_name = 4; + * * @param value The bytes for blockName to set. * @return This builder for chaining. */ - public Builder setBlockNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBlockNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); blockName_ = value; bitField0_ |= 0x00000008; @@ -8845,36 +9626,40 @@ public Builder setBlockNameBytes( } // @@protoc_insertion_point(class_scope:HeightInfo) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HeightInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HeightInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8886,363 +9671,327 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ObservationSpaceMessageOrBuilder extends + public interface ObservationSpaceMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:ObservationSpaceMessage) com.google.protobuf.MessageOrBuilder { /** * bytes image = 1; + * * @return The image. */ com.google.protobuf.ByteString getImage(); /** * double x = 2; + * * @return The x. */ double getX(); /** * double y = 3; + * * @return The y. */ double getY(); /** * double z = 4; + * * @return The z. */ double getZ(); /** * double yaw = 5; + * * @return The yaw. */ double getYaw(); /** * double pitch = 6; + * * @return The pitch. */ double getPitch(); /** * double health = 7; + * * @return The health. */ double getHealth(); /** * double food_level = 8; + * * @return The foodLevel. */ double getFoodLevel(); /** * double saturation_level = 9; + * * @return The saturationLevel. */ double getSaturationLevel(); /** * bool is_dead = 10; + * * @return The isDead. */ boolean getIsDead(); - /** - * repeated .ItemStack inventory = 11; - */ - java.util.List + /** repeated .ItemStack inventory = 11; */ + java.util.List getInventoryList(); - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index); - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ int getInventoryCount(); - /** - * repeated .ItemStack inventory = 11; - */ - java.util.List + + /** repeated .ItemStack inventory = 11; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> getInventoryOrBuilderList(); - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder( int index); /** * .HitResult raycast_result = 12; + * * @return Whether the raycastResult field is set. */ boolean hasRaycastResult(); + /** * .HitResult raycast_result = 12; + * * @return The raycastResult. */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult(); - /** - * .HitResult raycast_result = 12; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder(); - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - java.util.List + /** .HitResult raycast_result = 12; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder + getRaycastResultOrBuilder(); + + /** repeated .SoundEntry sound_subtitles = 13; */ + java.util.List getSoundSubtitlesList(); - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index); - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ int getSoundSubtitlesCount(); - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - java.util.List + + /** repeated .SoundEntry sound_subtitles = 13; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> getSoundSubtitlesOrBuilderList(); - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder( - int index); - /** - * repeated .StatusEffect status_effects = 14; - */ - java.util.List + /** repeated .SoundEntry sound_subtitles = 13; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder + getSoundSubtitlesOrBuilder(int index); + + /** repeated .StatusEffect status_effects = 14; */ + java.util.List getStatusEffectsList(); - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index); - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ int getStatusEffectsCount(); - /** - * repeated .StatusEffect status_effects = 14; - */ - java.util.List + + /** repeated .StatusEffect status_effects = 14; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> getStatusEffectsOrBuilderList(); - /** - * repeated .StatusEffect status_effects = 14; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder( - int index); - /** - * map<string, int32> killed_statistics = 15; - */ + /** repeated .StatusEffect status_effects = 14; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder + getStatusEffectsOrBuilder(int index); + + /** map<string, int32> killed_statistics = 15; */ int getKilledStatisticsCount(); - /** - * map<string, int32> killed_statistics = 15; - */ - boolean containsKilledStatistics( - java.lang.String key); - /** - * Use {@link #getKilledStatisticsMap()} instead. - */ + + /** map<string, int32> killed_statistics = 15; */ + boolean containsKilledStatistics(java.lang.String key); + + /** Use {@link #getKilledStatisticsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getKilledStatistics(); - /** - * map<string, int32> killed_statistics = 15; - */ - java.util.Map - getKilledStatisticsMap(); - /** - * map<string, int32> killed_statistics = 15; - */ - int getKilledStatisticsOrDefault( - java.lang.String key, - int defaultValue); - /** - * map<string, int32> killed_statistics = 15; - */ - int getKilledStatisticsOrThrow( - java.lang.String key); + java.util.Map getKilledStatistics(); - /** - * map<string, int32> mined_statistics = 16; - */ + /** map<string, int32> killed_statistics = 15; */ + java.util.Map getKilledStatisticsMap(); + + /** map<string, int32> killed_statistics = 15; */ + int getKilledStatisticsOrDefault(java.lang.String key, int defaultValue); + + /** map<string, int32> killed_statistics = 15; */ + int getKilledStatisticsOrThrow(java.lang.String key); + + /** map<string, int32> mined_statistics = 16; */ int getMinedStatisticsCount(); - /** - * map<string, int32> mined_statistics = 16; - */ - boolean containsMinedStatistics( - java.lang.String key); - /** - * Use {@link #getMinedStatisticsMap()} instead. - */ + + /** map<string, int32> mined_statistics = 16; */ + boolean containsMinedStatistics(java.lang.String key); + + /** Use {@link #getMinedStatisticsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMinedStatistics(); - /** - * map<string, int32> mined_statistics = 16; - */ - java.util.Map - getMinedStatisticsMap(); - /** - * map<string, int32> mined_statistics = 16; - */ - int getMinedStatisticsOrDefault( - java.lang.String key, - int defaultValue); - /** - * map<string, int32> mined_statistics = 16; - */ - int getMinedStatisticsOrThrow( - java.lang.String key); + java.util.Map getMinedStatistics(); - /** - * map<string, int32> misc_statistics = 17; - */ + /** map<string, int32> mined_statistics = 16; */ + java.util.Map getMinedStatisticsMap(); + + /** map<string, int32> mined_statistics = 16; */ + int getMinedStatisticsOrDefault(java.lang.String key, int defaultValue); + + /** map<string, int32> mined_statistics = 16; */ + int getMinedStatisticsOrThrow(java.lang.String key); + + /** map<string, int32> misc_statistics = 17; */ int getMiscStatisticsCount(); - /** - * map<string, int32> misc_statistics = 17; - */ - boolean containsMiscStatistics( - java.lang.String key); - /** - * Use {@link #getMiscStatisticsMap()} instead. - */ + + /** map<string, int32> misc_statistics = 17; */ + boolean containsMiscStatistics(java.lang.String key); + + /** Use {@link #getMiscStatisticsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMiscStatistics(); - /** - * map<string, int32> misc_statistics = 17; - */ - java.util.Map - getMiscStatisticsMap(); - /** - * map<string, int32> misc_statistics = 17; - */ - int getMiscStatisticsOrDefault( - java.lang.String key, - int defaultValue); - /** - * map<string, int32> misc_statistics = 17; - */ - int getMiscStatisticsOrThrow( - java.lang.String key); + java.util.Map getMiscStatistics(); - /** - * repeated .EntityInfo visible_entities = 18; - */ - java.util.List + /** map<string, int32> misc_statistics = 17; */ + java.util.Map getMiscStatisticsMap(); + + /** map<string, int32> misc_statistics = 17; */ + int getMiscStatisticsOrDefault(java.lang.String key, int defaultValue); + + /** map<string, int32> misc_statistics = 17; */ + int getMiscStatisticsOrThrow(java.lang.String key); + + /** repeated .EntityInfo visible_entities = 18; */ + java.util.List getVisibleEntitiesList(); - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index); - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ int getVisibleEntitiesCount(); - /** - * repeated .EntityInfo visible_entities = 18; - */ - java.util.List + + /** repeated .EntityInfo visible_entities = 18; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getVisibleEntitiesOrBuilderList(); - /** - * repeated .EntityInfo visible_entities = 18; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder( - int index); - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + /** repeated .EntityInfo visible_entities = 18; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getVisibleEntitiesOrBuilder(int index); + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ int getSurroundingEntitiesCount(); - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - boolean containsSurroundingEntities( - int key); - /** - * Use {@link #getSurroundingEntitiesMap()} instead. - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + boolean containsSurroundingEntities(int key); + + /** Use {@link #getSurroundingEntitiesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getSurroundingEntities(); - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - java.util.Map - getSurroundingEntitiesMap(); - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntities(); + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntitiesMap(); + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrDefault( - int key, - /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance defaultValue); - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow( - int key); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getSurroundingEntitiesOrDefault( + int key, + /* nullable */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + defaultValue); + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getSurroundingEntitiesOrThrow(int key); /** * bool bobber_thrown = 20; + * * @return The bobberThrown. */ boolean getBobberThrown(); /** * int32 experience = 21; + * * @return The experience. */ int getExperience(); /** * int64 world_time = 22; + * * @return The worldTime. */ long getWorldTime(); /** * string last_death_message = 23; + * * @return The lastDeathMessage. */ java.lang.String getLastDeathMessage(); + /** * string last_death_message = 23; + * * @return The bytes for lastDeathMessage. */ - com.google.protobuf.ByteString - getLastDeathMessageBytes(); + com.google.protobuf.ByteString getLastDeathMessageBytes(); /** * bytes image_2 = 24; + * * @return The image2. */ com.google.protobuf.ByteString getImage2(); /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - java.util.List + java.util.List getSurroundingBlocksList(); + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -9250,7 +9999,10 @@ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getS * repeated .BlockInfo surrounding_blocks = 25; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index); + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -9258,181 +10010,185 @@ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getS * repeated .BlockInfo surrounding_blocks = 25; */ int getSurroundingBlocksCount(); + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - java.util.List + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> getSurroundingBlocksOrBuilderList(); + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder( - int index); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getSurroundingBlocksOrBuilder(int index); /** * bool eye_in_block = 26; + * * @return The eyeInBlock. */ boolean getEyeInBlock(); /** * bool suffocating = 27; + * * @return The suffocating. */ boolean getSuffocating(); - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - java.util.List + /** repeated .ChatMessageInfo chat_messages = 28; */ + java.util.List getChatMessagesList(); - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index); - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ int getChatMessagesCount(); - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - java.util.List + + /** repeated .ChatMessageInfo chat_messages = 28; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> getChatMessagesOrBuilderList(); - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder( - int index); + + /** repeated .ChatMessageInfo chat_messages = 28; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder + getChatMessagesOrBuilder(int index); /** * .BiomeInfo biome_info = 29; + * * @return Whether the biomeInfo field is set. */ boolean hasBiomeInfo(); + /** * .BiomeInfo biome_info = 29; + * * @return The biomeInfo. */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo(); - /** - * .BiomeInfo biome_info = 29; - */ + + /** .BiomeInfo biome_info = 29; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder(); - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - java.util.List + /** repeated .NearbyBiome nearby_biomes = 30; */ + java.util.List getNearbyBiomesList(); - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index); - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ int getNearbyBiomesCount(); - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - java.util.List + + /** repeated .NearbyBiome nearby_biomes = 30; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> getNearbyBiomesOrBuilderList(); - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder( - int index); + + /** repeated .NearbyBiome nearby_biomes = 30; */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder + getNearbyBiomesOrBuilder(int index); /** * bool submerged_in_water = 31; + * * @return The submergedInWater. */ boolean getSubmergedInWater(); /** * bool is_in_lava = 32; + * * @return The isInLava. */ boolean getIsInLava(); /** * bool submerged_in_lava = 33; + * * @return The submergedInLava. */ boolean getSubmergedInLava(); - /** - * repeated .HeightInfo height_info = 34; - */ - java.util.List + /** repeated .HeightInfo height_info = 34; */ + java.util.List getHeightInfoList(); - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index); - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ int getHeightInfoCount(); - /** - * repeated .HeightInfo height_info = 34; - */ - java.util.List + + /** repeated .HeightInfo height_info = 34; */ + java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> getHeightInfoOrBuilderList(); - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder( int index); /** * bool is_on_ground = 35; + * * @return The isOnGround. */ boolean getIsOnGround(); /** * bool is_touching_water = 36; + * * @return The isTouchingWater. */ boolean getIsTouchingWater(); /** * bytes ipc_handle = 37; + * * @return The ipcHandle. */ com.google.protobuf.ByteString getIpcHandle(); } - /** - * Protobuf type {@code ObservationSpaceMessage} - */ - public static final class ObservationSpaceMessage extends - com.google.protobuf.GeneratedMessage implements + + /** Protobuf type {@code ObservationSpaceMessage} */ + public static final class ObservationSpaceMessage extends com.google.protobuf.GeneratedMessage + implements // @@protoc_insertion_point(message_implements:ObservationSpaceMessage) ObservationSpaceMessageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; + static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 29, - /* patch= */ 1, - /* suffix= */ "", - ObservationSpaceMessage.class.getName()); + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 29, + /* patch= */ 1, + /* suffix= */ "", + ObservationSpaceMessage.class.getName()); } + // Use ObservationSpaceMessage.newBuilder() to construct. private ObservationSpaceMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } + private ObservationSpaceMessage() { image_ = com.google.protobuf.ByteString.EMPTY; inventory_ = java.util.Collections.emptyList(); @@ -9448,9 +10204,9 @@ private ObservationSpaceMessage() { ipcHandle_ = com.google.protobuf.ByteString.EMPTY; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -9467,23 +10223,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 19: return internalGetSurroundingEntities(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder + .class); } private int bitField0_; public static final int IMAGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString image_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes image = 1; + * * @return The image. */ @java.lang.Override @@ -9493,8 +10254,10 @@ public com.google.protobuf.ByteString getImage() { public static final int X_FIELD_NUMBER = 2; private double x_ = 0D; + /** * double x = 2; + * * @return The x. */ @java.lang.Override @@ -9504,8 +10267,10 @@ public double getX() { public static final int Y_FIELD_NUMBER = 3; private double y_ = 0D; + /** * double y = 3; + * * @return The y. */ @java.lang.Override @@ -9515,8 +10280,10 @@ public double getY() { public static final int Z_FIELD_NUMBER = 4; private double z_ = 0D; + /** * double z = 4; + * * @return The z. */ @java.lang.Override @@ -9526,8 +10293,10 @@ public double getZ() { public static final int YAW_FIELD_NUMBER = 5; private double yaw_ = 0D; + /** * double yaw = 5; + * * @return The yaw. */ @java.lang.Override @@ -9537,8 +10306,10 @@ public double getYaw() { public static final int PITCH_FIELD_NUMBER = 6; private double pitch_ = 0D; + /** * double pitch = 6; + * * @return The pitch. */ @java.lang.Override @@ -9548,8 +10319,10 @@ public double getPitch() { public static final int HEALTH_FIELD_NUMBER = 7; private double health_ = 0D; + /** * double health = 7; + * * @return The health. */ @java.lang.Override @@ -9559,8 +10332,10 @@ public double getHealth() { public static final int FOOD_LEVEL_FIELD_NUMBER = 8; private double foodLevel_ = 0D; + /** * double food_level = 8; + * * @return The foodLevel. */ @java.lang.Override @@ -9570,8 +10345,10 @@ public double getFoodLevel() { public static final int SATURATION_LEVEL_FIELD_NUMBER = 9; private double saturationLevel_ = 0D; + /** * double saturation_level = 9; + * * @return The saturationLevel. */ @java.lang.Override @@ -9581,8 +10358,10 @@ public double getSaturationLevel() { public static final int IS_DEAD_FIELD_NUMBER = 10; private boolean isDead_ = false; + /** * bool is_dead = 10; + * * @return The isDead. */ @java.lang.Override @@ -9591,223 +10370,229 @@ public boolean getIsDead() { } public static final int INVENTORY_FIELD_NUMBER = 11; + @SuppressWarnings("serial") - private java.util.List inventory_; - /** - * repeated .ItemStack inventory = 11; - */ + private java.util.List + inventory_; + + /** repeated .ItemStack inventory = 11; */ @java.lang.Override - public java.util.List getInventoryList() { + public java.util.List + getInventoryList() { return inventory_; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> getInventoryOrBuilderList() { return inventory_; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ @java.lang.Override public int getInventoryCount() { return inventory_.size(); } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index) { return inventory_.get(index); } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder + getInventoryOrBuilder(int index) { return inventory_.get(index); } public static final int RAYCAST_RESULT_FIELD_NUMBER = 12; private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult raycastResult_; + /** * .HitResult raycast_result = 12; + * * @return Whether the raycastResult field is set. */ @java.lang.Override public boolean hasRaycastResult() { return ((bitField0_ & 0x00000001) != 0); } + /** * .HitResult raycast_result = 12; + * * @return The raycastResult. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult() { - return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_; + return raycastResult_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() + : raycastResult_; } - /** - * .HitResult raycast_result = 12; - */ + + /** .HitResult raycast_result = 12; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() { - return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_; + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder + getRaycastResultOrBuilder() { + return raycastResult_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() + : raycastResult_; } public static final int SOUND_SUBTITLES_FIELD_NUMBER = 13; + @SuppressWarnings("serial") - private java.util.List soundSubtitles_; - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + private java.util.List + soundSubtitles_; + + /** repeated .SoundEntry sound_subtitles = 13; */ @java.lang.Override - public java.util.List getSoundSubtitlesList() { + public java.util.List + getSoundSubtitlesList() { return soundSubtitles_; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> getSoundSubtitlesOrBuilderList() { return soundSubtitles_; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ @java.lang.Override public int getSoundSubtitlesCount() { return soundSubtitles_.size(); } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles( + int index) { return soundSubtitles_.get(index); } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder + getSoundSubtitlesOrBuilder(int index) { return soundSubtitles_.get(index); } public static final int STATUS_EFFECTS_FIELD_NUMBER = 14; + @SuppressWarnings("serial") - private java.util.List statusEffects_; - /** - * repeated .StatusEffect status_effects = 14; - */ + private java.util.List + statusEffects_; + + /** repeated .StatusEffect status_effects = 14; */ @java.lang.Override - public java.util.List getStatusEffectsList() { + public java.util.List + getStatusEffectsList() { return statusEffects_; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> getStatusEffectsOrBuilderList() { return statusEffects_; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ @java.lang.Override public int getStatusEffectsCount() { return statusEffects_.size(); } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects( + int index) { return statusEffects_.get(index); } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder + getStatusEffectsOrBuilder(int index) { return statusEffects_.get(index); } public static final int KILLED_STATISTICS_FIELD_NUMBER = 15; + private static final class KilledStatisticsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> killedStatistics_; + private com.google.protobuf.MapField killedStatistics_; + private com.google.protobuf.MapField - internalGetKilledStatistics() { + internalGetKilledStatistics() { if (killedStatistics_ == null) { return com.google.protobuf.MapField.emptyMapField( KilledStatisticsDefaultEntryHolder.defaultEntry); } return killedStatistics_; } + public int getKilledStatisticsCount() { return internalGetKilledStatistics().getMap().size(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public boolean containsKilledStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKilledStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKilledStatistics().getMap().containsKey(key); } - /** - * Use {@link #getKilledStatisticsMap()} instead. - */ + + /** Use {@link #getKilledStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getKilledStatistics() { return getKilledStatisticsMap(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override public java.util.Map getKilledStatisticsMap() { return internalGetKilledStatistics().getMap(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public int getKilledStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getKilledStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetKilledStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public int getKilledStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getKilledStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetKilledStatistics().getMap(); if (!map.containsKey(key)) { @@ -9817,74 +10602,73 @@ public int getKilledStatisticsOrThrow( } public static final int MINED_STATISTICS_FIELD_NUMBER = 16; + private static final class MinedStatisticsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> minedStatistics_; + private com.google.protobuf.MapField minedStatistics_; + private com.google.protobuf.MapField - internalGetMinedStatistics() { + internalGetMinedStatistics() { if (minedStatistics_ == null) { return com.google.protobuf.MapField.emptyMapField( MinedStatisticsDefaultEntryHolder.defaultEntry); } return minedStatistics_; } + public int getMinedStatisticsCount() { return internalGetMinedStatistics().getMap().size(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public boolean containsMinedStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMinedStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMinedStatistics().getMap().containsKey(key); } - /** - * Use {@link #getMinedStatisticsMap()} instead. - */ + + /** Use {@link #getMinedStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMinedStatistics() { return getMinedStatisticsMap(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override public java.util.Map getMinedStatisticsMap() { return internalGetMinedStatistics().getMap(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public int getMinedStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMinedStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMinedStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public int getMinedStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMinedStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMinedStatistics().getMap(); if (!map.containsKey(key)) { @@ -9894,76 +10678,73 @@ public int getMinedStatisticsOrThrow( } public static final int MISC_STATISTICS_FIELD_NUMBER = 17; + private static final class MiscStatisticsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> miscStatistics_; + private com.google.protobuf.MapField miscStatistics_; + private com.google.protobuf.MapField - internalGetMiscStatistics() { + internalGetMiscStatistics() { if (miscStatistics_ == null) { return com.google.protobuf.MapField.emptyMapField( MiscStatisticsDefaultEntryHolder.defaultEntry); } return miscStatistics_; } + public int getMiscStatisticsCount() { return internalGetMiscStatistics().getMap().size(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public boolean containsMiscStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMiscStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMiscStatistics().getMap().containsKey(key); } - /** - * Use {@link #getMiscStatisticsMap()} instead. - */ + + /** Use {@link #getMiscStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMiscStatistics() { return getMiscStatisticsMap(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override public java.util.Map getMiscStatisticsMap() { return internalGetMiscStatistics().getMap(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public int getMiscStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMiscStatistics().getMap(); + public int getMiscStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMiscStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public int getMiscStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMiscStatistics().getMap(); + public int getMiscStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMiscStatistics().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -9971,119 +10752,139 @@ public int getMiscStatisticsOrThrow( } public static final int VISIBLE_ENTITIES_FIELD_NUMBER = 18; + @SuppressWarnings("serial") - private java.util.List visibleEntities_; - /** - * repeated .EntityInfo visible_entities = 18; - */ + private java.util.List + visibleEntities_; + + /** repeated .EntityInfo visible_entities = 18; */ @java.lang.Override - public java.util.List getVisibleEntitiesList() { + public java.util.List + getVisibleEntitiesList() { return visibleEntities_; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getVisibleEntitiesOrBuilderList() { return visibleEntities_; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ @java.lang.Override public int getVisibleEntitiesCount() { return visibleEntities_.size(); } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities( + int index) { return visibleEntities_.get(index); } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getVisibleEntitiesOrBuilder(int index) { return visibleEntities_.get(index); } public static final int SURROUNDING_ENTITIES_FIELD_NUMBER = 19; + private static final class SurroundingEntitiesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> defaultEntry = + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.INT32, - 0, - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.getDefaultInstance()); + . + newDefaultInstance( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistance.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> surroundingEntities_; - private com.google.protobuf.MapField - internalGetSurroundingEntities() { + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + surroundingEntities_; + + private com.google.protobuf.MapField< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + internalGetSurroundingEntities() { if (surroundingEntities_ == null) { return com.google.protobuf.MapField.emptyMapField( SurroundingEntitiesDefaultEntryHolder.defaultEntry); } return surroundingEntities_; } + public int getSurroundingEntitiesCount() { return internalGetSurroundingEntities().getMap().size(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public boolean containsSurroundingEntities( - int key) { + public boolean containsSurroundingEntities(int key) { return internalGetSurroundingEntities().getMap().containsKey(key); } - /** - * Use {@link #getSurroundingEntitiesMap()} instead. - */ + + /** Use {@link #getSurroundingEntitiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getSurroundingEntities() { + public java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntities() { return getSurroundingEntitiesMap(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public java.util.Map getSurroundingEntitiesMap() { + public java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntitiesMap() { return internalGetSurroundingEntities().getMap(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrDefault( - int key, - /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance defaultValue) { + public /* nullable */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistance + getSurroundingEntitiesOrDefault( + int key, + /* nullable */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + defaultValue) { - java.util.Map map = - internalGetSurroundingEntities().getMap(); + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + map = internalGetSurroundingEntities().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow( - int key) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getSurroundingEntitiesOrThrow(int key) { - java.util.Map map = - internalGetSurroundingEntities().getMap(); + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + map = internalGetSurroundingEntities().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -10092,8 +10893,10 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistan public static final int BOBBER_THROWN_FIELD_NUMBER = 20; private boolean bobberThrown_ = false; + /** * bool bobber_thrown = 20; + * * @return The bobberThrown. */ @java.lang.Override @@ -10103,8 +10906,10 @@ public boolean getBobberThrown() { public static final int EXPERIENCE_FIELD_NUMBER = 21; private int experience_ = 0; + /** * int32 experience = 21; + * * @return The experience. */ @java.lang.Override @@ -10114,8 +10919,10 @@ public int getExperience() { public static final int WORLD_TIME_FIELD_NUMBER = 22; private long worldTime_ = 0L; + /** * int64 world_time = 22; + * * @return The worldTime. */ @java.lang.Override @@ -10124,10 +10931,13 @@ public long getWorldTime() { } public static final int LAST_DEATH_MESSAGE_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private volatile java.lang.Object lastDeathMessage_ = ""; + /** * string last_death_message = 23; + * * @return The lastDeathMessage. */ @java.lang.Override @@ -10136,25 +10946,24 @@ public java.lang.String getLastDeathMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastDeathMessage_ = s; return s; } } + /** * string last_death_message = 23; + * * @return The bytes for lastDeathMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastDeathMessageBytes() { + public com.google.protobuf.ByteString getLastDeathMessageBytes() { java.lang.Object ref = lastDeathMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastDeathMessage_ = b; return b; } else { @@ -10164,8 +10973,10 @@ public java.lang.String getLastDeathMessage() { public static final int IMAGE_2_FIELD_NUMBER = 24; private com.google.protobuf.ByteString image2_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes image_2 = 24; + * * @return The image2. */ @java.lang.Override @@ -10174,9 +10985,14 @@ public com.google.protobuf.ByteString getImage2() { } public static final int SURROUNDING_BLOCKS_FIELD_NUMBER = 25; + @SuppressWarnings("serial") - private java.util.List surroundingBlocks_; + private java.util.List + surroundingBlocks_; + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -10184,10 +11000,14 @@ public com.google.protobuf.ByteString getImage2() { * repeated .BlockInfo surrounding_blocks = 25; */ @java.lang.Override - public java.util.List getSurroundingBlocksList() { + public java.util.List + getSurroundingBlocksList() { return surroundingBlocks_; } + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -10195,11 +11015,15 @@ public java.util.Listrepeated .BlockInfo surrounding_blocks = 25; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> getSurroundingBlocksOrBuilderList() { return surroundingBlocks_; } + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -10210,7 +11034,10 @@ public java.util.List * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27 *
@@ -10218,10 +11045,14 @@ public int getSurroundingBlocksCount() { * repeated .BlockInfo surrounding_blocks = 25; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks( + int index) { return surroundingBlocks_.get(index); } + /** + * + * *
      * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
      * 
@@ -10229,15 +11060,17 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroun * repeated .BlockInfo surrounding_blocks = 25; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getSurroundingBlocksOrBuilder(int index) { return surroundingBlocks_.get(index); } public static final int EYE_IN_BLOCK_FIELD_NUMBER = 26; private boolean eyeInBlock_ = false; + /** * bool eye_in_block = 26; + * * @return The eyeInBlock. */ @java.lang.Override @@ -10247,8 +11080,10 @@ public boolean getEyeInBlock() { public static final int SUFFOCATING_FIELD_NUMBER = 27; private boolean suffocating_ = false; + /** * bool suffocating = 27; + * * @return The suffocating. */ @java.lang.Override @@ -10257,117 +11092,127 @@ public boolean getSuffocating() { } public static final int CHAT_MESSAGES_FIELD_NUMBER = 28; + @SuppressWarnings("serial") - private java.util.List chatMessages_; - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + private java.util.List + chatMessages_; + + /** repeated .ChatMessageInfo chat_messages = 28; */ @java.lang.Override - public java.util.List getChatMessagesList() { + public java.util.List + getChatMessagesList() { return chatMessages_; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> getChatMessagesOrBuilderList() { return chatMessages_; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ @java.lang.Override public int getChatMessagesCount() { return chatMessages_.size(); } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages( + int index) { return chatMessages_.get(index); } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder + getChatMessagesOrBuilder(int index) { return chatMessages_.get(index); } public static final int BIOME_INFO_FIELD_NUMBER = 29; private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo biomeInfo_; + /** * .BiomeInfo biome_info = 29; + * * @return Whether the biomeInfo field is set. */ @java.lang.Override public boolean hasBiomeInfo() { return ((bitField0_ & 0x00000002) != 0); } + /** * .BiomeInfo biome_info = 29; + * * @return The biomeInfo. */ @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo() { - return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_; + return biomeInfo_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() + : biomeInfo_; } - /** - * .BiomeInfo biome_info = 29; - */ + + /** .BiomeInfo biome_info = 29; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() { - return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_; + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder + getBiomeInfoOrBuilder() { + return biomeInfo_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() + : biomeInfo_; } public static final int NEARBY_BIOMES_FIELD_NUMBER = 30; + @SuppressWarnings("serial") - private java.util.List nearbyBiomes_; - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + private java.util.List + nearbyBiomes_; + + /** repeated .NearbyBiome nearby_biomes = 30; */ @java.lang.Override - public java.util.List getNearbyBiomesList() { + public java.util.List + getNearbyBiomesList() { return nearbyBiomes_; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> getNearbyBiomesOrBuilderList() { return nearbyBiomes_; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ @java.lang.Override public int getNearbyBiomesCount() { return nearbyBiomes_.size(); } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes( + int index) { return nearbyBiomes_.get(index); } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder + getNearbyBiomesOrBuilder(int index) { return nearbyBiomes_.get(index); } public static final int SUBMERGED_IN_WATER_FIELD_NUMBER = 31; private boolean submergedInWater_ = false; + /** * bool submerged_in_water = 31; + * * @return The submergedInWater. */ @java.lang.Override @@ -10377,8 +11222,10 @@ public boolean getSubmergedInWater() { public static final int IS_IN_LAVA_FIELD_NUMBER = 32; private boolean isInLava_ = false; + /** * bool is_in_lava = 32; + * * @return The isInLava. */ @java.lang.Override @@ -10388,8 +11235,10 @@ public boolean getIsInLava() { public static final int SUBMERGED_IN_LAVA_FIELD_NUMBER = 33; private boolean submergedInLava_ = false; + /** * bool submerged_in_lava = 33; + * * @return The submergedInLava. */ @java.lang.Override @@ -10398,50 +11247,52 @@ public boolean getSubmergedInLava() { } public static final int HEIGHT_INFO_FIELD_NUMBER = 34; + @SuppressWarnings("serial") - private java.util.List heightInfo_; - /** - * repeated .HeightInfo height_info = 34; - */ + private java.util.List + heightInfo_; + + /** repeated .HeightInfo height_info = 34; */ @java.lang.Override - public java.util.List getHeightInfoList() { + public java.util.List + getHeightInfoList() { return heightInfo_; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> getHeightInfoOrBuilderList() { return heightInfo_; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ @java.lang.Override public int getHeightInfoCount() { return heightInfo_.size(); } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo( + int index) { return heightInfo_.get(index); } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder + getHeightInfoOrBuilder(int index) { return heightInfo_.get(index); } public static final int IS_ON_GROUND_FIELD_NUMBER = 35; private boolean isOnGround_ = false; + /** * bool is_on_ground = 35; + * * @return The isOnGround. */ @java.lang.Override @@ -10451,8 +11302,10 @@ public boolean getIsOnGround() { public static final int IS_TOUCHING_WATER_FIELD_NUMBER = 36; private boolean isTouchingWater_ = false; + /** * bool is_touching_water = 36; + * * @return The isTouchingWater. */ @java.lang.Override @@ -10462,8 +11315,10 @@ public boolean getIsTouchingWater() { public static final int IPC_HANDLE_FIELD_NUMBER = 37; private com.google.protobuf.ByteString ipcHandle_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes ipc_handle = 37; + * * @return The ipcHandle. */ @java.lang.Override @@ -10472,6 +11327,7 @@ public com.google.protobuf.ByteString getIpcHandle() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10483,8 +11339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!image_.isEmpty()) { output.writeBytes(1, image_); } @@ -10527,29 +11382,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < statusEffects_.size(); i++) { output.writeMessage(14, statusEffects_.get(i)); } - com.google.protobuf.GeneratedMessage - .serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetKilledStatistics(), KilledStatisticsDefaultEntryHolder.defaultEntry, 15); - com.google.protobuf.GeneratedMessage - .serializeStringMapTo( - output, - internalGetMinedStatistics(), - MinedStatisticsDefaultEntryHolder.defaultEntry, - 16); - com.google.protobuf.GeneratedMessage - .serializeStringMapTo( - output, - internalGetMiscStatistics(), - MiscStatisticsDefaultEntryHolder.defaultEntry, - 17); + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetMinedStatistics(), MinedStatisticsDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetMiscStatistics(), MiscStatisticsDefaultEntryHolder.defaultEntry, 17); for (int i = 0; i < visibleEntities_.size(); i++) { output.writeMessage(18, visibleEntities_.get(i)); } - com.google.protobuf.GeneratedMessage - .serializeIntegerMapTo( + com.google.protobuf.GeneratedMessage.serializeIntegerMapTo( output, internalGetSurroundingEntities(), SurroundingEntitiesDefaultEntryHolder.defaultEntry, @@ -10618,175 +11463,151 @@ public int getSerializedSize() { size = 0; if (!image_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, image_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, image_); } if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, x_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, x_); } if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, y_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, y_); } if (java.lang.Double.doubleToRawLongBits(z_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, z_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, z_); } if (java.lang.Double.doubleToRawLongBits(yaw_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, yaw_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, yaw_); } if (java.lang.Double.doubleToRawLongBits(pitch_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(6, pitch_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, pitch_); } if (java.lang.Double.doubleToRawLongBits(health_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(7, health_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(7, health_); } if (java.lang.Double.doubleToRawLongBits(foodLevel_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, foodLevel_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, foodLevel_); } if (java.lang.Double.doubleToRawLongBits(saturationLevel_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(9, saturationLevel_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(9, saturationLevel_); } if (isDead_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, isDead_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, isDead_); } for (int i = 0; i < inventory_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, inventory_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, inventory_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getRaycastResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getRaycastResult()); } for (int i = 0; i < soundSubtitles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, soundSubtitles_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, soundSubtitles_.get(i)); } for (int i = 0; i < statusEffects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, statusEffects_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetKilledStatistics().getMap().entrySet()) { - com.google.protobuf.MapEntry - killedStatistics__ = KilledStatisticsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, killedStatistics__); - } - for (java.util.Map.Entry entry - : internalGetMinedStatistics().getMap().entrySet()) { - com.google.protobuf.MapEntry - minedStatistics__ = MinedStatisticsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, minedStatistics__); - } - for (java.util.Map.Entry entry - : internalGetMiscStatistics().getMap().entrySet()) { - com.google.protobuf.MapEntry - miscStatistics__ = MiscStatisticsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, miscStatistics__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, statusEffects_.get(i)); + } + for (java.util.Map.Entry entry : + internalGetKilledStatistics().getMap().entrySet()) { + com.google.protobuf.MapEntry killedStatistics__ = + KilledStatisticsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, killedStatistics__); + } + for (java.util.Map.Entry entry : + internalGetMinedStatistics().getMap().entrySet()) { + com.google.protobuf.MapEntry minedStatistics__ = + MinedStatisticsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, minedStatistics__); + } + for (java.util.Map.Entry entry : + internalGetMiscStatistics().getMap().entrySet()) { + com.google.protobuf.MapEntry miscStatistics__ = + MiscStatisticsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, miscStatistics__); } for (int i = 0; i < visibleEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, visibleEntities_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetSurroundingEntities().getMap().entrySet()) { - com.google.protobuf.MapEntry - surroundingEntities__ = SurroundingEntitiesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, surroundingEntities__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(18, visibleEntities_.get(i)); + } + for (java.util.Map.Entry< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + entry : internalGetSurroundingEntities().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + surroundingEntities__ = + SurroundingEntitiesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, surroundingEntities__); } if (bobberThrown_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, bobberThrown_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, bobberThrown_); } if (experience_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(21, experience_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(21, experience_); } if (worldTime_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(22, worldTime_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(22, worldTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(lastDeathMessage_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(23, lastDeathMessage_); } if (!image2_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(24, image2_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(24, image2_); } for (int i = 0; i < surroundingBlocks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, surroundingBlocks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(25, surroundingBlocks_.get(i)); } if (eyeInBlock_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(26, eyeInBlock_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, eyeInBlock_); } if (suffocating_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(27, suffocating_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(27, suffocating_); } for (int i = 0; i < chatMessages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, chatMessages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, chatMessages_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getBiomeInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getBiomeInfo()); } for (int i = 0; i < nearbyBiomes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, nearbyBiomes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, nearbyBiomes_.get(i)); } if (submergedInWater_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(31, submergedInWater_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(31, submergedInWater_); } if (isInLava_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(32, isInLava_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, isInLava_); } if (submergedInLava_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(33, submergedInLava_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(33, submergedInLava_); } for (int i = 0; i < heightInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(34, heightInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(34, heightInfo_.get(i)); } if (isOnGround_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(35, isOnGround_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(35, isOnGround_); } if (isTouchingWater_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(36, isTouchingWater_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(36, isTouchingWater_); } if (!ipcHandle_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(37, ipcHandle_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(37, ipcHandle_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -10796,101 +11617,68 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage)) { + if (!(obj + instanceof + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage)) { return super.equals(obj); } - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other = (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) obj; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other = + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) obj; - if (!getImage() - .equals(other.getImage())) return false; + if (!getImage().equals(other.getImage())) return false; if (java.lang.Double.doubleToLongBits(getX()) - != java.lang.Double.doubleToLongBits( - other.getX())) return false; + != java.lang.Double.doubleToLongBits(other.getX())) return false; if (java.lang.Double.doubleToLongBits(getY()) - != java.lang.Double.doubleToLongBits( - other.getY())) return false; + != java.lang.Double.doubleToLongBits(other.getY())) return false; if (java.lang.Double.doubleToLongBits(getZ()) - != java.lang.Double.doubleToLongBits( - other.getZ())) return false; + != java.lang.Double.doubleToLongBits(other.getZ())) return false; if (java.lang.Double.doubleToLongBits(getYaw()) - != java.lang.Double.doubleToLongBits( - other.getYaw())) return false; + != java.lang.Double.doubleToLongBits(other.getYaw())) return false; if (java.lang.Double.doubleToLongBits(getPitch()) - != java.lang.Double.doubleToLongBits( - other.getPitch())) return false; + != java.lang.Double.doubleToLongBits(other.getPitch())) return false; if (java.lang.Double.doubleToLongBits(getHealth()) - != java.lang.Double.doubleToLongBits( - other.getHealth())) return false; + != java.lang.Double.doubleToLongBits(other.getHealth())) return false; if (java.lang.Double.doubleToLongBits(getFoodLevel()) - != java.lang.Double.doubleToLongBits( - other.getFoodLevel())) return false; + != java.lang.Double.doubleToLongBits(other.getFoodLevel())) return false; if (java.lang.Double.doubleToLongBits(getSaturationLevel()) - != java.lang.Double.doubleToLongBits( - other.getSaturationLevel())) return false; - if (getIsDead() - != other.getIsDead()) return false; - if (!getInventoryList() - .equals(other.getInventoryList())) return false; + != java.lang.Double.doubleToLongBits(other.getSaturationLevel())) return false; + if (getIsDead() != other.getIsDead()) return false; + if (!getInventoryList().equals(other.getInventoryList())) return false; if (hasRaycastResult() != other.hasRaycastResult()) return false; if (hasRaycastResult()) { - if (!getRaycastResult() - .equals(other.getRaycastResult())) return false; - } - if (!getSoundSubtitlesList() - .equals(other.getSoundSubtitlesList())) return false; - if (!getStatusEffectsList() - .equals(other.getStatusEffectsList())) return false; - if (!internalGetKilledStatistics().equals( - other.internalGetKilledStatistics())) return false; - if (!internalGetMinedStatistics().equals( - other.internalGetMinedStatistics())) return false; - if (!internalGetMiscStatistics().equals( - other.internalGetMiscStatistics())) return false; - if (!getVisibleEntitiesList() - .equals(other.getVisibleEntitiesList())) return false; - if (!internalGetSurroundingEntities().equals( - other.internalGetSurroundingEntities())) return false; - if (getBobberThrown() - != other.getBobberThrown()) return false; - if (getExperience() - != other.getExperience()) return false; - if (getWorldTime() - != other.getWorldTime()) return false; - if (!getLastDeathMessage() - .equals(other.getLastDeathMessage())) return false; - if (!getImage2() - .equals(other.getImage2())) return false; - if (!getSurroundingBlocksList() - .equals(other.getSurroundingBlocksList())) return false; - if (getEyeInBlock() - != other.getEyeInBlock()) return false; - if (getSuffocating() - != other.getSuffocating()) return false; - if (!getChatMessagesList() - .equals(other.getChatMessagesList())) return false; + if (!getRaycastResult().equals(other.getRaycastResult())) return false; + } + if (!getSoundSubtitlesList().equals(other.getSoundSubtitlesList())) return false; + if (!getStatusEffectsList().equals(other.getStatusEffectsList())) return false; + if (!internalGetKilledStatistics().equals(other.internalGetKilledStatistics())) return false; + if (!internalGetMinedStatistics().equals(other.internalGetMinedStatistics())) return false; + if (!internalGetMiscStatistics().equals(other.internalGetMiscStatistics())) return false; + if (!getVisibleEntitiesList().equals(other.getVisibleEntitiesList())) return false; + if (!internalGetSurroundingEntities().equals(other.internalGetSurroundingEntities())) + return false; + if (getBobberThrown() != other.getBobberThrown()) return false; + if (getExperience() != other.getExperience()) return false; + if (getWorldTime() != other.getWorldTime()) return false; + if (!getLastDeathMessage().equals(other.getLastDeathMessage())) return false; + if (!getImage2().equals(other.getImage2())) return false; + if (!getSurroundingBlocksList().equals(other.getSurroundingBlocksList())) return false; + if (getEyeInBlock() != other.getEyeInBlock()) return false; + if (getSuffocating() != other.getSuffocating()) return false; + if (!getChatMessagesList().equals(other.getChatMessagesList())) return false; if (hasBiomeInfo() != other.hasBiomeInfo()) return false; if (hasBiomeInfo()) { - if (!getBiomeInfo() - .equals(other.getBiomeInfo())) return false; - } - if (!getNearbyBiomesList() - .equals(other.getNearbyBiomesList())) return false; - if (getSubmergedInWater() - != other.getSubmergedInWater()) return false; - if (getIsInLava() - != other.getIsInLava()) return false; - if (getSubmergedInLava() - != other.getSubmergedInLava()) return false; - if (!getHeightInfoList() - .equals(other.getHeightInfoList())) return false; - if (getIsOnGround() - != other.getIsOnGround()) return false; - if (getIsTouchingWater() - != other.getIsTouchingWater()) return false; - if (!getIpcHandle() - .equals(other.getIpcHandle())) return false; + if (!getBiomeInfo().equals(other.getBiomeInfo())) return false; + } + if (!getNearbyBiomesList().equals(other.getNearbyBiomesList())) return false; + if (getSubmergedInWater() != other.getSubmergedInWater()) return false; + if (getIsInLava() != other.getIsInLava()) return false; + if (getSubmergedInLava() != other.getSubmergedInLava()) return false; + if (!getHeightInfoList().equals(other.getHeightInfoList())) return false; + if (getIsOnGround() != other.getIsOnGround()) return false; + if (getIsTouchingWater() != other.getIsTouchingWater()) return false; + if (!getIpcHandle().equals(other.getIpcHandle())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10905,32 +11693,43 @@ public int hashCode() { hash = (37 * hash) + IMAGE_FIELD_NUMBER; hash = (53 * hash) + getImage().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getX())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getX())); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getY())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getY())); hash = (37 * hash) + Z_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getZ())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getZ())); hash = (37 * hash) + YAW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getYaw())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getYaw())); hash = (37 * hash) + PITCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPitch())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPitch())); hash = (37 * hash) + HEALTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getHealth())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getHealth())); hash = (37 * hash) + FOOD_LEVEL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFoodLevel())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFoodLevel())); hash = (37 * hash) + SATURATION_LEVEL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSaturationLevel())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSaturationLevel())); hash = (37 * hash) + IS_DEAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDead()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDead()); if (getInventoryCount() > 0) { hash = (37 * hash) + INVENTORY_FIELD_NUMBER; hash = (53 * hash) + getInventoryList().hashCode(); @@ -10968,13 +11767,11 @@ public int hashCode() { hash = (53 * hash) + internalGetSurroundingEntities().hashCode(); } hash = (37 * hash) + BOBBER_THROWN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBobberThrown()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBobberThrown()); hash = (37 * hash) + EXPERIENCE_FIELD_NUMBER; hash = (53 * hash) + getExperience(); hash = (37 * hash) + WORLD_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getWorldTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWorldTime()); hash = (37 * hash) + LAST_DEATH_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getLastDeathMessage().hashCode(); hash = (37 * hash) + IMAGE_2_FIELD_NUMBER; @@ -10984,11 +11781,9 @@ public int hashCode() { hash = (53 * hash) + getSurroundingBlocksList().hashCode(); } hash = (37 * hash) + EYE_IN_BLOCK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEyeInBlock()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEyeInBlock()); hash = (37 * hash) + SUFFOCATING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuffocating()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuffocating()); if (getChatMessagesCount() > 0) { hash = (37 * hash) + CHAT_MESSAGES_FIELD_NUMBER; hash = (53 * hash) + getChatMessagesList().hashCode(); @@ -11002,24 +11797,19 @@ public int hashCode() { hash = (53 * hash) + getNearbyBiomesList().hashCode(); } hash = (37 * hash) + SUBMERGED_IN_WATER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSubmergedInWater()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSubmergedInWater()); hash = (37 * hash) + IS_IN_LAVA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsInLava()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsInLava()); hash = (37 * hash) + SUBMERGED_IN_LAVA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSubmergedInLava()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSubmergedInLava()); if (getHeightInfoCount() > 0) { hash = (37 * hash) + HEIGHT_INFO_FIELD_NUMBER; hash = (53 * hash) + getHeightInfoList().hashCode(); } hash = (37 * hash) + IS_ON_GROUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsOnGround()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsOnGround()); hash = (37 * hash) + IS_TOUCHING_WATER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsTouchingWater()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTouchingWater()); hash = (37 * hash) + IPC_HANDLE_FIELD_NUMBER; hash = (53 * hash) + getIpcHandle().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -11027,108 +11817,117 @@ public int hashCode() { return hash; } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage prototype) { + + public static Builder newBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code ObservationSpaceMessage} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder implements + + /** Protobuf type {@code ObservationSpaceMessage} */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements // @@protoc_insertion_point(builder_implements:ObservationSpaceMessage) com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -11144,10 +11943,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 19: return internalGetSurroundingEntities(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -11161,31 +11960,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 19: return internalGetMutableSurroundingEntities(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_fieldAccessorTable + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder.class); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.class, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.Builder + .class); } - // Construct using com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.newBuilder() + // Construct using + // com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getInventoryFieldBuilder(); getRaycastResultFieldBuilder(); getSoundSubtitlesFieldBuilder(); @@ -11198,6 +12000,7 @@ private void maybeForceBuilderInitialization() { getHeightInfoFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -11300,19 +12103,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.internal_static_ObservationSpaceMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .internal_static_ObservationSpaceMessage_descriptor; } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() { - return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + getDefaultInstanceForType() { + return com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + .getDefaultInstance(); } @java.lang.Override public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage build() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = buildPartial(); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11320,16 +12126,23 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMess } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage buildPartial() { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage(this); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + buildPartial() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } - if (bitField1_ != 0) { buildPartial1(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } + if (bitField1_ != 0) { + buildPartial1(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { + private void buildPartialRepeatedFields( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { if (inventoryBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { inventory_ = java.util.Collections.unmodifiableList(inventory_); @@ -11404,7 +12217,8 @@ private void buildPartialRepeatedFields(com.kyhsgeekcode.minecraftenv.proto.Obse } } - private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { + private void buildPartial0( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.image_ = image_; @@ -11438,9 +12252,8 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000800) != 0)) { - result.raycastResult_ = raycastResultBuilder_ == null - ? raycastResult_ - : raycastResultBuilder_.build(); + result.raycastResult_ = + raycastResultBuilder_ == null ? raycastResult_ : raycastResultBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00004000) != 0)) { @@ -11456,7 +12269,9 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. result.miscStatistics_.makeImmutable(); } if (((from_bitField0_ & 0x00040000) != 0)) { - result.surroundingEntities_ = internalGetSurroundingEntities().build(SurroundingEntitiesDefaultEntryHolder.defaultEntry); + result.surroundingEntities_ = + internalGetSurroundingEntities() + .build(SurroundingEntitiesDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x00080000) != 0)) { result.bobberThrown_ = bobberThrown_; @@ -11480,9 +12295,7 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. result.suffocating_ = suffocating_; } if (((from_bitField0_ & 0x10000000) != 0)) { - result.biomeInfo_ = biomeInfoBuilder_ == null - ? biomeInfo_ - : biomeInfoBuilder_.build(); + result.biomeInfo_ = biomeInfoBuilder_ == null ? biomeInfo_ : biomeInfoBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x40000000) != 0)) { @@ -11494,7 +12307,8 @@ private void buildPartial0(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. result.bitField0_ |= to_bitField0_; } - private void buildPartial1(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { + private void buildPartial1( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage result) { int from_bitField1_ = bitField1_; if (((from_bitField1_ & 0x00000001) != 0)) { result.submergedInLava_ = submergedInLava_; @@ -11512,16 +12326,22 @@ private void buildPartial1(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace. @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) { - return mergeFrom((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage)other); + if (other + instanceof + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) { + return mergeFrom( + (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other) { - if (other == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage.getDefaultInstance()) return this; + public Builder mergeFrom( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage other) { + if (other + == com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + .getDefaultInstance()) return this; if (other.getImage() != com.google.protobuf.ByteString.EMPTY) { setImage(other.getImage()); } @@ -11570,9 +12390,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob inventoryBuilder_ = null; inventory_ = other.inventory_; bitField0_ = (bitField0_ & ~0x00000400); - inventoryBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getInventoryFieldBuilder() : null; + inventoryBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getInventoryFieldBuilder() + : null; } else { inventoryBuilder_.addAllMessages(other.inventory_); } @@ -11599,9 +12420,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob soundSubtitlesBuilder_ = null; soundSubtitles_ = other.soundSubtitles_; bitField0_ = (bitField0_ & ~0x00001000); - soundSubtitlesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getSoundSubtitlesFieldBuilder() : null; + soundSubtitlesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getSoundSubtitlesFieldBuilder() + : null; } else { soundSubtitlesBuilder_.addAllMessages(other.soundSubtitles_); } @@ -11625,22 +12447,20 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob statusEffectsBuilder_ = null; statusEffects_ = other.statusEffects_; bitField0_ = (bitField0_ & ~0x00002000); - statusEffectsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getStatusEffectsFieldBuilder() : null; + statusEffectsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getStatusEffectsFieldBuilder() + : null; } else { statusEffectsBuilder_.addAllMessages(other.statusEffects_); } } } - internalGetMutableKilledStatistics().mergeFrom( - other.internalGetKilledStatistics()); + internalGetMutableKilledStatistics().mergeFrom(other.internalGetKilledStatistics()); bitField0_ |= 0x00004000; - internalGetMutableMinedStatistics().mergeFrom( - other.internalGetMinedStatistics()); + internalGetMutableMinedStatistics().mergeFrom(other.internalGetMinedStatistics()); bitField0_ |= 0x00008000; - internalGetMutableMiscStatistics().mergeFrom( - other.internalGetMiscStatistics()); + internalGetMutableMiscStatistics().mergeFrom(other.internalGetMiscStatistics()); bitField0_ |= 0x00010000; if (visibleEntitiesBuilder_ == null) { if (!other.visibleEntities_.isEmpty()) { @@ -11660,16 +12480,16 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob visibleEntitiesBuilder_ = null; visibleEntities_ = other.visibleEntities_; bitField0_ = (bitField0_ & ~0x00020000); - visibleEntitiesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getVisibleEntitiesFieldBuilder() : null; + visibleEntitiesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getVisibleEntitiesFieldBuilder() + : null; } else { visibleEntitiesBuilder_.addAllMessages(other.visibleEntities_); } } } - internalGetMutableSurroundingEntities().mergeFrom( - other.internalGetSurroundingEntities()); + internalGetMutableSurroundingEntities().mergeFrom(other.internalGetSurroundingEntities()); bitField0_ |= 0x00040000; if (other.getBobberThrown() != false) { setBobberThrown(other.getBobberThrown()); @@ -11706,9 +12526,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob surroundingBlocksBuilder_ = null; surroundingBlocks_ = other.surroundingBlocks_; bitField0_ = (bitField0_ & ~0x01000000); - surroundingBlocksBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getSurroundingBlocksFieldBuilder() : null; + surroundingBlocksBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getSurroundingBlocksFieldBuilder() + : null; } else { surroundingBlocksBuilder_.addAllMessages(other.surroundingBlocks_); } @@ -11738,9 +12559,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob chatMessagesBuilder_ = null; chatMessages_ = other.chatMessages_; bitField0_ = (bitField0_ & ~0x08000000); - chatMessagesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getChatMessagesFieldBuilder() : null; + chatMessagesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getChatMessagesFieldBuilder() + : null; } else { chatMessagesBuilder_.addAllMessages(other.chatMessages_); } @@ -11767,9 +12589,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob nearbyBiomesBuilder_ = null; nearbyBiomes_ = other.nearbyBiomes_; bitField0_ = (bitField0_ & ~0x20000000); - nearbyBiomesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getNearbyBiomesFieldBuilder() : null; + nearbyBiomesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getNearbyBiomesFieldBuilder() + : null; } else { nearbyBiomesBuilder_.addAllMessages(other.nearbyBiomes_); } @@ -11802,9 +12625,10 @@ public Builder mergeFrom(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.Ob heightInfoBuilder_ = null; heightInfo_ = other.heightInfo_; bitField1_ = (bitField1_ & ~0x00000002); - heightInfoBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getHeightInfoFieldBuilder() : null; + heightInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? getHeightInfoFieldBuilder() + : null; } else { heightInfoBuilder_.addAllMessages(other.heightInfo_); } @@ -11845,281 +12669,332 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - image_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - x_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 25: { - y_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - case 33: { - z_ = input.readDouble(); - bitField0_ |= 0x00000008; - break; - } // case 33 - case 41: { - yaw_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 49: { - pitch_ = input.readDouble(); - bitField0_ |= 0x00000020; - break; - } // case 49 - case 57: { - health_ = input.readDouble(); - bitField0_ |= 0x00000040; - break; - } // case 57 - case 65: { - foodLevel_ = input.readDouble(); - bitField0_ |= 0x00000080; - break; - } // case 65 - case 73: { - saturationLevel_ = input.readDouble(); - bitField0_ |= 0x00000100; - break; - } // case 73 - case 80: { - isDead_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.parser(), - extensionRegistry); - if (inventoryBuilder_ == null) { - ensureInventoryIsMutable(); - inventory_.add(m); - } else { - inventoryBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: { - input.readMessage( - getRaycastResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.parser(), - extensionRegistry); - if (soundSubtitlesBuilder_ == null) { - ensureSoundSubtitlesIsMutable(); - soundSubtitles_.add(m); - } else { - soundSubtitlesBuilder_.addMessage(m); - } - break; - } // case 106 - case 114: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.parser(), - extensionRegistry); - if (statusEffectsBuilder_ == null) { - ensureStatusEffectsIsMutable(); - statusEffects_.add(m); - } else { - statusEffectsBuilder_.addMessage(m); - } - break; - } // case 114 - case 122: { - com.google.protobuf.MapEntry - killedStatistics__ = input.readMessage( - KilledStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableKilledStatistics().getMutableMap().put( - killedStatistics__.getKey(), killedStatistics__.getValue()); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - com.google.protobuf.MapEntry - minedStatistics__ = input.readMessage( - MinedStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMinedStatistics().getMutableMap().put( - minedStatistics__.getKey(), minedStatistics__.getValue()); - bitField0_ |= 0x00008000; - break; - } // case 130 - case 138: { - com.google.protobuf.MapEntry - miscStatistics__ = input.readMessage( - MiscStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMiscStatistics().getMutableMap().put( - miscStatistics__.getKey(), miscStatistics__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 138 - case 146: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(), - extensionRegistry); - if (visibleEntitiesBuilder_ == null) { - ensureVisibleEntitiesIsMutable(); - visibleEntities_.add(m); - } else { - visibleEntitiesBuilder_.addMessage(m); - } - break; - } // case 146 - case 154: { - com.google.protobuf.MapEntry - surroundingEntities__ = input.readMessage( - SurroundingEntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableSurroundingEntities().ensureBuilderMap().put( - surroundingEntities__.getKey(), surroundingEntities__.getValue()); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 160: { - bobberThrown_ = input.readBool(); - bitField0_ |= 0x00080000; - break; - } // case 160 - case 168: { - experience_ = input.readInt32(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 176: { - worldTime_ = input.readInt64(); - bitField0_ |= 0x00200000; - break; - } // case 176 - case 186: { - lastDeathMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00400000; - break; - } // case 186 - case 194: { - image2_ = input.readBytes(); - bitField0_ |= 0x00800000; - break; - } // case 194 - case 202: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.parser(), - extensionRegistry); - if (surroundingBlocksBuilder_ == null) { - ensureSurroundingBlocksIsMutable(); - surroundingBlocks_.add(m); - } else { - surroundingBlocksBuilder_.addMessage(m); - } - break; - } // case 202 - case 208: { - eyeInBlock_ = input.readBool(); - bitField0_ |= 0x02000000; - break; - } // case 208 - case 216: { - suffocating_ = input.readBool(); - bitField0_ |= 0x04000000; - break; - } // case 216 - case 226: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.parser(), - extensionRegistry); - if (chatMessagesBuilder_ == null) { - ensureChatMessagesIsMutable(); - chatMessages_.add(m); - } else { - chatMessagesBuilder_.addMessage(m); - } - break; - } // case 226 - case 234: { - input.readMessage( - getBiomeInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x10000000; - break; - } // case 234 - case 242: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.parser(), - extensionRegistry); - if (nearbyBiomesBuilder_ == null) { - ensureNearbyBiomesIsMutable(); - nearbyBiomes_.add(m); - } else { - nearbyBiomesBuilder_.addMessage(m); - } - break; - } // case 242 - case 248: { - submergedInWater_ = input.readBool(); - bitField0_ |= 0x40000000; - break; - } // case 248 - case 256: { - isInLava_ = input.readBool(); - bitField0_ |= 0x80000000; - break; - } // case 256 - case 264: { - submergedInLava_ = input.readBool(); - bitField1_ |= 0x00000001; - break; - } // case 264 - case 274: { - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo m = - input.readMessage( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.parser(), - extensionRegistry); - if (heightInfoBuilder_ == null) { - ensureHeightInfoIsMutable(); - heightInfo_.add(m); - } else { - heightInfoBuilder_.addMessage(m); - } - break; - } // case 274 - case 280: { - isOnGround_ = input.readBool(); - bitField1_ |= 0x00000004; - break; - } // case 280 - case 288: { - isTouchingWater_ = input.readBool(); - bitField1_ |= 0x00000008; - break; - } // case 288 - case 298: { - ipcHandle_ = input.readBytes(); - bitField1_ |= 0x00000010; - break; - } // case 298 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + image_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + x_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 25: + { + y_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: + { + z_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + yaw_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: + { + pitch_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + case 57: + { + health_ = input.readDouble(); + bitField0_ |= 0x00000040; + break; + } // case 57 + case 65: + { + foodLevel_ = input.readDouble(); + bitField0_ |= 0x00000080; + break; + } // case 65 + case 73: + { + saturationLevel_ = input.readDouble(); + bitField0_ |= 0x00000100; + break; + } // case 73 + case 80: + { + isDead_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.parser(), + extensionRegistry); + if (inventoryBuilder_ == null) { + ensureInventoryIsMutable(); + inventory_.add(m); + } else { + inventoryBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: + { + input.readMessage(getRaycastResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.parser(), + extensionRegistry); + if (soundSubtitlesBuilder_ == null) { + ensureSoundSubtitlesIsMutable(); + soundSubtitles_.add(m); + } else { + soundSubtitlesBuilder_.addMessage(m); + } + break; + } // case 106 + case 114: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + .parser(), + extensionRegistry); + if (statusEffectsBuilder_ == null) { + ensureStatusEffectsIsMutable(); + statusEffects_.add(m); + } else { + statusEffectsBuilder_.addMessage(m); + } + break; + } // case 114 + case 122: + { + com.google.protobuf.MapEntry + killedStatistics__ = + input.readMessage( + KilledStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableKilledStatistics() + .getMutableMap() + .put(killedStatistics__.getKey(), killedStatistics__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: + { + com.google.protobuf.MapEntry + minedStatistics__ = + input.readMessage( + MinedStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMinedStatistics() + .getMutableMap() + .put(minedStatistics__.getKey(), minedStatistics__.getValue()); + bitField0_ |= 0x00008000; + break; + } // case 130 + case 138: + { + com.google.protobuf.MapEntry + miscStatistics__ = + input.readMessage( + MiscStatisticsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMiscStatistics() + .getMutableMap() + .put(miscStatistics__.getKey(), miscStatistics__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 138 + case 146: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.parser(), + extensionRegistry); + if (visibleEntitiesBuilder_ == null) { + ensureVisibleEntitiesIsMutable(); + visibleEntities_.add(m); + } else { + visibleEntitiesBuilder_.addMessage(m); + } + break; + } // case 146 + case 154: + { + com.google.protobuf.MapEntry< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistance> + surroundingEntities__ = + input.readMessage( + SurroundingEntitiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableSurroundingEntities() + .ensureBuilderMap() + .put(surroundingEntities__.getKey(), surroundingEntities__.getValue()); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 160: + { + bobberThrown_ = input.readBool(); + bitField0_ |= 0x00080000; + break; + } // case 160 + case 168: + { + experience_ = input.readInt32(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: + { + worldTime_ = input.readInt64(); + bitField0_ |= 0x00200000; + break; + } // case 176 + case 186: + { + lastDeathMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00400000; + break; + } // case 186 + case 194: + { + image2_ = input.readBytes(); + bitField0_ |= 0x00800000; + break; + } // case 194 + case 202: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.parser(), + extensionRegistry); + if (surroundingBlocksBuilder_ == null) { + ensureSurroundingBlocksIsMutable(); + surroundingBlocks_.add(m); + } else { + surroundingBlocksBuilder_.addMessage(m); + } + break; + } // case 202 + case 208: + { + eyeInBlock_ = input.readBool(); + bitField0_ |= 0x02000000; + break; + } // case 208 + case 216: + { + suffocating_ = input.readBool(); + bitField0_ |= 0x04000000; + break; + } // case 216 + case 226: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .parser(), + extensionRegistry); + if (chatMessagesBuilder_ == null) { + ensureChatMessagesIsMutable(); + chatMessages_.add(m); + } else { + chatMessagesBuilder_.addMessage(m); + } + break; + } // case 226 + case 234: + { + input.readMessage(getBiomeInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x10000000; + break; + } // case 234 + case 242: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.parser(), + extensionRegistry); + if (nearbyBiomesBuilder_ == null) { + ensureNearbyBiomesIsMutable(); + nearbyBiomes_.add(m); + } else { + nearbyBiomesBuilder_.addMessage(m); + } + break; + } // case 242 + case 248: + { + submergedInWater_ = input.readBool(); + bitField0_ |= 0x40000000; + break; + } // case 248 + case 256: + { + isInLava_ = input.readBool(); + bitField0_ |= 0x80000000; + break; + } // case 256 + case 264: + { + submergedInLava_ = input.readBool(); + bitField1_ |= 0x00000001; + break; + } // case 264 + case 274: + { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo m = + input.readMessage( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.parser(), + extensionRegistry); + if (heightInfoBuilder_ == null) { + ensureHeightInfoIsMutable(); + heightInfo_.add(m); + } else { + heightInfoBuilder_.addMessage(m); + } + break; + } // case 274 + case 280: + { + isOnGround_ = input.readBool(); + bitField1_ |= 0x00000004; + break; + } // case 280 + case 288: + { + isTouchingWater_ = input.readBool(); + bitField1_ |= 0x00000008; + break; + } // case 288 + case 298: + { + ipcHandle_ = input.readBytes(); + bitField1_ |= 0x00000010; + break; + } // case 298 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12129,32 +13004,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int bitField1_; private com.google.protobuf.ByteString image_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes image = 1; + * * @return The image. */ @java.lang.Override public com.google.protobuf.ByteString getImage() { return image_; } + /** * bytes image = 1; + * * @param value The image to set. * @return This builder for chaining. */ public Builder setImage(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + /** * bytes image = 1; + * * @return This builder for chaining. */ public Builder clearImage() { @@ -12164,17 +13048,21 @@ public Builder clearImage() { return this; } - private double x_ ; + private double x_; + /** * double x = 2; + * * @return The x. */ @java.lang.Override public double getX() { return x_; } + /** * double x = 2; + * * @param value The x to set. * @return This builder for chaining. */ @@ -12185,8 +13073,10 @@ public Builder setX(double value) { onChanged(); return this; } + /** * double x = 2; + * * @return This builder for chaining. */ public Builder clearX() { @@ -12196,17 +13086,21 @@ public Builder clearX() { return this; } - private double y_ ; + private double y_; + /** * double y = 3; + * * @return The y. */ @java.lang.Override public double getY() { return y_; } + /** * double y = 3; + * * @param value The y to set. * @return This builder for chaining. */ @@ -12217,8 +13111,10 @@ public Builder setY(double value) { onChanged(); return this; } + /** * double y = 3; + * * @return This builder for chaining. */ public Builder clearY() { @@ -12228,17 +13124,21 @@ public Builder clearY() { return this; } - private double z_ ; + private double z_; + /** * double z = 4; + * * @return The z. */ @java.lang.Override public double getZ() { return z_; } + /** * double z = 4; + * * @param value The z to set. * @return This builder for chaining. */ @@ -12249,8 +13149,10 @@ public Builder setZ(double value) { onChanged(); return this; } + /** * double z = 4; + * * @return This builder for chaining. */ public Builder clearZ() { @@ -12260,17 +13162,21 @@ public Builder clearZ() { return this; } - private double yaw_ ; + private double yaw_; + /** * double yaw = 5; + * * @return The yaw. */ @java.lang.Override public double getYaw() { return yaw_; } + /** * double yaw = 5; + * * @param value The yaw to set. * @return This builder for chaining. */ @@ -12281,8 +13187,10 @@ public Builder setYaw(double value) { onChanged(); return this; } + /** * double yaw = 5; + * * @return This builder for chaining. */ public Builder clearYaw() { @@ -12292,17 +13200,21 @@ public Builder clearYaw() { return this; } - private double pitch_ ; + private double pitch_; + /** * double pitch = 6; + * * @return The pitch. */ @java.lang.Override public double getPitch() { return pitch_; } + /** * double pitch = 6; + * * @param value The pitch to set. * @return This builder for chaining. */ @@ -12313,8 +13225,10 @@ public Builder setPitch(double value) { onChanged(); return this; } + /** * double pitch = 6; + * * @return This builder for chaining. */ public Builder clearPitch() { @@ -12324,17 +13238,21 @@ public Builder clearPitch() { return this; } - private double health_ ; + private double health_; + /** * double health = 7; + * * @return The health. */ @java.lang.Override public double getHealth() { return health_; } + /** * double health = 7; + * * @param value The health to set. * @return This builder for chaining. */ @@ -12345,8 +13263,10 @@ public Builder setHealth(double value) { onChanged(); return this; } + /** * double health = 7; + * * @return This builder for chaining. */ public Builder clearHealth() { @@ -12356,17 +13276,21 @@ public Builder clearHealth() { return this; } - private double foodLevel_ ; + private double foodLevel_; + /** * double food_level = 8; + * * @return The foodLevel. */ @java.lang.Override public double getFoodLevel() { return foodLevel_; } + /** * double food_level = 8; + * * @param value The foodLevel to set. * @return This builder for chaining. */ @@ -12377,8 +13301,10 @@ public Builder setFoodLevel(double value) { onChanged(); return this; } + /** * double food_level = 8; + * * @return This builder for chaining. */ public Builder clearFoodLevel() { @@ -12388,17 +13314,21 @@ public Builder clearFoodLevel() { return this; } - private double saturationLevel_ ; + private double saturationLevel_; + /** * double saturation_level = 9; + * * @return The saturationLevel. */ @java.lang.Override public double getSaturationLevel() { return saturationLevel_; } + /** * double saturation_level = 9; + * * @param value The saturationLevel to set. * @return This builder for chaining. */ @@ -12409,8 +13339,10 @@ public Builder setSaturationLevel(double value) { onChanged(); return this; } + /** * double saturation_level = 9; + * * @return This builder for chaining. */ public Builder clearSaturationLevel() { @@ -12420,17 +13352,21 @@ public Builder clearSaturationLevel() { return this; } - private boolean isDead_ ; + private boolean isDead_; + /** * bool is_dead = 10; + * * @return The isDead. */ @java.lang.Override public boolean getIsDead() { return isDead_; } + /** * bool is_dead = 10; + * * @param value The isDead to set. * @return This builder for chaining. */ @@ -12441,8 +13377,10 @@ public Builder setIsDead(boolean value) { onChanged(); return this; } + /** * bool is_dead = 10; + * * @return This builder for chaining. */ public Builder clearIsDead() { @@ -12452,31 +13390,35 @@ public Builder clearIsDead() { return this; } - private java.util.List inventory_ = - java.util.Collections.emptyList(); + private java.util.List + inventory_ = java.util.Collections.emptyList(); + private void ensureInventoryIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - inventory_ = new java.util.ArrayList(inventory_); + inventory_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack>(inventory_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> inventoryBuilder_; - - /** - * repeated .ItemStack inventory = 11; - */ - public java.util.List getInventoryList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> + inventoryBuilder_; + + /** repeated .ItemStack inventory = 11; */ + public java.util.List + getInventoryList() { if (inventoryBuilder_ == null) { return java.util.Collections.unmodifiableList(inventory_); } else { return inventoryBuilder_.getMessageList(); } } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public int getInventoryCount() { if (inventoryBuilder_ == null) { return inventory_.size(); @@ -12484,19 +13426,18 @@ public int getInventoryCount() { return inventoryBuilder_.getCount(); } } - /** - * repeated .ItemStack inventory = 11; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory(int index) { + + /** repeated .ItemStack inventory = 11; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack getInventory( + int index) { if (inventoryBuilder_ == null) { return inventory_.get(index); } else { return inventoryBuilder_.getMessage(index); } } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder setInventory( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) { if (inventoryBuilder_ == null) { @@ -12511,11 +13452,11 @@ public Builder setInventory( } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder setInventory( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) { if (inventoryBuilder_ == null) { ensureInventoryIsMutable(); inventory_.set(index, builderForValue.build()); @@ -12525,10 +13466,10 @@ public Builder setInventory( } return this; } - /** - * repeated .ItemStack inventory = 11; - */ - public Builder addInventory(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) { + + /** repeated .ItemStack inventory = 11; */ + public Builder addInventory( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) { if (inventoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12541,9 +13482,8 @@ public Builder addInventory(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder addInventory( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack value) { if (inventoryBuilder_ == null) { @@ -12558,9 +13498,8 @@ public Builder addInventory( } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder addInventory( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) { if (inventoryBuilder_ == null) { @@ -12572,11 +13511,11 @@ public Builder addInventory( } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder addInventory( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder builderForValue) { if (inventoryBuilder_ == null) { ensureInventoryIsMutable(); inventory_.add(index, builderForValue.build()); @@ -12586,24 +13525,23 @@ public Builder addInventory( } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder addAllInventory( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack> + values) { if (inventoryBuilder_ == null) { ensureInventoryIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventory_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventory_); onChanged(); } else { inventoryBuilder_.addAllMessages(values); } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder clearInventory() { if (inventoryBuilder_ == null) { inventory_ = java.util.Collections.emptyList(); @@ -12614,9 +13552,8 @@ public Builder clearInventory() { } return this; } - /** - * repeated .ItemStack inventory = 11; - */ + + /** repeated .ItemStack inventory = 11; */ public Builder removeInventory(int index) { if (inventoryBuilder_ == null) { ensureInventoryIsMutable(); @@ -12627,66 +13564,71 @@ public Builder removeInventory(int index) { } return this; } - /** - * repeated .ItemStack inventory = 11; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder getInventoryBuilder( - int index) { + + /** repeated .ItemStack inventory = 11; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder + getInventoryBuilder(int index) { return getInventoryFieldBuilder().getBuilder(index); } - /** - * repeated .ItemStack inventory = 11; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder getInventoryOrBuilder( - int index) { + + /** repeated .ItemStack inventory = 11; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder + getInventoryOrBuilder(int index) { if (inventoryBuilder_ == null) { - return inventory_.get(index); } else { + return inventory_.get(index); + } else { return inventoryBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .ItemStack inventory = 11; - */ - public java.util.List - getInventoryOrBuilderList() { + + /** repeated .ItemStack inventory = 11; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> + getInventoryOrBuilderList() { if (inventoryBuilder_ != null) { return inventoryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(inventory_); } } - /** - * repeated .ItemStack inventory = 11; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder() { - return getInventoryFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance()); + + /** repeated .ItemStack inventory = 11; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder + addInventoryBuilder() { + return getInventoryFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + .getDefaultInstance()); } - /** - * repeated .ItemStack inventory = 11; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder addInventoryBuilder( - int index) { - return getInventoryFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.getDefaultInstance()); + + /** repeated .ItemStack inventory = 11; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder + addInventoryBuilder(int index) { + return getInventoryFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack + .getDefaultInstance()); } - /** - * repeated .ItemStack inventory = 11; - */ - public java.util.List - getInventoryBuilderList() { + + /** repeated .ItemStack inventory = 11; */ + public java.util.List + getInventoryBuilderList() { return getInventoryFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder> getInventoryFieldBuilder() { if (inventoryBuilder_ == null) { - inventoryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder>( - inventory_, - ((bitField0_ & 0x00000400) != 0), - getParentForChildren(), - isClean()); + inventoryBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStackOrBuilder>( + inventory_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); inventory_ = null; } return inventoryBuilder_; @@ -12694,29 +13636,38 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ItemStack.Builder ad private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult raycastResult_; private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> raycastResultBuilder_; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> + raycastResultBuilder_; + /** * .HitResult raycast_result = 12; + * * @return Whether the raycastResult field is set. */ public boolean hasRaycastResult() { return ((bitField0_ & 0x00000800) != 0); } + /** * .HitResult raycast_result = 12; + * * @return The raycastResult. */ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult getRaycastResult() { if (raycastResultBuilder_ == null) { - return raycastResult_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_; + return raycastResult_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() + : raycastResult_; } else { return raycastResultBuilder_.getMessage(); } } - /** - * .HitResult raycast_result = 12; - */ - public Builder setRaycastResult(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) { + + /** .HitResult raycast_result = 12; */ + public Builder setRaycastResult( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) { if (raycastResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12729,9 +13680,8 @@ public Builder setRaycastResult(com.kyhsgeekcode.minecraftenv.proto.ObservationS onChanged(); return this; } - /** - * .HitResult raycast_result = 12; - */ + + /** .HitResult raycast_result = 12; */ public Builder setRaycastResult( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder builderForValue) { if (raycastResultBuilder_ == null) { @@ -12743,14 +13693,16 @@ public Builder setRaycastResult( onChanged(); return this; } - /** - * .HitResult raycast_result = 12; - */ - public Builder mergeRaycastResult(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) { + + /** .HitResult raycast_result = 12; */ + public Builder mergeRaycastResult( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult value) { if (raycastResultBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - raycastResult_ != null && - raycastResult_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && raycastResult_ != null + && raycastResult_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult + .getDefaultInstance()) { getRaycastResultBuilder().mergeFrom(value); } else { raycastResult_ = value; @@ -12764,9 +13716,8 @@ public Builder mergeRaycastResult(com.kyhsgeekcode.minecraftenv.proto.Observatio } return this; } - /** - * .HitResult raycast_result = 12; - */ + + /** .HitResult raycast_result = 12; */ public Builder clearRaycastResult() { bitField0_ = (bitField0_ & ~0x00000800); raycastResult_ = null; @@ -12777,67 +13728,74 @@ public Builder clearRaycastResult() { onChanged(); return this; } - /** - * .HitResult raycast_result = 12; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder getRaycastResultBuilder() { + + /** .HitResult raycast_result = 12; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder + getRaycastResultBuilder() { bitField0_ |= 0x00000800; onChanged(); return getRaycastResultFieldBuilder().getBuilder(); } - /** - * .HitResult raycast_result = 12; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder getRaycastResultOrBuilder() { + + /** .HitResult raycast_result = 12; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder + getRaycastResultOrBuilder() { if (raycastResultBuilder_ != null) { return raycastResultBuilder_.getMessageOrBuilder(); } else { - return raycastResult_ == null ? - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() : raycastResult_; - } - } - /** - * .HitResult raycast_result = 12; - */ + return raycastResult_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.getDefaultInstance() + : raycastResult_; + } + } + + /** .HitResult raycast_result = 12; */ private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder> getRaycastResultFieldBuilder() { if (raycastResultBuilder_ == null) { - raycastResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder>( - getRaycastResult(), - getParentForChildren(), - isClean()); + raycastResultBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResult.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HitResultOrBuilder>( + getRaycastResult(), getParentForChildren(), isClean()); raycastResult_ = null; } return raycastResultBuilder_; } - private java.util.List soundSubtitles_ = - java.util.Collections.emptyList(); + private java.util.List + soundSubtitles_ = java.util.Collections.emptyList(); + private void ensureSoundSubtitlesIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { - soundSubtitles_ = new java.util.ArrayList(soundSubtitles_); + soundSubtitles_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry>(soundSubtitles_); bitField0_ |= 0x00001000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> soundSubtitlesBuilder_; - - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public java.util.List getSoundSubtitlesList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> + soundSubtitlesBuilder_; + + /** repeated .SoundEntry sound_subtitles = 13; */ + public java.util.List + getSoundSubtitlesList() { if (soundSubtitlesBuilder_ == null) { return java.util.Collections.unmodifiableList(soundSubtitles_); } else { return soundSubtitlesBuilder_.getMessageList(); } } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public int getSoundSubtitlesCount() { if (soundSubtitlesBuilder_ == null) { return soundSubtitles_.size(); @@ -12845,19 +13803,18 @@ public int getSoundSubtitlesCount() { return soundSubtitlesBuilder_.getCount(); } } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles(int index) { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry getSoundSubtitles( + int index) { if (soundSubtitlesBuilder_ == null) { return soundSubtitles_.get(index); } else { return soundSubtitlesBuilder_.getMessage(index); } } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder setSoundSubtitles( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) { if (soundSubtitlesBuilder_ == null) { @@ -12872,11 +13829,11 @@ public Builder setSoundSubtitles( } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder setSoundSubtitles( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) { if (soundSubtitlesBuilder_ == null) { ensureSoundSubtitlesIsMutable(); soundSubtitles_.set(index, builderForValue.build()); @@ -12886,10 +13843,10 @@ public Builder setSoundSubtitles( } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public Builder addSoundSubtitles(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public Builder addSoundSubtitles( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) { if (soundSubtitlesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12902,9 +13859,8 @@ public Builder addSoundSubtitles(com.kyhsgeekcode.minecraftenv.proto.Observation } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder addSoundSubtitles( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry value) { if (soundSubtitlesBuilder_ == null) { @@ -12919,9 +13875,8 @@ public Builder addSoundSubtitles( } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder addSoundSubtitles( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) { if (soundSubtitlesBuilder_ == null) { @@ -12933,11 +13888,11 @@ public Builder addSoundSubtitles( } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder addSoundSubtitles( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder builderForValue) { if (soundSubtitlesBuilder_ == null) { ensureSoundSubtitlesIsMutable(); soundSubtitles_.add(index, builderForValue.build()); @@ -12947,24 +13902,23 @@ public Builder addSoundSubtitles( } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder addAllSoundSubtitles( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry> + values) { if (soundSubtitlesBuilder_ == null) { ensureSoundSubtitlesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, soundSubtitles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, soundSubtitles_); onChanged(); } else { soundSubtitlesBuilder_.addAllMessages(values); } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder clearSoundSubtitles() { if (soundSubtitlesBuilder_ == null) { soundSubtitles_ = java.util.Collections.emptyList(); @@ -12975,9 +13929,8 @@ public Builder clearSoundSubtitles() { } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ + + /** repeated .SoundEntry sound_subtitles = 13; */ public Builder removeSoundSubtitles(int index) { if (soundSubtitlesBuilder_ == null) { ensureSoundSubtitlesIsMutable(); @@ -12988,62 +13941,70 @@ public Builder removeSoundSubtitles(int index) { } return this; } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder getSoundSubtitlesBuilder( - int index) { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder + getSoundSubtitlesBuilder(int index) { return getSoundSubtitlesFieldBuilder().getBuilder(index); } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder getSoundSubtitlesOrBuilder( - int index) { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder + getSoundSubtitlesOrBuilder(int index) { if (soundSubtitlesBuilder_ == null) { - return soundSubtitles_.get(index); } else { + return soundSubtitles_.get(index); + } else { return soundSubtitlesBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public java.util.List - getSoundSubtitlesOrBuilderList() { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> + getSoundSubtitlesOrBuilderList() { if (soundSubtitlesBuilder_ != null) { return soundSubtitlesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(soundSubtitles_); } } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder() { - return getSoundSubtitlesFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance()); + + /** repeated .SoundEntry sound_subtitles = 13; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder + addSoundSubtitlesBuilder() { + return getSoundSubtitlesFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + .getDefaultInstance()); } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder addSoundSubtitlesBuilder( - int index) { - return getSoundSubtitlesFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.getDefaultInstance()); + + /** repeated .SoundEntry sound_subtitles = 13; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder + addSoundSubtitlesBuilder(int index) { + return getSoundSubtitlesFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry + .getDefaultInstance()); } - /** - * repeated .SoundEntry sound_subtitles = 13; - */ - public java.util.List - getSoundSubtitlesBuilderList() { + + /** repeated .SoundEntry sound_subtitles = 13; */ + public java.util.List + getSoundSubtitlesBuilderList() { return getSoundSubtitlesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder> getSoundSubtitlesFieldBuilder() { if (soundSubtitlesBuilder_ == null) { - soundSubtitlesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder>( + soundSubtitlesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntryOrBuilder>( soundSubtitles_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), @@ -13053,31 +14014,36 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.SoundEntry.Builder a return soundSubtitlesBuilder_; } - private java.util.List statusEffects_ = - java.util.Collections.emptyList(); + private java.util.List + statusEffects_ = java.util.Collections.emptyList(); + private void ensureStatusEffectsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { - statusEffects_ = new java.util.ArrayList(statusEffects_); + statusEffects_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect>( + statusEffects_); bitField0_ |= 0x00002000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> statusEffectsBuilder_; - - /** - * repeated .StatusEffect status_effects = 14; - */ - public java.util.List getStatusEffectsList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> + statusEffectsBuilder_; + + /** repeated .StatusEffect status_effects = 14; */ + public java.util.List + getStatusEffectsList() { if (statusEffectsBuilder_ == null) { return java.util.Collections.unmodifiableList(statusEffects_); } else { return statusEffectsBuilder_.getMessageList(); } } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public int getStatusEffectsCount() { if (statusEffectsBuilder_ == null) { return statusEffects_.size(); @@ -13085,19 +14051,18 @@ public int getStatusEffectsCount() { return statusEffectsBuilder_.getCount(); } } - /** - * repeated .StatusEffect status_effects = 14; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects(int index) { + + /** repeated .StatusEffect status_effects = 14; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect getStatusEffects( + int index) { if (statusEffectsBuilder_ == null) { return statusEffects_.get(index); } else { return statusEffectsBuilder_.getMessage(index); } } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder setStatusEffects( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) { if (statusEffectsBuilder_ == null) { @@ -13112,11 +14077,12 @@ public Builder setStatusEffects( } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder setStatusEffects( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + builderForValue) { if (statusEffectsBuilder_ == null) { ensureStatusEffectsIsMutable(); statusEffects_.set(index, builderForValue.build()); @@ -13126,10 +14092,10 @@ public Builder setStatusEffects( } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ - public Builder addStatusEffects(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) { + + /** repeated .StatusEffect status_effects = 14; */ + public Builder addStatusEffects( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) { if (statusEffectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13142,9 +14108,8 @@ public Builder addStatusEffects(com.kyhsgeekcode.minecraftenv.proto.ObservationS } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder addStatusEffects( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect value) { if (statusEffectsBuilder_ == null) { @@ -13159,11 +14124,11 @@ public Builder addStatusEffects( } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder addStatusEffects( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + builderForValue) { if (statusEffectsBuilder_ == null) { ensureStatusEffectsIsMutable(); statusEffects_.add(builderForValue.build()); @@ -13173,11 +14138,12 @@ public Builder addStatusEffects( } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder addStatusEffects( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + builderForValue) { if (statusEffectsBuilder_ == null) { ensureStatusEffectsIsMutable(); statusEffects_.add(index, builderForValue.build()); @@ -13187,24 +14153,23 @@ public Builder addStatusEffects( } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder addAllStatusEffects( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect> + values) { if (statusEffectsBuilder_ == null) { ensureStatusEffectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statusEffects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statusEffects_); onChanged(); } else { statusEffectsBuilder_.addAllMessages(values); } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder clearStatusEffects() { if (statusEffectsBuilder_ == null) { statusEffects_ = java.util.Collections.emptyList(); @@ -13215,9 +14180,8 @@ public Builder clearStatusEffects() { } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ + + /** repeated .StatusEffect status_effects = 14; */ public Builder removeStatusEffects(int index) { if (statusEffectsBuilder_ == null) { ensureStatusEffectsIsMutable(); @@ -13228,62 +14192,71 @@ public Builder removeStatusEffects(int index) { } return this; } - /** - * repeated .StatusEffect status_effects = 14; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder getStatusEffectsBuilder( - int index) { + + /** repeated .StatusEffect status_effects = 14; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + getStatusEffectsBuilder(int index) { return getStatusEffectsFieldBuilder().getBuilder(index); } - /** - * repeated .StatusEffect status_effects = 14; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder getStatusEffectsOrBuilder( - int index) { + + /** repeated .StatusEffect status_effects = 14; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder + getStatusEffectsOrBuilder(int index) { if (statusEffectsBuilder_ == null) { - return statusEffects_.get(index); } else { + return statusEffects_.get(index); + } else { return statusEffectsBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .StatusEffect status_effects = 14; - */ - public java.util.List - getStatusEffectsOrBuilderList() { + + /** repeated .StatusEffect status_effects = 14; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> + getStatusEffectsOrBuilderList() { if (statusEffectsBuilder_ != null) { return statusEffectsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statusEffects_); } } - /** - * repeated .StatusEffect status_effects = 14; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder() { - return getStatusEffectsFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance()); + + /** repeated .StatusEffect status_effects = 14; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + addStatusEffectsBuilder() { + return getStatusEffectsFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + .getDefaultInstance()); } - /** - * repeated .StatusEffect status_effects = 14; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder addStatusEffectsBuilder( - int index) { - return getStatusEffectsFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.getDefaultInstance()); + + /** repeated .StatusEffect status_effects = 14; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder + addStatusEffectsBuilder(int index) { + return getStatusEffectsFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect + .getDefaultInstance()); } - /** - * repeated .StatusEffect status_effects = 14; - */ - public java.util.List - getStatusEffectsBuilderList() { + + /** repeated .StatusEffect status_effects = 14; */ + public java.util.List< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder> + getStatusEffectsBuilderList() { return getStatusEffectsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder> getStatusEffectsFieldBuilder() { if (statusEffectsBuilder_ == null) { - statusEffectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder>( + statusEffectsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffectOrBuilder>( statusEffects_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), @@ -13293,8 +14266,8 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder return statusEffectsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> killedStatistics_; + private com.google.protobuf.MapField killedStatistics_; + private com.google.protobuf.MapField internalGetKilledStatistics() { if (killedStatistics_ == null) { @@ -13303,11 +14276,13 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder } return killedStatistics_; } + private com.google.protobuf.MapField internalGetMutableKilledStatistics() { if (killedStatistics_ == null) { - killedStatistics_ = com.google.protobuf.MapField.newMapField( - KilledStatisticsDefaultEntryHolder.defaultEntry); + killedStatistics_ = + com.google.protobuf.MapField.newMapField( + KilledStatisticsDefaultEntryHolder.defaultEntry); } if (!killedStatistics_.isMutable()) { killedStatistics_ = killedStatistics_.copy(); @@ -13316,52 +14291,50 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.StatusEffect.Builder onChanged(); return killedStatistics_; } + public int getKilledStatisticsCount() { return internalGetKilledStatistics().getMap().size(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public boolean containsKilledStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKilledStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKilledStatistics().getMap().containsKey(key); } - /** - * Use {@link #getKilledStatisticsMap()} instead. - */ + + /** Use {@link #getKilledStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getKilledStatistics() { return getKilledStatisticsMap(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override public java.util.Map getKilledStatisticsMap() { return internalGetKilledStatistics().getMap(); } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public int getKilledStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getKilledStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetKilledStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ @java.lang.Override - public int getKilledStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getKilledStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetKilledStatistics().getMap(); if (!map.containsKey(key)) { @@ -13369,57 +14342,50 @@ public int getKilledStatisticsOrThrow( } return map.get(key); } + public Builder clearKilledStatistics() { bitField0_ = (bitField0_ & ~0x00004000); - internalGetMutableKilledStatistics().getMutableMap() - .clear(); + internalGetMutableKilledStatistics().getMutableMap().clear(); return this; } - /** - * map<string, int32> killed_statistics = 15; - */ - public Builder removeKilledStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKilledStatistics().getMutableMap() - .remove(key); + + /** map<string, int32> killed_statistics = 15; */ + public Builder removeKilledStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableKilledStatistics().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableKilledStatistics() { + public java.util.Map getMutableKilledStatistics() { bitField0_ |= 0x00004000; return internalGetMutableKilledStatistics().getMutableMap(); } - /** - * map<string, int32> killed_statistics = 15; - */ - public Builder putKilledStatistics( - java.lang.String key, - int value) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKilledStatistics().getMutableMap() - .put(key, value); + /** map<string, int32> killed_statistics = 15; */ + public Builder putKilledStatistics(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableKilledStatistics().getMutableMap().put(key, value); bitField0_ |= 0x00004000; return this; } - /** - * map<string, int32> killed_statistics = 15; - */ + + /** map<string, int32> killed_statistics = 15; */ public Builder putAllKilledStatistics( java.util.Map values) { - internalGetMutableKilledStatistics().getMutableMap() - .putAll(values); + internalGetMutableKilledStatistics().getMutableMap().putAll(values); bitField0_ |= 0x00004000; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> minedStatistics_; + private com.google.protobuf.MapField minedStatistics_; + private com.google.protobuf.MapField internalGetMinedStatistics() { if (minedStatistics_ == null) { @@ -13428,11 +14394,13 @@ public Builder putAllKilledStatistics( } return minedStatistics_; } + private com.google.protobuf.MapField internalGetMutableMinedStatistics() { if (minedStatistics_ == null) { - minedStatistics_ = com.google.protobuf.MapField.newMapField( - MinedStatisticsDefaultEntryHolder.defaultEntry); + minedStatistics_ = + com.google.protobuf.MapField.newMapField( + MinedStatisticsDefaultEntryHolder.defaultEntry); } if (!minedStatistics_.isMutable()) { minedStatistics_ = minedStatistics_.copy(); @@ -13441,52 +14409,50 @@ public Builder putAllKilledStatistics( onChanged(); return minedStatistics_; } + public int getMinedStatisticsCount() { return internalGetMinedStatistics().getMap().size(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public boolean containsMinedStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMinedStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMinedStatistics().getMap().containsKey(key); } - /** - * Use {@link #getMinedStatisticsMap()} instead. - */ + + /** Use {@link #getMinedStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMinedStatistics() { return getMinedStatisticsMap(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override public java.util.Map getMinedStatisticsMap() { return internalGetMinedStatistics().getMap(); } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public int getMinedStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMinedStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMinedStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ @java.lang.Override - public int getMinedStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMinedStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMinedStatistics().getMap(); if (!map.containsKey(key)) { @@ -13494,57 +14460,50 @@ public int getMinedStatisticsOrThrow( } return map.get(key); } + public Builder clearMinedStatistics() { bitField0_ = (bitField0_ & ~0x00008000); - internalGetMutableMinedStatistics().getMutableMap() - .clear(); + internalGetMutableMinedStatistics().getMutableMap().clear(); return this; } - /** - * map<string, int32> mined_statistics = 16; - */ - public Builder removeMinedStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMinedStatistics().getMutableMap() - .remove(key); + + /** map<string, int32> mined_statistics = 16; */ + public Builder removeMinedStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMinedStatistics().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMinedStatistics() { + public java.util.Map getMutableMinedStatistics() { bitField0_ |= 0x00008000; return internalGetMutableMinedStatistics().getMutableMap(); } - /** - * map<string, int32> mined_statistics = 16; - */ - public Builder putMinedStatistics( - java.lang.String key, - int value) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMinedStatistics().getMutableMap() - .put(key, value); + /** map<string, int32> mined_statistics = 16; */ + public Builder putMinedStatistics(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableMinedStatistics().getMutableMap().put(key, value); bitField0_ |= 0x00008000; return this; } - /** - * map<string, int32> mined_statistics = 16; - */ + + /** map<string, int32> mined_statistics = 16; */ public Builder putAllMinedStatistics( java.util.Map values) { - internalGetMutableMinedStatistics().getMutableMap() - .putAll(values); + internalGetMutableMinedStatistics().getMutableMap().putAll(values); bitField0_ |= 0x00008000; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> miscStatistics_; + private com.google.protobuf.MapField miscStatistics_; + private com.google.protobuf.MapField internalGetMiscStatistics() { if (miscStatistics_ == null) { @@ -13553,11 +14512,13 @@ public Builder putAllMinedStatistics( } return miscStatistics_; } + private com.google.protobuf.MapField internalGetMutableMiscStatistics() { if (miscStatistics_ == null) { - miscStatistics_ = com.google.protobuf.MapField.newMapField( - MiscStatisticsDefaultEntryHolder.defaultEntry); + miscStatistics_ = + com.google.protobuf.MapField.newMapField( + MiscStatisticsDefaultEntryHolder.defaultEntry); } if (!miscStatistics_.isMutable()) { miscStatistics_ = miscStatistics_.copy(); @@ -13566,52 +14527,50 @@ public Builder putAllMinedStatistics( onChanged(); return miscStatistics_; } + public int getMiscStatisticsCount() { return internalGetMiscStatistics().getMap().size(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public boolean containsMiscStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMiscStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMiscStatistics().getMap().containsKey(key); } - /** - * Use {@link #getMiscStatisticsMap()} instead. - */ + + /** Use {@link #getMiscStatisticsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMiscStatistics() { return getMiscStatisticsMap(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override public java.util.Map getMiscStatisticsMap() { return internalGetMiscStatistics().getMap(); } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public int getMiscStatisticsOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMiscStatisticsOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMiscStatistics().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ @java.lang.Override - public int getMiscStatisticsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMiscStatisticsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMiscStatistics().getMap(); if (!map.containsKey(key)) { @@ -13619,80 +14578,78 @@ public int getMiscStatisticsOrThrow( } return map.get(key); } + public Builder clearMiscStatistics() { bitField0_ = (bitField0_ & ~0x00010000); - internalGetMutableMiscStatistics().getMutableMap() - .clear(); + internalGetMutableMiscStatistics().getMutableMap().clear(); return this; } - /** - * map<string, int32> misc_statistics = 17; - */ - public Builder removeMiscStatistics( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMiscStatistics().getMutableMap() - .remove(key); + + /** map<string, int32> misc_statistics = 17; */ + public Builder removeMiscStatistics(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMiscStatistics().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMiscStatistics() { + public java.util.Map getMutableMiscStatistics() { bitField0_ |= 0x00010000; return internalGetMutableMiscStatistics().getMutableMap(); } - /** - * map<string, int32> misc_statistics = 17; - */ - public Builder putMiscStatistics( - java.lang.String key, - int value) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMiscStatistics().getMutableMap() - .put(key, value); + /** map<string, int32> misc_statistics = 17; */ + public Builder putMiscStatistics(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableMiscStatistics().getMutableMap().put(key, value); bitField0_ |= 0x00010000; return this; } - /** - * map<string, int32> misc_statistics = 17; - */ + + /** map<string, int32> misc_statistics = 17; */ public Builder putAllMiscStatistics( java.util.Map values) { - internalGetMutableMiscStatistics().getMutableMap() - .putAll(values); + internalGetMutableMiscStatistics().getMutableMap().putAll(values); bitField0_ |= 0x00010000; return this; } - private java.util.List visibleEntities_ = - java.util.Collections.emptyList(); + private java.util.List + visibleEntities_ = java.util.Collections.emptyList(); + private void ensureVisibleEntitiesIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { - visibleEntities_ = new java.util.ArrayList(visibleEntities_); + visibleEntities_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo>( + visibleEntities_); bitField0_ |= 0x00020000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> visibleEntitiesBuilder_; - - /** - * repeated .EntityInfo visible_entities = 18; - */ - public java.util.List getVisibleEntitiesList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + visibleEntitiesBuilder_; + + /** repeated .EntityInfo visible_entities = 18; */ + public java.util.List + getVisibleEntitiesList() { if (visibleEntitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(visibleEntities_); } else { return visibleEntitiesBuilder_.getMessageList(); } } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public int getVisibleEntitiesCount() { if (visibleEntitiesBuilder_ == null) { return visibleEntities_.size(); @@ -13700,19 +14657,18 @@ public int getVisibleEntitiesCount() { return visibleEntitiesBuilder_.getCount(); } } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities(int index) { + + /** repeated .EntityInfo visible_entities = 18; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo getVisibleEntities( + int index) { if (visibleEntitiesBuilder_ == null) { return visibleEntities_.get(index); } else { return visibleEntitiesBuilder_.getMessage(index); } } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder setVisibleEntities( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (visibleEntitiesBuilder_ == null) { @@ -13727,11 +14683,11 @@ public Builder setVisibleEntities( } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder setVisibleEntities( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (visibleEntitiesBuilder_ == null) { ensureVisibleEntitiesIsMutable(); visibleEntities_.set(index, builderForValue.build()); @@ -13741,10 +14697,10 @@ public Builder setVisibleEntities( } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public Builder addVisibleEntities(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { + + /** repeated .EntityInfo visible_entities = 18; */ + public Builder addVisibleEntities( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (visibleEntitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13757,9 +14713,8 @@ public Builder addVisibleEntities(com.kyhsgeekcode.minecraftenv.proto.Observatio } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder addVisibleEntities( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo value) { if (visibleEntitiesBuilder_ == null) { @@ -13774,9 +14729,8 @@ public Builder addVisibleEntities( } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder addVisibleEntities( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (visibleEntitiesBuilder_ == null) { @@ -13788,11 +14742,11 @@ public Builder addVisibleEntities( } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder addVisibleEntities( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder builderForValue) { if (visibleEntitiesBuilder_ == null) { ensureVisibleEntitiesIsMutable(); visibleEntities_.add(index, builderForValue.build()); @@ -13802,24 +14756,23 @@ public Builder addVisibleEntities( } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder addAllVisibleEntities( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo> + values) { if (visibleEntitiesBuilder_ == null) { ensureVisibleEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, visibleEntities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, visibleEntities_); onChanged(); } else { visibleEntitiesBuilder_.addAllMessages(values); } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder clearVisibleEntities() { if (visibleEntitiesBuilder_ == null) { visibleEntities_ = java.util.Collections.emptyList(); @@ -13830,9 +14783,8 @@ public Builder clearVisibleEntities() { } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ + + /** repeated .EntityInfo visible_entities = 18; */ public Builder removeVisibleEntities(int index) { if (visibleEntitiesBuilder_ == null) { ensureVisibleEntitiesIsMutable(); @@ -13843,62 +14795,70 @@ public Builder removeVisibleEntities(int index) { } return this; } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder getVisibleEntitiesBuilder( - int index) { + + /** repeated .EntityInfo visible_entities = 18; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + getVisibleEntitiesBuilder(int index) { return getVisibleEntitiesFieldBuilder().getBuilder(index); } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder getVisibleEntitiesOrBuilder( - int index) { + + /** repeated .EntityInfo visible_entities = 18; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder + getVisibleEntitiesOrBuilder(int index) { if (visibleEntitiesBuilder_ == null) { - return visibleEntities_.get(index); } else { + return visibleEntities_.get(index); + } else { return visibleEntitiesBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public java.util.List - getVisibleEntitiesOrBuilderList() { + + /** repeated .EntityInfo visible_entities = 18; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + getVisibleEntitiesOrBuilderList() { if (visibleEntitiesBuilder_ != null) { return visibleEntitiesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(visibleEntities_); } } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder() { - return getVisibleEntitiesFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()); + + /** repeated .EntityInfo visible_entities = 18; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + addVisibleEntitiesBuilder() { + return getVisibleEntitiesFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .getDefaultInstance()); } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder addVisibleEntitiesBuilder( - int index) { - return getVisibleEntitiesFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.getDefaultInstance()); + + /** repeated .EntityInfo visible_entities = 18; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder + addVisibleEntitiesBuilder(int index) { + return getVisibleEntitiesFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo + .getDefaultInstance()); } - /** - * repeated .EntityInfo visible_entities = 18; - */ - public java.util.List - getVisibleEntitiesBuilderList() { + + /** repeated .EntityInfo visible_entities = 18; */ + public java.util.List + getVisibleEntitiesBuilderList() { return getVisibleEntitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder> getVisibleEntitiesFieldBuilder() { if (visibleEntitiesBuilder_ == null) { - visibleEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( + visibleEntitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfoOrBuilder>( visibleEntities_, ((bitField0_ & 0x00020000) != 0), getParentForChildren(), @@ -13908,172 +14868,238 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntityInfo.Builder a return visibleEntitiesBuilder_; } - private static final class SurroundingEntitiesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + private static final class SurroundingEntitiesConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> { @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance build(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder val) { - if (val instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) val; } - return ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder) val).build(); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance build( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder + val) { + if (val + instanceof + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { + return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) + val; + } + return ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + .Builder) + val) + .build(); } @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { + public com.google.protobuf.MapEntry< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + defaultEntry() { return SurroundingEntitiesDefaultEntryHolder.defaultEntry; } - }; - private static final SurroundingEntitiesConverter surroundingEntitiesConverter = new SurroundingEntitiesConverter(); + } + ; + + private static final SurroundingEntitiesConverter surroundingEntitiesConverter = + new SurroundingEntitiesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder> + surroundingEntities_; private com.google.protobuf.MapFieldBuilder< - java.lang.Integer, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder> surroundingEntities_; - private com.google.protobuf.MapFieldBuilder + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder> internalGetSurroundingEntities() { if (surroundingEntities_ == null) { return new com.google.protobuf.MapFieldBuilder<>(surroundingEntitiesConverter); } return surroundingEntities_; } - private com.google.protobuf.MapFieldBuilder + + private com.google.protobuf.MapFieldBuilder< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder> internalGetMutableSurroundingEntities() { if (surroundingEntities_ == null) { - surroundingEntities_ = new com.google.protobuf.MapFieldBuilder<>(surroundingEntitiesConverter); + surroundingEntities_ = + new com.google.protobuf.MapFieldBuilder<>(surroundingEntitiesConverter); } bitField0_ |= 0x00040000; onChanged(); return surroundingEntities_; } + public int getSurroundingEntitiesCount() { return internalGetSurroundingEntities().ensureBuilderMap().size(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public boolean containsSurroundingEntities( - int key) { + public boolean containsSurroundingEntities(int key) { return internalGetSurroundingEntities().ensureBuilderMap().containsKey(key); } - /** - * Use {@link #getSurroundingEntitiesMap()} instead. - */ + + /** Use {@link #getSurroundingEntitiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getSurroundingEntities() { + public java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntities() { return getSurroundingEntitiesMap(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public java.util.Map getSurroundingEntitiesMap() { + public java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + getSurroundingEntitiesMap() { return internalGetSurroundingEntities().getImmutableMap(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - @java.lang.Override - public /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrDefault( - int key, - /* nullable */ -com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance defaultValue) { - java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap(); - return map.containsKey(key) ? surroundingEntitiesConverter.build(map.get(key)) : defaultValue; - } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance getSurroundingEntitiesOrThrow( - int key) { - - java.util.Map map = internalGetMutableSurroundingEntities().ensureBuilderMap(); + public /* nullable */ com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistance + getSurroundingEntitiesOrDefault( + int key, + /* nullable */ + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + defaultValue) { + + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistanceOrBuilder> + map = internalGetMutableSurroundingEntities().ensureBuilderMap(); + return map.containsKey(key) + ? surroundingEntitiesConverter.build(map.get(key)) + : defaultValue; + } + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + @java.lang.Override + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + getSurroundingEntitiesOrThrow(int key) { + + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistanceOrBuilder> + map = internalGetMutableSurroundingEntities().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return surroundingEntitiesConverter.build(map.get(key)); } + public Builder clearSurroundingEntities() { bitField0_ = (bitField0_ & ~0x00040000); internalGetMutableSurroundingEntities().clear(); return this; } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - public Builder removeSurroundingEntities( - int key) { - internalGetMutableSurroundingEntities().ensureBuilderMap() - .remove(key); + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + public Builder removeSurroundingEntities(int key) { + + internalGetMutableSurroundingEntities().ensureBuilderMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> getMutableSurroundingEntities() { bitField0_ |= 0x00040000; return internalGetMutableSurroundingEntities().ensureMessageMap(); } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ public Builder putSurroundingEntities( int key, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance value) { - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableSurroundingEntities().ensureBuilderMap() - .put(key, value); + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableSurroundingEntities().ensureBuilderMap().put(key, value); bitField0_ |= 0x00040000; return this; } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ public Builder putAllSurroundingEntities( - java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + values) { + for (java.util.Map.Entry< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance> + e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableSurroundingEntities().ensureBuilderMap() - .putAll(values); + internalGetMutableSurroundingEntities().ensureBuilderMap().putAll(values); bitField0_ |= 0x00040000; return this; } - /** - * map<int32, .EntitiesWithinDistance> surrounding_entities = 19; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder putSurroundingEntitiesBuilderIfAbsent( - int key) { - java.util.Map builderMap = internalGetMutableSurroundingEntities().ensureBuilderMap(); - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder entry = builderMap.get(key); + + /** map<int32, .EntitiesWithinDistance> surrounding_entities = 19; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder + putSurroundingEntitiesBuilderIfAbsent(int key) { + java.util.Map< + java.lang.Integer, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .EntitiesWithinDistanceOrBuilder> + builderMap = internalGetMutableSurroundingEntities().ensureBuilderMap(); + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistanceOrBuilder entry = + builderMap.get(key); if (entry == null) { - entry = com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.newBuilder(); + entry = + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance + .newBuilder(); builderMap.put(key, entry); } - if (entry instanceof com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { - entry = ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) entry).toBuilder(); + if (entry + instanceof + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) { + entry = + ((com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance) entry) + .toBuilder(); builderMap.put(key, entry); } - return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder) entry; + return (com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.EntitiesWithinDistance.Builder) + entry; } - private boolean bobberThrown_ ; + private boolean bobberThrown_; + /** * bool bobber_thrown = 20; + * * @return The bobberThrown. */ @java.lang.Override public boolean getBobberThrown() { return bobberThrown_; } + /** * bool bobber_thrown = 20; + * * @param value The bobberThrown to set. * @return This builder for chaining. */ @@ -14084,8 +15110,10 @@ public Builder setBobberThrown(boolean value) { onChanged(); return this; } + /** * bool bobber_thrown = 20; + * * @return This builder for chaining. */ public Builder clearBobberThrown() { @@ -14095,17 +15123,21 @@ public Builder clearBobberThrown() { return this; } - private int experience_ ; + private int experience_; + /** * int32 experience = 21; + * * @return The experience. */ @java.lang.Override public int getExperience() { return experience_; } + /** * int32 experience = 21; + * * @param value The experience to set. * @return This builder for chaining. */ @@ -14116,8 +15148,10 @@ public Builder setExperience(int value) { onChanged(); return this; } + /** * int32 experience = 21; + * * @return This builder for chaining. */ public Builder clearExperience() { @@ -14127,17 +15161,21 @@ public Builder clearExperience() { return this; } - private long worldTime_ ; + private long worldTime_; + /** * int64 world_time = 22; + * * @return The worldTime. */ @java.lang.Override public long getWorldTime() { return worldTime_; } + /** * int64 world_time = 22; + * * @param value The worldTime to set. * @return This builder for chaining. */ @@ -14148,8 +15186,10 @@ public Builder setWorldTime(long value) { onChanged(); return this; } + /** * int64 world_time = 22; + * * @return This builder for chaining. */ public Builder clearWorldTime() { @@ -14160,15 +15200,16 @@ public Builder clearWorldTime() { } private java.lang.Object lastDeathMessage_ = ""; + /** * string last_death_message = 23; + * * @return The lastDeathMessage. */ public java.lang.String getLastDeathMessage() { java.lang.Object ref = lastDeathMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastDeathMessage_ = s; return s; @@ -14176,38 +15217,43 @@ public java.lang.String getLastDeathMessage() { return (java.lang.String) ref; } } + /** * string last_death_message = 23; + * * @return The bytes for lastDeathMessage. */ - public com.google.protobuf.ByteString - getLastDeathMessageBytes() { + public com.google.protobuf.ByteString getLastDeathMessageBytes() { java.lang.Object ref = lastDeathMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastDeathMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * string last_death_message = 23; + * * @param value The lastDeathMessage to set. * @return This builder for chaining. */ - public Builder setLastDeathMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLastDeathMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } lastDeathMessage_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } + /** * string last_death_message = 23; + * * @return This builder for chaining. */ public Builder clearLastDeathMessage() { @@ -14216,14 +15262,17 @@ public Builder clearLastDeathMessage() { onChanged(); return this; } + /** * string last_death_message = 23; + * * @param value The bytes for lastDeathMessage to set. * @return This builder for chaining. */ - public Builder setLastDeathMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLastDeathMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); lastDeathMessage_ = value; bitField0_ |= 0x00400000; @@ -14232,28 +15281,36 @@ public Builder setLastDeathMessageBytes( } private com.google.protobuf.ByteString image2_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes image_2 = 24; + * * @return The image2. */ @java.lang.Override public com.google.protobuf.ByteString getImage2() { return image2_; } + /** * bytes image_2 = 24; + * * @param value The image2 to set. * @return This builder for chaining. */ public Builder setImage2(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } image2_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } + /** * bytes image_2 = 24; + * * @return This builder for chaining. */ public Builder clearImage2() { @@ -14263,33 +15320,46 @@ public Builder clearImage2() { return this; } - private java.util.List surroundingBlocks_ = - java.util.Collections.emptyList(); + private java.util.List + surroundingBlocks_ = java.util.Collections.emptyList(); + private void ensureSurroundingBlocksIsMutable() { if (!((bitField0_ & 0x01000000) != 0)) { - surroundingBlocks_ = new java.util.ArrayList(surroundingBlocks_); + surroundingBlocks_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo>( + surroundingBlocks_); bitField0_ |= 0x01000000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> surroundingBlocksBuilder_; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> + surroundingBlocksBuilder_; /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public java.util.List getSurroundingBlocksList() { + public java.util.List + getSurroundingBlocksList() { if (surroundingBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(surroundingBlocks_); } else { return surroundingBlocksBuilder_.getMessageList(); } } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14303,21 +15373,28 @@ public int getSurroundingBlocksCount() { return surroundingBlocksBuilder_.getCount(); } } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks(int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo getSurroundingBlocks( + int index) { if (surroundingBlocksBuilder_ == null) { return surroundingBlocks_.get(index); } else { return surroundingBlocksBuilder_.getMessage(index); } } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14338,7 +15415,10 @@ public Builder setSurroundingBlocks( } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14346,7 +15426,8 @@ public Builder setSurroundingBlocks( * repeated .BlockInfo surrounding_blocks = 25; */ public Builder setSurroundingBlocks( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) { if (surroundingBlocksBuilder_ == null) { ensureSurroundingBlocksIsMutable(); surroundingBlocks_.set(index, builderForValue.build()); @@ -14356,14 +15437,18 @@ public Builder setSurroundingBlocks( } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public Builder addSurroundingBlocks(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { + public Builder addSurroundingBlocks( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo value) { if (surroundingBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14376,7 +15461,10 @@ public Builder addSurroundingBlocks(com.kyhsgeekcode.minecraftenv.proto.Observat } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14397,7 +15485,10 @@ public Builder addSurroundingBlocks( } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14415,7 +15506,10 @@ public Builder addSurroundingBlocks( } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14423,7 +15517,8 @@ public Builder addSurroundingBlocks( * repeated .BlockInfo surrounding_blocks = 25; */ public Builder addSurroundingBlocks( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder builderForValue) { if (surroundingBlocksBuilder_ == null) { ensureSurroundingBlocksIsMutable(); surroundingBlocks_.add(index, builderForValue.build()); @@ -14433,7 +15528,10 @@ public Builder addSurroundingBlocks( } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14441,18 +15539,22 @@ public Builder addSurroundingBlocks( * repeated .BlockInfo surrounding_blocks = 25; */ public Builder addAllSurroundingBlocks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo> + values) { if (surroundingBlocksBuilder_ == null) { ensureSurroundingBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, surroundingBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, surroundingBlocks_); onChanged(); } else { surroundingBlocksBuilder_.addAllMessages(values); } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14469,7 +15571,10 @@ public Builder clearSurroundingBlocks() { } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
@@ -14486,86 +15591,118 @@ public Builder removeSurroundingBlocks(int index) { } return this; } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder getSurroundingBlocksBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder + getSurroundingBlocksBuilder(int index) { return getSurroundingBlocksFieldBuilder().getBuilder(index); } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder getSurroundingBlocksOrBuilder( - int index) { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder + getSurroundingBlocksOrBuilder(int index) { if (surroundingBlocksBuilder_ == null) { - return surroundingBlocks_.get(index); } else { + return surroundingBlocks_.get(index); + } else { return surroundingBlocksBuilder_.getMessageOrBuilder(index); } } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public java.util.List - getSurroundingBlocksOrBuilderList() { + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> + getSurroundingBlocksOrBuilderList() { if (surroundingBlocksBuilder_ != null) { return surroundingBlocksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(surroundingBlocks_); } } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder() { - return getSurroundingBlocksFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder + addSurroundingBlocksBuilder() { + return getSurroundingBlocksFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + .getDefaultInstance()); } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder addSurroundingBlocksBuilder( - int index) { - return getSurroundingBlocksFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.getDefaultInstance()); + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder + addSurroundingBlocksBuilder(int index) { + return getSurroundingBlocksFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo + .getDefaultInstance()); } + /** + * + * *
        * center, (-1, -1, -1), (0, -1, -1), ...; xyz order: len = 27
        * 
* * repeated .BlockInfo surrounding_blocks = 25; */ - public java.util.List - getSurroundingBlocksBuilderList() { + public java.util.List + getSurroundingBlocksBuilderList() { return getSurroundingBlocksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder> getSurroundingBlocksFieldBuilder() { if (surroundingBlocksBuilder_ == null) { - surroundingBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>( + surroundingBlocksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfoOrBuilder>( surroundingBlocks_, ((bitField0_ & 0x01000000) != 0), getParentForChildren(), @@ -14575,17 +15712,21 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BlockInfo.Builder ad return surroundingBlocksBuilder_; } - private boolean eyeInBlock_ ; + private boolean eyeInBlock_; + /** * bool eye_in_block = 26; + * * @return The eyeInBlock. */ @java.lang.Override public boolean getEyeInBlock() { return eyeInBlock_; } + /** * bool eye_in_block = 26; + * * @param value The eyeInBlock to set. * @return This builder for chaining. */ @@ -14596,8 +15737,10 @@ public Builder setEyeInBlock(boolean value) { onChanged(); return this; } + /** * bool eye_in_block = 26; + * * @return This builder for chaining. */ public Builder clearEyeInBlock() { @@ -14607,17 +15750,21 @@ public Builder clearEyeInBlock() { return this; } - private boolean suffocating_ ; + private boolean suffocating_; + /** * bool suffocating = 27; + * * @return The suffocating. */ @java.lang.Override public boolean getSuffocating() { return suffocating_; } + /** * bool suffocating = 27; + * * @param value The suffocating to set. * @return This builder for chaining. */ @@ -14628,8 +15775,10 @@ public Builder setSuffocating(boolean value) { onChanged(); return this; } + /** * bool suffocating = 27; + * * @return This builder for chaining. */ public Builder clearSuffocating() { @@ -14639,31 +15788,36 @@ public Builder clearSuffocating() { return this; } - private java.util.List chatMessages_ = - java.util.Collections.emptyList(); + private java.util.List + chatMessages_ = java.util.Collections.emptyList(); + private void ensureChatMessagesIsMutable() { if (!((bitField0_ & 0x08000000) != 0)) { - chatMessages_ = new java.util.ArrayList(chatMessages_); + chatMessages_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo>( + chatMessages_); bitField0_ |= 0x08000000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> chatMessagesBuilder_; - - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public java.util.List getChatMessagesList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> + chatMessagesBuilder_; + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public java.util.List + getChatMessagesList() { if (chatMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(chatMessages_); } else { return chatMessagesBuilder_.getMessageList(); } } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public int getChatMessagesCount() { if (chatMessagesBuilder_ == null) { return chatMessages_.size(); @@ -14671,19 +15825,18 @@ public int getChatMessagesCount() { return chatMessagesBuilder_.getCount(); } } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages(int index) { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo getChatMessages( + int index) { if (chatMessagesBuilder_ == null) { return chatMessages_.get(index); } else { return chatMessagesBuilder_.getMessage(index); } } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder setChatMessages( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) { if (chatMessagesBuilder_ == null) { @@ -14698,11 +15851,12 @@ public Builder setChatMessages( } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder setChatMessages( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + builderForValue) { if (chatMessagesBuilder_ == null) { ensureChatMessagesIsMutable(); chatMessages_.set(index, builderForValue.build()); @@ -14712,10 +15866,10 @@ public Builder setChatMessages( } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public Builder addChatMessages(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public Builder addChatMessages( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) { if (chatMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14728,9 +15882,8 @@ public Builder addChatMessages(com.kyhsgeekcode.minecraftenv.proto.ObservationSp } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder addChatMessages( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo value) { if (chatMessagesBuilder_ == null) { @@ -14745,11 +15898,11 @@ public Builder addChatMessages( } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder addChatMessages( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + builderForValue) { if (chatMessagesBuilder_ == null) { ensureChatMessagesIsMutable(); chatMessages_.add(builderForValue.build()); @@ -14759,11 +15912,12 @@ public Builder addChatMessages( } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder addChatMessages( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + builderForValue) { if (chatMessagesBuilder_ == null) { ensureChatMessagesIsMutable(); chatMessages_.add(index, builderForValue.build()); @@ -14773,24 +15927,23 @@ public Builder addChatMessages( } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder addAllChatMessages( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo> + values) { if (chatMessagesBuilder_ == null) { ensureChatMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, chatMessages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chatMessages_); onChanged(); } else { chatMessagesBuilder_.addAllMessages(values); } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder clearChatMessages() { if (chatMessagesBuilder_ == null) { chatMessages_ = java.util.Collections.emptyList(); @@ -14801,9 +15954,8 @@ public Builder clearChatMessages() { } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ + + /** repeated .ChatMessageInfo chat_messages = 28; */ public Builder removeChatMessages(int index) { if (chatMessagesBuilder_ == null) { ensureChatMessagesIsMutable(); @@ -14814,62 +15966,72 @@ public Builder removeChatMessages(int index) { } return this; } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder getChatMessagesBuilder( - int index) { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + getChatMessagesBuilder(int index) { return getChatMessagesFieldBuilder().getBuilder(index); } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder getChatMessagesOrBuilder( - int index) { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder + getChatMessagesOrBuilder(int index) { if (chatMessagesBuilder_ == null) { - return chatMessages_.get(index); } else { + return chatMessages_.get(index); + } else { return chatMessagesBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public java.util.List - getChatMessagesOrBuilderList() { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public java.util.List< + ? extends + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> + getChatMessagesOrBuilderList() { if (chatMessagesBuilder_ != null) { return chatMessagesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(chatMessages_); } } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder() { - return getChatMessagesFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance()); + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + addChatMessagesBuilder() { + return getChatMessagesFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .getDefaultInstance()); } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder addChatMessagesBuilder( - int index) { - return getChatMessagesFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.getDefaultInstance()); + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder + addChatMessagesBuilder(int index) { + return getChatMessagesFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo + .getDefaultInstance()); } - /** - * repeated .ChatMessageInfo chat_messages = 28; - */ - public java.util.List - getChatMessagesBuilderList() { + + /** repeated .ChatMessageInfo chat_messages = 28; */ + public java.util.List< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder> + getChatMessagesBuilderList() { return getChatMessagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder> getChatMessagesFieldBuilder() { if (chatMessagesBuilder_ == null) { - chatMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder>( + chatMessagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfoOrBuilder>( chatMessages_, ((bitField0_ & 0x08000000) != 0), getParentForChildren(), @@ -14881,29 +16043,38 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ChatMessageInfo.Buil private com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo biomeInfo_; private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> biomeInfoBuilder_; + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> + biomeInfoBuilder_; + /** * .BiomeInfo biome_info = 29; + * * @return Whether the biomeInfo field is set. */ public boolean hasBiomeInfo() { return ((bitField0_ & 0x10000000) != 0); } + /** * .BiomeInfo biome_info = 29; + * * @return The biomeInfo. */ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo getBiomeInfo() { if (biomeInfoBuilder_ == null) { - return biomeInfo_ == null ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_; + return biomeInfo_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() + : biomeInfo_; } else { return biomeInfoBuilder_.getMessage(); } } - /** - * .BiomeInfo biome_info = 29; - */ - public Builder setBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) { + + /** .BiomeInfo biome_info = 29; */ + public Builder setBiomeInfo( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) { if (biomeInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14916,9 +16087,8 @@ public Builder setBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace onChanged(); return this; } - /** - * .BiomeInfo biome_info = 29; - */ + + /** .BiomeInfo biome_info = 29; */ public Builder setBiomeInfo( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder builderForValue) { if (biomeInfoBuilder_ == null) { @@ -14930,14 +16100,16 @@ public Builder setBiomeInfo( onChanged(); return this; } - /** - * .BiomeInfo biome_info = 29; - */ - public Builder mergeBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) { + + /** .BiomeInfo biome_info = 29; */ + public Builder mergeBiomeInfo( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo value) { if (biomeInfoBuilder_ == null) { - if (((bitField0_ & 0x10000000) != 0) && - biomeInfo_ != null && - biomeInfo_ != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance()) { + if (((bitField0_ & 0x10000000) != 0) + && biomeInfo_ != null + && biomeInfo_ + != com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo + .getDefaultInstance()) { getBiomeInfoBuilder().mergeFrom(value); } else { biomeInfo_ = value; @@ -14951,9 +16123,8 @@ public Builder mergeBiomeInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpa } return this; } - /** - * .BiomeInfo biome_info = 29; - */ + + /** .BiomeInfo biome_info = 29; */ public Builder clearBiomeInfo() { bitField0_ = (bitField0_ & ~0x10000000); biomeInfo_ = null; @@ -14964,67 +16135,74 @@ public Builder clearBiomeInfo() { onChanged(); return this; } - /** - * .BiomeInfo biome_info = 29; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder getBiomeInfoBuilder() { + + /** .BiomeInfo biome_info = 29; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder + getBiomeInfoBuilder() { bitField0_ |= 0x10000000; onChanged(); return getBiomeInfoFieldBuilder().getBuilder(); } - /** - * .BiomeInfo biome_info = 29; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder getBiomeInfoOrBuilder() { + + /** .BiomeInfo biome_info = 29; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder + getBiomeInfoOrBuilder() { if (biomeInfoBuilder_ != null) { return biomeInfoBuilder_.getMessageOrBuilder(); } else { - return biomeInfo_ == null ? - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() : biomeInfo_; + return biomeInfo_ == null + ? com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.getDefaultInstance() + : biomeInfo_; } } - /** - * .BiomeInfo biome_info = 29; - */ + + /** .BiomeInfo biome_info = 29; */ private com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder> getBiomeInfoFieldBuilder() { if (biomeInfoBuilder_ == null) { - biomeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder>( - getBiomeInfo(), - getParentForChildren(), - isClean()); + biomeInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.BiomeInfoOrBuilder>( + getBiomeInfo(), getParentForChildren(), isClean()); biomeInfo_ = null; } return biomeInfoBuilder_; } - private java.util.List nearbyBiomes_ = - java.util.Collections.emptyList(); + private java.util.List + nearbyBiomes_ = java.util.Collections.emptyList(); + private void ensureNearbyBiomesIsMutable() { if (!((bitField0_ & 0x20000000) != 0)) { - nearbyBiomes_ = new java.util.ArrayList(nearbyBiomes_); + nearbyBiomes_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome>(nearbyBiomes_); bitField0_ |= 0x20000000; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> nearbyBiomesBuilder_; - - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public java.util.List getNearbyBiomesList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> + nearbyBiomesBuilder_; + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public java.util.List + getNearbyBiomesList() { if (nearbyBiomesBuilder_ == null) { return java.util.Collections.unmodifiableList(nearbyBiomes_); } else { return nearbyBiomesBuilder_.getMessageList(); } } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public int getNearbyBiomesCount() { if (nearbyBiomesBuilder_ == null) { return nearbyBiomes_.size(); @@ -15032,19 +16210,18 @@ public int getNearbyBiomesCount() { return nearbyBiomesBuilder_.getCount(); } } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes(int index) { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome getNearbyBiomes( + int index) { if (nearbyBiomesBuilder_ == null) { return nearbyBiomes_.get(index); } else { return nearbyBiomesBuilder_.getMessage(index); } } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder setNearbyBiomes( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) { if (nearbyBiomesBuilder_ == null) { @@ -15059,11 +16236,12 @@ public Builder setNearbyBiomes( } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder setNearbyBiomes( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + builderForValue) { if (nearbyBiomesBuilder_ == null) { ensureNearbyBiomesIsMutable(); nearbyBiomes_.set(index, builderForValue.build()); @@ -15073,10 +16251,10 @@ public Builder setNearbyBiomes( } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public Builder addNearbyBiomes(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public Builder addNearbyBiomes( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) { if (nearbyBiomesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15089,9 +16267,8 @@ public Builder addNearbyBiomes(com.kyhsgeekcode.minecraftenv.proto.ObservationSp } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder addNearbyBiomes( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome value) { if (nearbyBiomesBuilder_ == null) { @@ -15106,11 +16283,11 @@ public Builder addNearbyBiomes( } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder addNearbyBiomes( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + builderForValue) { if (nearbyBiomesBuilder_ == null) { ensureNearbyBiomesIsMutable(); nearbyBiomes_.add(builderForValue.build()); @@ -15120,11 +16297,12 @@ public Builder addNearbyBiomes( } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder addNearbyBiomes( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + builderForValue) { if (nearbyBiomesBuilder_ == null) { ensureNearbyBiomesIsMutable(); nearbyBiomes_.add(index, builderForValue.build()); @@ -15134,24 +16312,23 @@ public Builder addNearbyBiomes( } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder addAllNearbyBiomes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome> + values) { if (nearbyBiomesBuilder_ == null) { ensureNearbyBiomesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nearbyBiomes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nearbyBiomes_); onChanged(); } else { nearbyBiomesBuilder_.addAllMessages(values); } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder clearNearbyBiomes() { if (nearbyBiomesBuilder_ == null) { nearbyBiomes_ = java.util.Collections.emptyList(); @@ -15162,9 +16339,8 @@ public Builder clearNearbyBiomes() { } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ + + /** repeated .NearbyBiome nearby_biomes = 30; */ public Builder removeNearbyBiomes(int index) { if (nearbyBiomesBuilder_ == null) { ensureNearbyBiomesIsMutable(); @@ -15175,62 +16351,71 @@ public Builder removeNearbyBiomes(int index) { } return this; } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder getNearbyBiomesBuilder( - int index) { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + getNearbyBiomesBuilder(int index) { return getNearbyBiomesFieldBuilder().getBuilder(index); } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder getNearbyBiomesOrBuilder( - int index) { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder + getNearbyBiomesOrBuilder(int index) { if (nearbyBiomesBuilder_ == null) { - return nearbyBiomes_.get(index); } else { + return nearbyBiomes_.get(index); + } else { return nearbyBiomesBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public java.util.List - getNearbyBiomesOrBuilderList() { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> + getNearbyBiomesOrBuilderList() { if (nearbyBiomesBuilder_ != null) { return nearbyBiomesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nearbyBiomes_); } } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder() { - return getNearbyBiomesFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance()); + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + addNearbyBiomesBuilder() { + return getNearbyBiomesFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + .getDefaultInstance()); } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder addNearbyBiomesBuilder( - int index) { - return getNearbyBiomesFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.getDefaultInstance()); + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder + addNearbyBiomesBuilder(int index) { + return getNearbyBiomesFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome + .getDefaultInstance()); } - /** - * repeated .NearbyBiome nearby_biomes = 30; - */ - public java.util.List - getNearbyBiomesBuilderList() { + + /** repeated .NearbyBiome nearby_biomes = 30; */ + public java.util.List< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder> + getNearbyBiomesBuilderList() { return getNearbyBiomesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder> getNearbyBiomesFieldBuilder() { if (nearbyBiomesBuilder_ == null) { - nearbyBiomesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder>( + nearbyBiomesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiomeOrBuilder>( nearbyBiomes_, ((bitField0_ & 0x20000000) != 0), getParentForChildren(), @@ -15240,17 +16425,21 @@ public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.NearbyBiome.Builder return nearbyBiomesBuilder_; } - private boolean submergedInWater_ ; + private boolean submergedInWater_; + /** * bool submerged_in_water = 31; + * * @return The submergedInWater. */ @java.lang.Override public boolean getSubmergedInWater() { return submergedInWater_; } + /** * bool submerged_in_water = 31; + * * @param value The submergedInWater to set. * @return This builder for chaining. */ @@ -15261,8 +16450,10 @@ public Builder setSubmergedInWater(boolean value) { onChanged(); return this; } + /** * bool submerged_in_water = 31; + * * @return This builder for chaining. */ public Builder clearSubmergedInWater() { @@ -15272,17 +16463,21 @@ public Builder clearSubmergedInWater() { return this; } - private boolean isInLava_ ; + private boolean isInLava_; + /** * bool is_in_lava = 32; + * * @return The isInLava. */ @java.lang.Override public boolean getIsInLava() { return isInLava_; } + /** * bool is_in_lava = 32; + * * @param value The isInLava to set. * @return This builder for chaining. */ @@ -15293,8 +16488,10 @@ public Builder setIsInLava(boolean value) { onChanged(); return this; } + /** * bool is_in_lava = 32; + * * @return This builder for chaining. */ public Builder clearIsInLava() { @@ -15304,17 +16501,21 @@ public Builder clearIsInLava() { return this; } - private boolean submergedInLava_ ; + private boolean submergedInLava_; + /** * bool submerged_in_lava = 33; + * * @return The submergedInLava. */ @java.lang.Override public boolean getSubmergedInLava() { return submergedInLava_; } + /** * bool submerged_in_lava = 33; + * * @param value The submergedInLava to set. * @return This builder for chaining. */ @@ -15325,8 +16526,10 @@ public Builder setSubmergedInLava(boolean value) { onChanged(); return this; } + /** * bool submerged_in_lava = 33; + * * @return This builder for chaining. */ public Builder clearSubmergedInLava() { @@ -15336,31 +16539,35 @@ public Builder clearSubmergedInLava() { return this; } - private java.util.List heightInfo_ = - java.util.Collections.emptyList(); + private java.util.List + heightInfo_ = java.util.Collections.emptyList(); + private void ensureHeightInfoIsMutable() { if (!((bitField1_ & 0x00000002) != 0)) { - heightInfo_ = new java.util.ArrayList(heightInfo_); + heightInfo_ = + new java.util.ArrayList< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo>(heightInfo_); bitField1_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> heightInfoBuilder_; - - /** - * repeated .HeightInfo height_info = 34; - */ - public java.util.List getHeightInfoList() { + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> + heightInfoBuilder_; + + /** repeated .HeightInfo height_info = 34; */ + public java.util.List + getHeightInfoList() { if (heightInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(heightInfo_); } else { return heightInfoBuilder_.getMessageList(); } } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public int getHeightInfoCount() { if (heightInfoBuilder_ == null) { return heightInfo_.size(); @@ -15368,19 +16575,18 @@ public int getHeightInfoCount() { return heightInfoBuilder_.getCount(); } } - /** - * repeated .HeightInfo height_info = 34; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo(int index) { + + /** repeated .HeightInfo height_info = 34; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo getHeightInfo( + int index) { if (heightInfoBuilder_ == null) { return heightInfo_.get(index); } else { return heightInfoBuilder_.getMessage(index); } } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder setHeightInfo( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) { if (heightInfoBuilder_ == null) { @@ -15395,11 +16601,11 @@ public Builder setHeightInfo( } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder setHeightInfo( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) { if (heightInfoBuilder_ == null) { ensureHeightInfoIsMutable(); heightInfo_.set(index, builderForValue.build()); @@ -15409,10 +16615,10 @@ public Builder setHeightInfo( } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ - public Builder addHeightInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) { + + /** repeated .HeightInfo height_info = 34; */ + public Builder addHeightInfo( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) { if (heightInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15425,9 +16631,8 @@ public Builder addHeightInfo(com.kyhsgeekcode.minecraftenv.proto.ObservationSpac } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder addHeightInfo( int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo value) { if (heightInfoBuilder_ == null) { @@ -15442,9 +16647,8 @@ public Builder addHeightInfo( } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder addHeightInfo( com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) { if (heightInfoBuilder_ == null) { @@ -15456,11 +16660,11 @@ public Builder addHeightInfo( } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder addHeightInfo( - int index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) { + int index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder builderForValue) { if (heightInfoBuilder_ == null) { ensureHeightInfoIsMutable(); heightInfo_.add(index, builderForValue.build()); @@ -15470,24 +16674,23 @@ public Builder addHeightInfo( } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder addAllHeightInfo( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo> + values) { if (heightInfoBuilder_ == null) { ensureHeightInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, heightInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, heightInfo_); onChanged(); } else { heightInfoBuilder_.addAllMessages(values); } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder clearHeightInfo() { if (heightInfoBuilder_ == null) { heightInfo_ = java.util.Collections.emptyList(); @@ -15498,9 +16701,8 @@ public Builder clearHeightInfo() { } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ + + /** repeated .HeightInfo height_info = 34; */ public Builder removeHeightInfo(int index) { if (heightInfoBuilder_ == null) { ensureHeightInfoIsMutable(); @@ -15511,82 +16713,91 @@ public Builder removeHeightInfo(int index) { } return this; } - /** - * repeated .HeightInfo height_info = 34; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder getHeightInfoBuilder( - int index) { + + /** repeated .HeightInfo height_info = 34; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder + getHeightInfoBuilder(int index) { return getHeightInfoFieldBuilder().getBuilder(index); } - /** - * repeated .HeightInfo height_info = 34; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder getHeightInfoOrBuilder( - int index) { + + /** repeated .HeightInfo height_info = 34; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder + getHeightInfoOrBuilder(int index) { if (heightInfoBuilder_ == null) { - return heightInfo_.get(index); } else { + return heightInfo_.get(index); + } else { return heightInfoBuilder_.getMessageOrBuilder(index); } } - /** - * repeated .HeightInfo height_info = 34; - */ - public java.util.List - getHeightInfoOrBuilderList() { + + /** repeated .HeightInfo height_info = 34; */ + public java.util.List< + ? extends com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> + getHeightInfoOrBuilderList() { if (heightInfoBuilder_ != null) { return heightInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(heightInfo_); } } - /** - * repeated .HeightInfo height_info = 34; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder() { - return getHeightInfoFieldBuilder().addBuilder( - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance()); + + /** repeated .HeightInfo height_info = 34; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder + addHeightInfoBuilder() { + return getHeightInfoFieldBuilder() + .addBuilder( + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + .getDefaultInstance()); } - /** - * repeated .HeightInfo height_info = 34; - */ - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder addHeightInfoBuilder( - int index) { - return getHeightInfoFieldBuilder().addBuilder( - index, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.getDefaultInstance()); + + /** repeated .HeightInfo height_info = 34; */ + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder + addHeightInfoBuilder(int index) { + return getHeightInfoFieldBuilder() + .addBuilder( + index, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo + .getDefaultInstance()); } - /** - * repeated .HeightInfo height_info = 34; - */ - public java.util.List - getHeightInfoBuilderList() { + + /** repeated .HeightInfo height_info = 34; */ + public java.util.List + getHeightInfoBuilderList() { return getHeightInfoFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder> getHeightInfoFieldBuilder() { if (heightInfoBuilder_ == null) { - heightInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder>( - heightInfo_, - ((bitField1_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + heightInfoBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfo.Builder, + com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.HeightInfoOrBuilder>( + heightInfo_, ((bitField1_ & 0x00000002) != 0), getParentForChildren(), isClean()); heightInfo_ = null; } return heightInfoBuilder_; } - private boolean isOnGround_ ; + private boolean isOnGround_; + /** * bool is_on_ground = 35; + * * @return The isOnGround. */ @java.lang.Override public boolean getIsOnGround() { return isOnGround_; } + /** * bool is_on_ground = 35; + * * @param value The isOnGround to set. * @return This builder for chaining. */ @@ -15597,8 +16808,10 @@ public Builder setIsOnGround(boolean value) { onChanged(); return this; } + /** * bool is_on_ground = 35; + * * @return This builder for chaining. */ public Builder clearIsOnGround() { @@ -15608,17 +16821,21 @@ public Builder clearIsOnGround() { return this; } - private boolean isTouchingWater_ ; + private boolean isTouchingWater_; + /** * bool is_touching_water = 36; + * * @return The isTouchingWater. */ @java.lang.Override public boolean getIsTouchingWater() { return isTouchingWater_; } + /** * bool is_touching_water = 36; + * * @param value The isTouchingWater to set. * @return This builder for chaining. */ @@ -15629,8 +16846,10 @@ public Builder setIsTouchingWater(boolean value) { onChanged(); return this; } + /** * bool is_touching_water = 36; + * * @return This builder for chaining. */ public Builder clearIsTouchingWater() { @@ -15641,28 +16860,36 @@ public Builder clearIsTouchingWater() { } private com.google.protobuf.ByteString ipcHandle_ = com.google.protobuf.ByteString.EMPTY; + /** * bytes ipc_handle = 37; + * * @return The ipcHandle. */ @java.lang.Override public com.google.protobuf.ByteString getIpcHandle() { return ipcHandle_; } + /** * bytes ipc_handle = 37; + * * @param value The ipcHandle to set. * @return This builder for chaining. */ public Builder setIpcHandle(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } ipcHandle_ = value; bitField1_ |= 0x00000010; onChanged(); return this; } + /** * bytes ipc_handle = 37; + * * @return This builder for chaining. */ public Builder clearIpcHandle() { @@ -15676,36 +16903,42 @@ public Builder clearIpcHandle() { } // @@protoc_insertion_point(class_scope:ObservationSpaceMessage) - private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage DEFAULT_INSTANCE; + private static final com.kyhsgeekcode.minecraftenv.proto.ObservationSpace + .ObservationSpaceMessage + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage(); + DEFAULT_INSTANCE = + new com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage(); } - public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstance() { + public static com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObservationSpaceMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObservationSpaceMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15717,264 +16950,365 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage getDefaultInstanceForType() { + public com.kyhsgeekcode.minecraftenv.proto.ObservationSpace.ObservationSpaceMessage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ItemStack_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ItemStack_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ItemStack_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_BlockInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_BlockInfo_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_BlockInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_EntityInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_EntityInfo_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EntityInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_HitResult_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_HitResult_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_HitResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_StatusEffect_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_StatusEffect_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_StatusEffect_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_SoundEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_SoundEntry_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_SoundEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_EntitiesWithinDistance_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_EntitiesWithinDistance_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EntitiesWithinDistance_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ChatMessageInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ChatMessageInfo_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ChatMessageInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_BiomeInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_BiomeInfo_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_BiomeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_NearbyBiome_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_NearbyBiome_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_NearbyBiome_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_HeightInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_HeightInfo_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_HeightInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ObservationSpaceMessage_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ObservationSpaceMessage_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ObservationSpaceMessage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ObservationSpaceMessage_KilledStatisticsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ObservationSpaceMessage_MinedStatisticsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ObservationSpaceMessage_MiscStatisticsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor; + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n\027observation_space.proto\"o\n\tItemStack\022\016" + - "\n\006raw_id\030\001 \001(\005\022\027\n\017translation_key\030\002 \001(\t\022" + - "\r\n\005count\030\003 \001(\005\022\022\n\ndurability\030\004 \001(\005\022\026\n\016ma" + - "x_durability\030\005 \001(\005\"E\n\tBlockInfo\022\t\n\001x\030\001 \001" + - "(\005\022\t\n\001y\030\002 \001(\005\022\t\n\001z\030\003 \001(\005\022\027\n\017translation_" + - "key\030\004 \001(\t\"\207\001\n\nEntityInfo\022\023\n\013unique_name\030" + - "\001 \001(\t\022\027\n\017translation_key\030\002 \001(\t\022\t\n\001x\030\003 \001(" + - "\001\022\t\n\001y\030\004 \001(\001\022\t\n\001z\030\005 \001(\001\022\013\n\003yaw\030\006 \001(\001\022\r\n\005" + - "pitch\030\007 \001(\001\022\016\n\006health\030\010 \001(\001\"\231\001\n\tHitResul" + - "t\022\035\n\004type\030\001 \001(\0162\017.HitResult.Type\022 \n\014targ" + - "et_block\030\002 \001(\0132\n.BlockInfo\022\"\n\rtarget_ent" + - "ity\030\003 \001(\0132\013.EntityInfo\"\'\n\004Type\022\010\n\004MISS\020\000" + - "\022\t\n\005BLOCK\020\001\022\n\n\006ENTITY\020\002\"L\n\014StatusEffect\022" + - "\027\n\017translation_key\030\001 \001(\t\022\020\n\010duration\030\002 \001" + - "(\005\022\021\n\tamplifier\030\003 \001(\005\"Q\n\nSoundEntry\022\025\n\rt" + - "ranslate_key\030\001 \001(\t\022\013\n\003age\030\002 \001(\003\022\t\n\001x\030\003 \001" + - "(\001\022\t\n\001y\030\004 \001(\001\022\t\n\001z\030\005 \001(\001\"7\n\026EntitiesWith" + - "inDistance\022\035\n\010entities\030\001 \003(\0132\013.EntityInf" + - "o\"I\n\017ChatMessageInfo\022\022\n\nadded_time\030\001 \001(\003" + - "\022\017\n\007message\030\002 \001(\t\022\021\n\tindicator\030\003 \001(\t\"U\n\t" + - "BiomeInfo\022\022\n\nbiome_name\030\001 \001(\t\022\020\n\010center_" + - "x\030\002 \001(\005\022\020\n\010center_y\030\003 \001(\005\022\020\n\010center_z\030\004 " + - "\001(\005\"B\n\013NearbyBiome\022\022\n\nbiome_name\030\001 \001(\t\022\t" + - "\n\001x\030\002 \001(\005\022\t\n\001y\030\003 \001(\005\022\t\n\001z\030\004 \001(\005\"F\n\nHeigh" + - "tInfo\022\t\n\001x\030\001 \001(\005\022\t\n\001z\030\002 \001(\005\022\016\n\006height\030\003 " + - "\001(\005\022\022\n\nblock_name\030\004 \001(\t\"\363\n\n\027ObservationS" + - "paceMessage\022\r\n\005image\030\001 \001(\014\022\t\n\001x\030\002 \001(\001\022\t\n" + - "\001y\030\003 \001(\001\022\t\n\001z\030\004 \001(\001\022\013\n\003yaw\030\005 \001(\001\022\r\n\005pitc" + - "h\030\006 \001(\001\022\016\n\006health\030\007 \001(\001\022\022\n\nfood_level\030\010 " + - "\001(\001\022\030\n\020saturation_level\030\t \001(\001\022\017\n\007is_dead" + - "\030\n \001(\010\022\035\n\tinventory\030\013 \003(\0132\n.ItemStack\022\"\n" + - "\016raycast_result\030\014 \001(\0132\n.HitResult\022$\n\017sou" + - "nd_subtitles\030\r \003(\0132\013.SoundEntry\022%\n\016statu" + - "s_effects\030\016 \003(\0132\r.StatusEffect\022I\n\021killed" + - "_statistics\030\017 \003(\0132..ObservationSpaceMess" + - "age.KilledStatisticsEntry\022G\n\020mined_stati" + - "stics\030\020 \003(\0132-.ObservationSpaceMessage.Mi" + - "nedStatisticsEntry\022E\n\017misc_statistics\030\021 " + - "\003(\0132,.ObservationSpaceMessage.MiscStatis" + - "ticsEntry\022%\n\020visible_entities\030\022 \003(\0132\013.En" + - "tityInfo\022O\n\024surrounding_entities\030\023 \003(\01321" + - ".ObservationSpaceMessage.SurroundingEnti" + - "tiesEntry\022\025\n\rbobber_thrown\030\024 \001(\010\022\022\n\nexpe" + - "rience\030\025 \001(\005\022\022\n\nworld_time\030\026 \001(\003\022\032\n\022last" + - "_death_message\030\027 \001(\t\022\017\n\007image_2\030\030 \001(\014\022&\n" + - "\022surrounding_blocks\030\031 \003(\0132\n.BlockInfo\022\024\n" + - "\014eye_in_block\030\032 \001(\010\022\023\n\013suffocating\030\033 \001(\010" + - "\022\'\n\rchat_messages\030\034 \003(\0132\020.ChatMessageInf" + - "o\022\036\n\nbiome_info\030\035 \001(\0132\n.BiomeInfo\022#\n\rnea" + - "rby_biomes\030\036 \003(\0132\014.NearbyBiome\022\032\n\022submer" + - "ged_in_water\030\037 \001(\010\022\022\n\nis_in_lava\030 \001(\010\022\031" + - "\n\021submerged_in_lava\030! \001(\010\022 \n\013height_info" + - "\030\" \003(\0132\013.HeightInfo\022\024\n\014is_on_ground\030# \001(" + - "\010\022\031\n\021is_touching_water\030$ \001(\010\022\022\n\nipc_hand" + - "le\030% \001(\014\0327\n\025KilledStatisticsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\0326\n\024MinedStatis" + - "ticsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028" + - "\001\0325\n\023MiscStatisticsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\005:\0028\001\032S\n\030SurroundingEntitiesE" + - "ntry\022\013\n\003key\030\001 \001(\005\022&\n\005value\030\002 \001(\0132\027.Entit" + - "iesWithinDistance:\0028\001B&\n$com.kyhsgeekcod" + - "e.minecraftenv.protob\006proto3" + "\n" + + "\027observation_space.proto\"o\n" + + "\tItemStack\022\016\n" + + "\006raw_id\030\001 \001(\005\022\027\n" + + "\017translation_key\030\002 \001(\t\022\r\n" + + "\005count\030\003 \001(\005\022\022\n\n" + + "durability\030\004 \001(\005\022\026\n" + + "\016max_durability\030\005 \001(\005\"E\n" + + "\tBlockInfo\022\t\n" + + "\001x\030\001 \001(\005\022\t\n" + + "\001y\030\002 \001(\005\022\t\n" + + "\001z\030\003 \001(\005\022\027\n" + + "\017translation_key\030\004 \001(\t\"\207\001\n\n" + + "EntityInfo\022\023\n" + + "\013unique_name\030\001 \001(\t\022\027\n" + + "\017translation_key\030\002 \001(\t\022\t\n" + + "\001x\030\003 \001(\001\022\t\n" + + "\001y\030\004 \001(\001\022\t\n" + + "\001z\030\005 \001(\001\022\013\n" + + "\003yaw\030\006 \001(\001\022\r\n" + + "\005pitch\030\007 \001(\001\022\016\n" + + "\006health\030\010 \001(\001\"\231\001\n" + + "\tHitResult\022\035\n" + + "\004type\030\001 \001(\0162\017.HitResult.Type\022 \n" + + "\014target_block\030\002 \001(\0132\n" + + ".BlockInfo\022\"\n\r" + + "target_entity\030\003 \001(\0132\013.EntityInfo\"\'\n" + + "\004Type\022\010\n" + + "\004MISS\020\000\022\t\n" + + "\005BLOCK\020\001\022\n\n" + + "\006ENTITY\020\002\"L\n" + + "\014StatusEffect\022\027\n" + + "\017translation_key\030\001 \001(\t\022\020\n" + + "\010duration\030\002 \001(\005\022\021\n" + + "\tamplifier\030\003 \001(\005\"Q\n\n" + + "SoundEntry\022\025\n\r" + + "translate_key\030\001 \001(\t\022\013\n" + + "\003age\030\002 \001(\003\022\t\n" + + "\001x\030\003 \001(\001\022\t\n" + + "\001y\030\004 \001(\001\022\t\n" + + "\001z\030\005 \001(\001\"7\n" + + "\026EntitiesWithinDistance\022\035\n" + + "\010entities\030\001 \003(\0132\013.EntityInfo\"I\n" + + "\017ChatMessageInfo\022\022\n\n" + + "added_time\030\001 \001(\003\022\017\n" + + "\007message\030\002 \001(\t\022\021\n" + + "\tindicator\030\003 \001(\t\"U\n" + + "\tBiomeInfo\022\022\n\n" + + "biome_name\030\001 \001(\t\022\020\n" + + "\010center_x\030\002 \001(\005\022\020\n" + + "\010center_y\030\003 \001(\005\022\020\n" + + "\010center_z\030\004 \001(\005\"B\n" + + "\013NearbyBiome\022\022\n\n" + + "biome_name\030\001 \001(\t\022\t\n" + + "\001x\030\002 \001(\005\022\t\n" + + "\001y\030\003 \001(\005\022\t\n" + + "\001z\030\004 \001(\005\"F\n\n" + + "HeightInfo\022\t\n" + + "\001x\030\001 \001(\005\022\t\n" + + "\001z\030\002 \001(\005\022\016\n" + + "\006height\030\003 \001(\005\022\022\n\n" + + "block_name\030\004 \001(\t\"\363\n\n" + + "\027ObservationSpaceMessage\022\r\n" + + "\005image\030\001 \001(\014\022\t\n" + + "\001x\030\002 \001(\001\022\t\n" + + "\001y\030\003 \001(\001\022\t\n" + + "\001z\030\004 \001(\001\022\013\n" + + "\003yaw\030\005 \001(\001\022\r\n" + + "\005pitch\030\006 \001(\001\022\016\n" + + "\006health\030\007 \001(\001\022\022\n\n" + + "food_level\030\010 \001(\001\022\030\n" + + "\020saturation_level\030\t \001(\001\022\017\n" + + "\007is_dead\030\n" + + " \001(\010\022\035\n" + + "\tinventory\030\013 \003(\0132\n" + + ".ItemStack\022\"\n" + + "\016raycast_result\030\014 \001(\0132\n" + + ".HitResult\022$\n" + + "\017sound_subtitles\030\r" + + " \003(\0132\013.SoundEntry\022%\n" + + "\016status_effects\030\016 \003(\0132\r" + + ".StatusEffect\022I\n" + + "\021killed_statistics\030\017" + + " \003(\0132..ObservationSpaceMessage.KilledStatisticsEntry\022G\n" + + "\020mined_statistics\030\020" + + " \003(\0132-.ObservationSpaceMessage.MinedStatisticsEntry\022E\n" + + "\017misc_statistics\030\021 " + + "\003(\0132,.ObservationSpaceMessage.MiscStatisticsEntry\022%\n" + + "\020visible_entities\030\022 \003(\0132\013.EntityInfo\022O\n" + + "\024surrounding_entities\030\023 \003(\01321" + + ".ObservationSpaceMessage.SurroundingEntitiesEntry\022\025\n\r" + + "bobber_thrown\030\024 \001(\010\022\022\n\n" + + "experience\030\025 \001(\005\022\022\n\n" + + "world_time\030\026 \001(\003\022\032\n" + + "\022last_death_message\030\027 \001(\t\022\017\n" + + "\007image_2\030\030 \001(\014\022&\n" + + "\022surrounding_blocks\030\031 \003(\0132\n" + + ".BlockInfo\022\024\n" + + "\014eye_in_block\030\032 \001(\010\022\023\n" + + "\013suffocating\030\033 \001(\010\022\'\n\r" + + "chat_messages\030\034 \003(\0132\020.ChatMessageInfo\022\036\n\n" + + "biome_info\030\035 \001(\0132\n" + + ".BiomeInfo\022#\n\r" + + "nearby_biomes\030\036 \003(\0132\014.NearbyBiome\022\032\n" + + "\022submerged_in_water\030\037 \001(\010\022\022\n\n" + + "is_in_lava\030 \001(\010\022\031\n" + + "\021submerged_in_lava\030! \001(\010\022 \n" + + "\013height_info\030\" \003(\0132\013.HeightInfo\022\024\n" + + "\014is_on_ground\030# \001(\010\022\031\n" + + "\021is_touching_water\030$ \001(\010\022\022\n\n" + + "ipc_handle\030% \001(\014\0327\n" + + "\025KilledStatisticsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\005:\0028\001\0326\n" + + "\024MinedStatisticsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\005:\0028\001\0325\n" + + "\023MiscStatisticsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\005:\0028\001\032S\n" + + "\030SurroundingEntitiesEntry\022\013\n" + + "\003key\030\001 \001(\005\022&\n" + + "\005value\030\002 \001(\0132\027.EntitiesWithinDistance:\0028\001B&\n" + + "$com.kyhsgeekcode.minecraftenv.protob\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_ItemStack_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_ItemStack_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ItemStack_descriptor, - new java.lang.String[] { "RawId", "TranslationKey", "Count", "Durability", "MaxDurability", }); - internal_static_BlockInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_BlockInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_BlockInfo_descriptor, - new java.lang.String[] { "X", "Y", "Z", "TranslationKey", }); - internal_static_EntityInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_EntityInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EntityInfo_descriptor, - new java.lang.String[] { "UniqueName", "TranslationKey", "X", "Y", "Z", "Yaw", "Pitch", "Health", }); - internal_static_HitResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_HitResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_HitResult_descriptor, - new java.lang.String[] { "Type", "TargetBlock", "TargetEntity", }); - internal_static_StatusEffect_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_StatusEffect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_StatusEffect_descriptor, - new java.lang.String[] { "TranslationKey", "Duration", "Amplifier", }); - internal_static_SoundEntry_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_SoundEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_SoundEntry_descriptor, - new java.lang.String[] { "TranslateKey", "Age", "X", "Y", "Z", }); - internal_static_EntitiesWithinDistance_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_EntitiesWithinDistance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EntitiesWithinDistance_descriptor, - new java.lang.String[] { "Entities", }); - internal_static_ChatMessageInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_ChatMessageInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ChatMessageInfo_descriptor, - new java.lang.String[] { "AddedTime", "Message", "Indicator", }); - internal_static_BiomeInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_BiomeInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_BiomeInfo_descriptor, - new java.lang.String[] { "BiomeName", "CenterX", "CenterY", "CenterZ", }); - internal_static_NearbyBiome_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_NearbyBiome_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_NearbyBiome_descriptor, - new java.lang.String[] { "BiomeName", "X", "Y", "Z", }); - internal_static_HeightInfo_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_HeightInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_HeightInfo_descriptor, - new java.lang.String[] { "X", "Z", "Height", "BlockName", }); - internal_static_ObservationSpaceMessage_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_ObservationSpaceMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ObservationSpaceMessage_descriptor, - new java.lang.String[] { "Image", "X", "Y", "Z", "Yaw", "Pitch", "Health", "FoodLevel", "SaturationLevel", "IsDead", "Inventory", "RaycastResult", "SoundSubtitles", "StatusEffects", "KilledStatistics", "MinedStatistics", "MiscStatistics", "VisibleEntities", "SurroundingEntities", "BobberThrown", "Experience", "WorldTime", "LastDeathMessage", "Image2", "SurroundingBlocks", "EyeInBlock", "Suffocating", "ChatMessages", "BiomeInfo", "NearbyBiomes", "SubmergedInWater", "IsInLava", "SubmergedInLava", "HeightInfo", "IsOnGround", "IsTouchingWater", "IpcHandle", }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_ItemStack_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_ItemStack_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ItemStack_descriptor, + new java.lang.String[] { + "RawId", "TranslationKey", "Count", "Durability", "MaxDurability", + }); + internal_static_BlockInfo_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_BlockInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_BlockInfo_descriptor, + new java.lang.String[] { + "X", "Y", "Z", "TranslationKey", + }); + internal_static_EntityInfo_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_EntityInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EntityInfo_descriptor, + new java.lang.String[] { + "UniqueName", "TranslationKey", "X", "Y", "Z", "Yaw", "Pitch", "Health", + }); + internal_static_HitResult_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_HitResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_HitResult_descriptor, + new java.lang.String[] { + "Type", "TargetBlock", "TargetEntity", + }); + internal_static_StatusEffect_descriptor = getDescriptor().getMessageTypes().get(4); + internal_static_StatusEffect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_StatusEffect_descriptor, + new java.lang.String[] { + "TranslationKey", "Duration", "Amplifier", + }); + internal_static_SoundEntry_descriptor = getDescriptor().getMessageTypes().get(5); + internal_static_SoundEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_SoundEntry_descriptor, + new java.lang.String[] { + "TranslateKey", "Age", "X", "Y", "Z", + }); + internal_static_EntitiesWithinDistance_descriptor = getDescriptor().getMessageTypes().get(6); + internal_static_EntitiesWithinDistance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EntitiesWithinDistance_descriptor, + new java.lang.String[] { + "Entities", + }); + internal_static_ChatMessageInfo_descriptor = getDescriptor().getMessageTypes().get(7); + internal_static_ChatMessageInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ChatMessageInfo_descriptor, + new java.lang.String[] { + "AddedTime", "Message", "Indicator", + }); + internal_static_BiomeInfo_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_BiomeInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_BiomeInfo_descriptor, + new java.lang.String[] { + "BiomeName", "CenterX", "CenterY", "CenterZ", + }); + internal_static_NearbyBiome_descriptor = getDescriptor().getMessageTypes().get(9); + internal_static_NearbyBiome_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_NearbyBiome_descriptor, + new java.lang.String[] { + "BiomeName", "X", "Y", "Z", + }); + internal_static_HeightInfo_descriptor = getDescriptor().getMessageTypes().get(10); + internal_static_HeightInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_HeightInfo_descriptor, + new java.lang.String[] { + "X", "Z", "Height", "BlockName", + }); + internal_static_ObservationSpaceMessage_descriptor = getDescriptor().getMessageTypes().get(11); + internal_static_ObservationSpaceMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ObservationSpaceMessage_descriptor, + new java.lang.String[] { + "Image", + "X", + "Y", + "Z", + "Yaw", + "Pitch", + "Health", + "FoodLevel", + "SaturationLevel", + "IsDead", + "Inventory", + "RaycastResult", + "SoundSubtitles", + "StatusEffects", + "KilledStatistics", + "MinedStatistics", + "MiscStatistics", + "VisibleEntities", + "SurroundingEntities", + "BobberThrown", + "Experience", + "WorldTime", + "LastDeathMessage", + "Image2", + "SurroundingBlocks", + "EyeInBlock", + "Suffocating", + "ChatMessages", + "BiomeInfo", + "NearbyBiomes", + "SubmergedInWater", + "IsInLava", + "SubmergedInLava", + "HeightInfo", + "IsOnGround", + "IsTouchingWater", + "IpcHandle", + }); internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor = - internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(0); - internal_static_ObservationSpaceMessage_KilledStatisticsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(0); + internal_static_ObservationSpaceMessage_KilledStatisticsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ObservationSpaceMessage_KilledStatisticsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor = - internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(1); - internal_static_ObservationSpaceMessage_MinedStatisticsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(1); + internal_static_ObservationSpaceMessage_MinedStatisticsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ObservationSpaceMessage_MinedStatisticsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor = - internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(2); - internal_static_ObservationSpaceMessage_MiscStatisticsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(2); + internal_static_ObservationSpaceMessage_MiscStatisticsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ObservationSpaceMessage_MiscStatisticsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor = - internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(3); - internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + internal_static_ObservationSpaceMessage_descriptor.getNestedTypes().get(3); + internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_ObservationSpaceMessage_SurroundingEntitiesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); descriptor.resolveAllFeaturesImmutable(); } From 24a2436e4e25de56521e5294720b7cae314145c3 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 19:43:38 +0900 Subject: [PATCH 14/15] =?UTF-8?q?=F0=9F=92=9A=20Fix=20google-java-format?= =?UTF-8?q?=20for=20latest=20java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/java-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/java-format.yml b/.github/workflows/java-format.yml index 5771ba37..11281615 100644 --- a/.github/workflows/java-format.yml +++ b/.github/workflows/java-format.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - name: Install google-java-format run: | - curl -Lo google-java-format.jar https://github.com/google/google-java-format/releases/download/v1.17.0/google-java-format-1.17.0-all-deps.jar + curl -Lo google-java-format.jar https://github.com/google/google-java-format/releases/download/v1.25.2/google-java-format-1.25.2-all-deps.jar - name: Check formatting run: | java -jar google-java-format.jar --dry-run --set-exit-if-changed $(find . -name '*.java') From 1969ff9473d4d02b25caffe7380cc5fb7225ffa8 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 19:46:43 +0900 Subject: [PATCH 15/15] =?UTF-8?q?=F0=9F=92=9A=20Fix=20java=20version=20for?= =?UTF-8?q?=20formatter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/java-format.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/java-format.yml b/.github/workflows/java-format.yml index 11281615..396a6756 100644 --- a/.github/workflows/java-format.yml +++ b/.github/workflows/java-format.yml @@ -10,9 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + - name: Install google-java-format run: | curl -Lo google-java-format.jar https://github.com/google/google-java-format/releases/download/v1.25.2/google-java-format-1.25.2-all-deps.jar + - name: Check formatting run: | java -jar google-java-format.jar --dry-run --set-exit-if-changed $(find . -name '*.java')