Add credits field and fix portal block activation logic

Added a "credits" field to gradle properties and updated its usage in the build script. Refactored `onBlockActivated` logic in the `Window` block to improve code clarity and handle dimension-specific teleportation more robustly. Updated `ModBlocks` to properly register the custom `Window` block.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
This commit is contained in:
dragonruler1000 2025-05-17 15:49:16 -05:00 committed by dragonruler1000
parent d962b7d8b7
commit 8de9596a60
4 changed files with 27 additions and 22 deletions

View file

@ -45,5 +45,6 @@ mod_version=1.2
mod_group_id=us.minecraftchest2
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_authors=Minecraftchest2
credits=Everyone on the Tardis Mod Discord and on the hackclub slack that helped me debug my mod.
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
mod_description=A Mod Inspired by "His Dark Materials" By Philip Pullman