Commit graph

78 commits

Author SHA1 Message Date
dragonruler1000
68c4c9bb50
Merge pull request #27 from dragonruler1000/DEV
Dev
2025-06-27 21:48:35 -05:00
dragonruler1000
092a473abd Updated the portal block texture
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-06-27 20:34:31 -05:00
dragonruler1000
3085bd5d92 Update mod version to 1.2.3, rename DustHouseStructure to HouseStructure, and implement structure generation for plains biomes. Updated textures for the subtle knife and omelet items and the house structure should now generate.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-06-26 20:19:03 -05:00
dragonruler1000
5a27c4ab2e Introduce dimensional event handling and improve loot table configuration
Added `ModWorldEvents` class to manage custom dimensional events and ensure proper spacing in server world generation. Enhanced block_of_dust loot table with weighted drop chances and refined access transformer configuration in `build.gradle`. Integrated structure setup initialization in pre-loading event.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-28 17:43:08 -05:00
dragonruler1000
bcd5a40813 Introduce custom DustHouse structure and update mod configuration
Added a new DustHouse structure with associated registration logic and configuration settings. Updated `gradle.properties`, introduced `accesstransformer.cfg`, and added JSON and NBT files for structure generation. Fixed typo in gradle daemon setting.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-28 12:29:12 -05:00
dragonruler1000
15b1027f9b Add smelting recipe for cooked omelet to the mod
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-28 11:15:15 -05:00
dragonruler1000
059f2d881b Add cooked omelet item, recipe, and HDM dimension support
Introduced the cooked omelet item with functionality and crafting recipe. Added recognition for the "HDM Dimension" in teleportation logic. Updated gradle settings to enable daemon for faster builds.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-28 11:14:13 -05:00
dragonruler1000
7547f751e2
Merge pull request #26 from dragonruler1000/DEV
fixed tetures for the block of dust and window blocks
2025-05-27 10:16:19 -05:00
dragonruler1000
89cff4ca48 fixed tetures for the block of dust and window blocks 2025-05-27 10:15:56 -05:00
dragonruler1000
f7777980c3
Merge pull request #25 from dragonruler1000/DEV
Add welcome message to dimensions and introduce config support
2025-05-24 10:18:50 -05:00
dragonruler1000
a9303a44cb Add welcome message to dimensions and introduce config support
Players entering non-overworld dimensions now receive a tailored welcome message. Additionally, basic configuration support has been introduced, laying the foundation for future customization. Updated mod version to 1.2.1 to reflect these changes.
2025-05-24 10:18:18 -05:00
dragonruler1000
c1e69d76a5
Merge pull request #23 from dragonruler1000/DEV
Trying to fix broken textures
2025-05-22 20:55:24 -05:00
dragonruler1000
a8d47d1845 Trying to fix broken textures
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-22 20:54:02 -05:00
dragonruler1000
e632fbe891
Merge pull request #22 from dragonruler1000/DEV
Refactor teleportation logic and add custom dimension config
2025-05-22 20:16:12 -05:00
dragonruler1000
02d4df7c55 Refactor teleportation logic and add custom dimension config
Simplified portal activation logic to improve readability and efficiency, removing redundant checks and consolidating teleport code paths. Added configuration file for the "world1" custom dimension, defining its properties and behavior and fixing the bug I was having.
2025-05-22 20:14:18 -05:00
dragonruler1000
c4cacd402b
Merge pull request #21 from dragonruler1000/DEV
Refactor and enhance documentation for Window block class
2025-05-21 22:17:05 -05:00
dragonruler1000
79949bc13b Refactor and enhance documentation for Window block class
Improved clarity and consistency in code comments for the Window block, providing better explanations of its functionality and behaviors. Refactored shape and teleportation logic comments for better readability. No functional changes were introduced.
2025-05-21 22:16:36 -05:00
dragonruler1000
ede9ae1339
Merge pull request #20 from dragonruler1000/DEV
Add credits field to mods.toml and clean up imports in Window.java
2025-05-20 20:58:35 -05:00
dragonruler1000
1289e20bc0 Add credits field to mods.toml and clean up imports in Window.java
The mods.toml file now includes a credits field so it shows up in the mod list. Additionally, unused imports in Window.java were removed to improve code readability and maintainability.
2025-05-20 20:55:44 -05:00
dragonruler1000
8a422e725f
Merge pull request #19 from dragonruler1000/DEV
Fix incorrect remote check in Window block activation
2025-05-19 22:23:44 -05:00
dragonruler1000
9cad3a926e Fix incorrect remote check in Window block activation
Previously, the remote check in the `onBlockActivated` method was reversed, causing improper behavior. This update corrects the logic to handle block activation appropriately on the client side. Additionally, an unused import line was cleaned up for clarity.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-19 22:22:13 -05:00
dragonruler1000
afc8ae209e
Merge pull request #18 from dragonruler1000/DEV
trying to fix issues with the window block and add a credits line to the mod info.
2025-05-19 08:57:50 -05:00
dragonruler1000
a540f3bf60 Refactor gradle properties and clean up Window block logic
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.
2025-05-19 08:56:16 -05:00
dragonruler1000
ef61988f61 Fix block activation logic and add server-side message
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>
2025-05-17 16:42:03 -05:00
dragonruler1000
bcf7cbd7d1
Merge pull request #17 from dragonruler1000/DEV
Add credits field and fix portal block activation logic
2025-05-17 15:50:00 -05:00
dragonruler1000
8de9596a60 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>
2025-05-17 15:49:16 -05:00
dragonruler1000
9281cf5c65
Merge pull request #16 from dragonruler1000/DEV
trying `use` to see if it works instead of `onBlockActivated`
2025-05-16 08:48:22 -05:00
dragonruler1000
d962b7d8b7 trying use to see if it works instead of onBlockActivated 2025-05-16 08:47:54 -05:00
dragonruler1000
c43a75739f
Merge pull request #15 from dragonruler1000/DEV
trying to fix problem with portal block.
2025-05-15 11:07:25 -05:00
dragonruler1000
748ab1b988 Refactor Window block interactions and register new block
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.
2025-05-15 11:06:33 -05:00
dragonruler1000
249c235220 Added comments to know what is going on later.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-15 09:23:27 -05:00
dragonruler1000
5b390d20c6 Add client-side status message on block activation
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>
2025-05-15 09:08:38 -05:00
dragonruler1000
0c0a9c5998
Merge pull request #14 from dragonruler1000/DEV
Trying an optimised teleport function
- added a debug message to see if the block was being activated.
2025-05-15 09:02:48 -05:00
dragonruler1000
670cd542c9 Trying an optimised teleport function
added a debug message to see if the block was being activated.

Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-15 09:00:29 -05:00
dragonruler1000
73d41b9179
Merge pull request #13 from dragonruler1000/DEV
Trying to find out issue with window block.
2025-05-14 21:42:16 -05:00
dragonruler1000
44581d576f Refactor Window block interaction logic for debugging.
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>
2025-05-14 21:40:52 -05:00
dragonruler1000
6915d2ae90 Adding a block activated check.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 21:04:59 -05:00
dragonruler1000
d7c9678147
Merge pull request #12 from dragonruler1000/DEV
Adding chat message to state if target location is good and re-adding some important lines of code.
2025-05-14 21:00:34 -05:00
dragonruler1000
c06d73ebff readded stuff that was accidently removed.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 20:57:28 -05:00
dragonruler1000
8f94831df0 trying to get a chat message to show in the chat if the portal cant find an aplicable loccation.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 10:53:39 -05:00
dragonruler1000
174779c550
Merge pull request #11 from dragonruler1000/DEV
fixing textures
2025-05-14 10:21:02 -05:00
dragonruler1000
cc98e7cd6b Fixing textures.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 10:19:23 -05:00
dragonruler1000
862a29a548 adding textures and updating gitignore
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 10:09:27 -05:00
dragonruler1000
6e40197dd9
Merge pull request #10 from dragonruler1000/DEV
Added a new dimension and trying to get right click to change the dimention
2025-05-14 10:01:22 -05:00
dragonruler1000
ed5d8d1006 Added a new dimension and trying to get right click to change the dimention.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-14 09:07:46 -05:00
dragonruler1000
572719fd30
Merge pull request #9 from dragonruler1000/DEV
Added a window block and working on portal stuff.
2025-05-13 16:59:25 -05:00
dragonruler1000
a195450501 Added a window block and working on portal stuff.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-13 16:58:44 -05:00
dragonruler1000
527155ba20
Update README.md
added link to wiki
2025-05-13 12:34:40 -05:00
dragonruler1000
d08ea83cbb
Merge pull request #7 from dragonruler1000/DEV
Adding achevements and trying to get subtle knife to place a block.
2025-05-13 09:17:43 -05:00
dragonruler1000
c7269ce21c Adding achevements and trying to get subtle knife to place a block. 2025-05-13 09:17:14 -05:00