From 299bbb308b3192793ee1dd819deb4dcb71a6ad93 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 20:34:00 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=96=20Update=20tag=20to=2028?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4cc70f2f..1a0f3a78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "scikit_build_core.build" [project] name = "craftground" -version = "2.5.27" +version = "2.5.28" description = "Lightweight Minecraft Environment for Reinforcement Learning" readme = "README.md" license = { file = "LICENSE" } From f32fcfd797b1742c0b20f7f6b0ab03dc0fb427ba Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 20:54:44 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20Fix=20gym=20observation=20sp?= =?UTF-8?q?ace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/craftground/environment.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1a0f3a78..8f509191 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "scikit_build_core.build" [project] name = "craftground" -version = "2.5.28" +version = "2.5.29" description = "Lightweight Minecraft Environment for Reinforcement Learning" readme = "README.md" license = { file = "LICENSE" } diff --git a/src/craftground/environment.py b/src/craftground/environment.py index b2e6cf1f..87514c26 100644 --- a/src/craftground/environment.py +++ b/src/craftground/environment.py @@ -275,9 +275,7 @@ def __init__( "mined_statistics": spaces.Dict(), "misc_statistics": spaces.Dict(), "visible_entities": spaces.Sequence(entity_info_space), - "surrounding_entities": spaces.Dict( - entities_within_distance_space - ), # you need to decide how to handle this + "surrounding_entities": entities_within_distance_space, # This is actually "bobber_thrown": spaces.Discrete(2), "experience": spaces.Box( low=0, high=np.inf, shape=(1,), dtype=np.int32