Commit graph

36 commits

Author SHA1 Message Date
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
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
d962b7d8b7 trying use to see if it works instead of onBlockActivated 2025-05-16 08:47:54 -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
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
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
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
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
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
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
c7269ce21c Adding achevements and trying to get subtle knife to place a block. 2025-05-13 09:17:14 -05:00
dragonruler1000
170d0dbdef Made the block of dust emmit light and made the subtle knife send a message to chat when used. 2025-05-13 07:49:04 -05:00
dragonruler1000
fd080d8e30 Updated recipe for dust and changed texture. Also trying to get Subtle Knife to work. 2025-05-12 21:18:26 -05:00
dragonruler1000
590254167b removed unused imports 2025-05-12 12:34:24 -05:00
dragonruler1000
c2e75fdb20 working on adding the subtle knife. 2025-05-12 12:33:51 -05:00
dragonruler1000
7df8f28c16 Trying to fix the issue with recipes 2025-05-11 20:08:31 -05:00
dragonruler1000
b956947e28 Fixed texture issues with Dust Block and added recipe for turning block of dust into dust. 2025-05-11 19:32:13 -05:00
dragonruler1000
c12f41f1a4 Added a recipe. just need to get it to work. 2025-05-09 09:32:54 -05:00
dragonruler1000
15d8ab29b9 got the item form to work. 2025-05-09 08:59:57 -05:00
dragonruler1000
6115aeb503 Working on adding a Block of Dust 2025-05-09 08:46:18 -05:00
dragonruler1000
5f94c642db Added item tab and removed unused folder 2025-05-09 08:06:04 -05:00
dragonruler1000
edf1b8b2d0 Working on getting a dust item added. 2025-05-08 21:33:16 -05:00
dragonruler1000
547e612065 Switched mappings 2025-05-08 16:00:27 -05:00
dragonruler1000
4f1e808d99 Working on adding a test dimension.
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-03 16:19:50 -05:00
dragonruler1000
5485126da7 updated subtle knife attack speed and added a texture for the omelet
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-03 15:23:50 -05:00
dragonruler1000
902e814ee5 Got the Subtle knife to do damage
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-03 15:17:02 -05:00
dragonruler1000
8d7cb26295 Merge remote-tracking branch 'origin/master' 2025-05-03 14:33:44 -05:00
dragonruler1000
60d2e3d601 added a subtle knife item and a omelet food. 2025-05-03 14:33:35 -05:00
dragonruler1000
6c528ab1fd added a subtle knife item and a omelet food. 2025-05-03 14:31:43 -05:00
dragonruler1000
4ba4baf956
adding previus readme and license 2025-05-03 12:14:20 -05:00
dragonruler1000
11a1864132 Initial commit
Signed-off-by: dragonruler1000 <github@me.minecraftchest2.us>
2025-05-03 12:09:47 -05:00