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

@ -141,7 +141,7 @@ tasks.named('processResources', ProcessResources).configure {
forge_version : forge_version, forge_version_range: forge_version_range,
loader_version_range: loader_version_range,
mod_id : mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
mod_authors : mod_authors, mod_description: mod_description,]
mod_authors : mod_authors, credits: credits, mod_description: mod_description,]
inputs.properties replaceProperties