Commit Graph

119 Commits

Author SHA1 Message Date
jzitnik 2fb1929efe fix: Build 2025-03-26 20:57:37 +01:00
jzitnik c674663cc0 feat(sounds): Added some new sounds 2025-03-26 20:46:52 +01:00
jzitnik 95e1e52205 feat(sounds): Added simple sounds 2025-03-26 18:11:22 +01:00
jull 0fd5689db7 feat(blocks): Tall flowers
Co-authored-by: jull <sefljulie@gmail.com>
Co-committed-by: jull <sefljulie@gmail.com>
2025-03-26 16:51:39 +00:00
jzitnik b1483c138a feat(ui): Added hurt animation 2025-03-26 13:01:46 +01:00
jzitnik 8b09d71a44 feat(gameplay): Added day-night cycle 2025-03-26 11:31:25 +01:00
jzitnik ca98fe7fae perf(sprites): Optimized numbers
Now numbers are lazy loaded
2025-03-25 12:58:14 +01:00
jzitnik 1c1230a1d0 fix(sprites): Fixed breaking sprite 2025-03-25 12:22:25 +01:00
jzitnik b4bf76ef37 perf(sprites): Optimized loading of resources
Added lazy loading of resources. The resource was previously loaded on
each render, but now it is loaded the first time it is used and stays in
memory.
2025-03-25 12:05:38 +01:00
jzitnik 2ecca0fa52 chore: Minor changes 2025-03-25 08:22:09 +01:00
jzitnik b6c0e730d3 chore(logging): Implemented basic logging 2025-03-23 13:54:51 +01:00
jzitnik c1674d7866 fix: Leaves falling when base out of loaded radius 2025-03-23 11:04:24 +01:00
jzitnik 0bd9dfb412 feat: Implemented catching on fire from lava 2025-03-23 10:57:34 +01:00
jzitnik d7b4e28e81 feat: Added gravel 2025-03-22 16:26:00 +01:00
jzitnik da92b9e61a feat: Added flint and steel 2025-03-22 15:43:31 +01:00
jzitnik 8b8c23dad4 feat: Implemented block burning spreading 2025-03-22 13:01:02 +01:00
jzitnik 36e57bbb8d feat: Added reducing fall damage 2025-03-21 18:05:51 +01:00
jzitnik f20d17adf6 feat: Added haybale 2025-03-21 15:12:58 +01:00
jzitnik 4caeca4fed chore: Added license 2025-03-21 11:42:09 +01:00
jzitnik d2d3efe399 fix: Grow length 2025-03-21 11:41:54 +01:00
jzitnik 064ae511d9 feat: Implemented wheat and bread 2025-03-21 11:29:59 +01:00
jzitnik bffee19583 feat: Implemented growing 2025-03-21 10:18:13 +01:00
jzitnik 9fc72a67ec feat: Implemented farmland 2025-03-21 07:28:10 +01:00
jzitnik bc33c5f531 feat: Twoblock block
Added new Sprite for creating two block tall blocks. This sprite takes 2
sprite files (top, bottom). Also created new annotation that handles
breaking and placing two block tall blocks and also manages the sprite
state.
2025-03-19 13:04:36 +01:00
jzitnik a610bcf3ca feat: Burning
Added Burning state so player will be burning even after he is out of
lava. Also added texture for fire that is added on top of steve texture
2025-03-17 13:24:11 +01:00
jzitnik 391cda0550 test(annotations): New tests for annotations
Added some new test for annotations @AutoTransient and @ThreadProvider.
These tests ensure that @AutoTransient is only used on transient fields
and @ThreadProvider is used on class that extend Thread.
2025-03-16 21:02:03 +01:00
jzitnik 53a3ae43f3 test(annotations): New @RequireAnnotation
New annotation @RequireAnnotation can be used on annotations so that all
classes with that specific annotation must also have another annotation.
If this is not true, test will not pass. This annotation takes array of
annotations.
2025-03-16 20:37:24 +01:00
jzitnik e1190f7e6a feat: Dyes and organized registry (#10)
Co-authored-by: jull <sefljulie@gmail.com>
Co-committed-by: jull <sefljulie@gmail.com>
2025-03-16 17:26:06 +00:00
jzitnik ae5d34b41a refactor(transient): Rewritten transient handling
Rewritten transient handling using @AutoTransient annotation. Now we
don't have to override readObject method to automatically initilize
transient properties in serilizable classes.
2025-03-16 18:20:18 +01:00
jzitnik c558b756de feat: Implemented text 2025-03-15 11:31:08 +01:00
jull a8c309d199 feat: Added flowers
Co-authored-by: jull <sefljulie@gmail.com>
Co-committed-by: jull <sefljulie@gmail.com>
2025-03-14 19:11:09 +00:00
jzitnik 20d9525fd2 chore: Idk 2025-03-14 18:07:15 +01:00
jzitnik d1a08eccf7 chore: I hate my life 2025-03-14 18:07:01 +01:00
jzitnik 8d1414dae0 feat: Move mobs down when block mined under them 2025-03-14 16:26:53 +01:00
jzitnik bf5f837c45 feat: Implemented milk 2025-03-14 16:14:10 +01:00
jzitnik 0546ad2748 chore: New crafting table texture 2025-03-14 13:26:10 +01:00
jzitnik dd7f1c041f feat: New grass growing logic using age 2025-03-14 11:44:54 +01:00
jzitnik 1cd8648a2a chore: New oak log texture 2025-03-14 11:27:39 +01:00
jzitnik 0aa161361b feat: Implemented break on place 2025-03-14 10:53:23 +01:00
jzitnik 9aa08dd685 refactor: Rewritten smelting using annotations 2025-03-13 23:12:18 +01:00
jzitnik 412959d456 feat: Falling blocks 2025-03-13 17:07:53 +01:00
jzitnik 4ef8e217ad feat: Water breaks grass 2025-03-13 13:24:43 +01:00
jzitnik f9b78f4236 feat: Change grass logic to grow next to grass 2025-03-13 10:39:00 +01:00
jzitnik fd6fcf950c chore: Minor changes 2025-03-13 10:32:54 +01:00
jzitnik 5d37f7d74f chore: Minor changes 2025-03-12 12:10:52 +01:00
jzitnik 15a6ab2898 feat: Implemented durability 2025-03-12 11:58:07 +01:00
jzitnik 5ae7536125 fix: Minor fixes 2025-03-12 10:18:37 +01:00
jzitnik 4041c8f7d2 feat: Better thread handling 2025-03-12 09:41:13 +01:00
jzitnik ed921ff6cd style: Reformated SpriteLoader and minor changes 2025-03-11 12:29:04 +01:00
jzitnik 58de8c652b fix: Reset mining when saved 2025-03-10 20:32:37 +01:00