Improve clarity in `credits` and `mod_authors` formatting within `gradle.properties`. Removed redundant player message handling logic in `Window.java` to streamline block activation behavior.
Reversed client/server check to ensure correct logic during block activation. Added a server-side message to notify players when the block is activated. This improves clarity and ensures consistent behavior across client and server.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
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>
Simplified the onBlockActivated logic for clarity and better separation of client and server behavior. Added null checks, improved crouching interaction handling, and adjusted dimension change logic. Registered the "window" block and updated the language file to include its name. Added comments so i can know what is going on later.
This change ensures players receive immediate client-side feedback when a block is activated. The addition improves user experience by providing clearer interaction confirmation.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
Updated the `Window` block's interaction method to provide clearer client and server-side feedback, aiding in debugging issues with teleportation and block activation. Added comments to clarify functionality and organized code for better readability.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>