1
0
forked from jzitnik/twodcraft

52 Commits

Author SHA1 Message Date
f09519773b
feat(saving): Use kryo for serialization
This will probably be more expanded in future. But for now this approach
works without some major issues. But ofc things like data migration etc
doesn't work.
2025-04-07 20:59:51 +02:00
1d29972087
feat(ui): Options tab 2025-04-04 07:43:00 +02:00
8c161180e6
feat(sounds): Added sounds
This currently doesn't work idk why. Will fix later.
2025-03-28 18:43:08 +01:00
e58c7be90d
fix: Mined sound 2025-03-28 15:30:03 +01:00
25fb664b8d
fix: Annotation on annotation
Yeah I'm dumb I know. But whatever this code doesn't have any real value
anyways other than finding weird things about java. Like really why am I
doing this to my self.

Why do I even code? What’s the point? Does it even matter? I don’t even enjoy it—I do it because I’m not good at anything else. I've lost all motivation to code. I have about 30 unfinished projects and not a single one completed.

I go to school, but honestly, it feels like a waste of time... Yet, what else would I do? Code? For what? What is programming even for?
Sometimes I wonder, what value do I even have in this life?

What’s the point of school? To get a good job? And what’s the point of a good job? Money? And money—what for? To survive? And surviving—for what? To... To...

Why am I even coding in Java? Why do I do this to myself? I could be peacefully writing in Rust, but no—I’m stuck here, suffering with this cursed Java.

Hope nobody’s reading this. And if you are, well—I hope you have a great day.
Got a little carried away there. Alright, back to focusing on English class...

But why should I? I can speak English just fine. Why do we study history? "Because it’s basic knowledge." Yeah, well, you can shove your basic knowledge where the sun doesn’t shine.

I feel like I’m wasting my life. The last five years...
2025-03-28 08:50:53 +01:00
a8e80c405d
notworking: Idk 2025-03-28 08:17:13 +01:00
433dbf6f96
refactor(sounds): Rewritten code for sound to ogg
Now SoundPlayer class supports only .ogg files instead of wav file which
can reduce the final .jar file size drastically. It uses library.
2025-03-27 21:39:12 +01:00
a84d3bec00
feat(sounds): Added dirt and gravel sound 2025-03-26 21:15:28 +01:00
c674663cc0
feat(sounds): Added some new sounds 2025-03-26 20:46:52 +01:00
95e1e52205
feat(sounds): Added simple sounds 2025-03-26 18:11:22 +01:00
b1483c138a
feat(ui): Added hurt animation 2025-03-26 13:01:46 +01:00
8b09d71a44
feat(gameplay): Added day-night cycle 2025-03-26 11:31:25 +01:00
8b8c23dad4
feat: Implemented block burning spreading 2025-03-22 13:01:02 +01:00
36e57bbb8d
feat: Added reducing fall damage 2025-03-21 18:05:51 +01:00
bffee19583
feat: Implemented growing 2025-03-21 10:18:13 +01:00
9fc72a67ec
feat: Implemented farmland 2025-03-21 07:28:10 +01:00
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
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
bf5f837c45
feat: Implemented milk 2025-03-14 16:14:10 +01:00
0aa161361b
feat: Implemented break on place 2025-03-14 10:53:23 +01:00
9aa08dd685
refactor: Rewritten smelting using annotations 2025-03-13 23:12:18 +01:00
fd6fcf950c
chore: Minor changes 2025-03-13 10:32:54 +01:00
15a6ab2898
feat: Implemented durability 2025-03-12 11:58:07 +01:00
ed921ff6cd
style: Reformated SpriteLoader and minor changes 2025-03-11 12:29:04 +01:00
58de8c652b
fix: Reset mining when saved 2025-03-10 20:32:37 +01:00
9e42e7ade8
feat: Implemented events and added placeonsolid 2025-03-09 12:03:04 +01:00
5e45851e04
chore: Some minor changes 2025-03-08 17:53:47 +01:00
32fba49587
feat: Implemented saving of world 2025-03-08 17:36:59 +01:00
bc7480459a
feat: Started implementing oak sapling logic 2025-03-08 11:06:11 +01:00
ee12ccb6d7
lint: Linting and formatting 2025-03-07 11:36:43 +01:00
05e76bd0d0
fix: Small bugfix 2025-03-07 10:03:51 +01:00
8aa0cba5df
feat: Implemented ItemBlockSupplier references 2025-03-07 08:03:43 +01:00
f5d2920a9a
chore: Water placement 2025-03-03 18:58:59 +01:00
451845b2bc
feat: Implemented water 2025-03-02 19:53:19 +01:00
0e5ece68fb
feat: Added killing mobs 2025-03-01 21:01:12 +01:00
940c3f3fe5
feat: Implemented pig spawning and pig walking 2025-03-01 17:29:30 +01:00
e8e9d826bb
feat: Started implementing pig and health and hunger 2025-02-28 18:05:33 +01:00
91882fabc0
feat: Implemented healthbar 2025-02-28 13:56:55 +01:00
e6bcce7765
feat: Implemented furnace 2025-02-27 07:54:33 +01:00
91724dbeb2
feat: Chest and other changes 2025-02-26 14:25:09 +01:00
369164c767
fix: Build 2025-02-24 21:05:32 +01:00
15c5e7fea0
feat: Implemented full crafting 2025-02-24 20:50:15 +01:00
03a663258b
feat: Implemented crafting 2025-02-23 22:02:22 +01:00
1209092a9c
feat: Started implementing crafting 2025-02-21 18:25:58 +01:00
c6b4af7f72
feat: Implemented inventory 2025-02-20 21:18:43 +01:00
07ef87d42b
feat: Implemented hotbar and started working on building 2025-02-20 10:19:01 +01:00
3d4a453e1b
feat: Implemented hotbar 2025-02-19 21:33:08 +01:00
2d53047e75
feat: Implemented breaking animation 2025-02-19 16:11:36 +01:00
a359bedd3a
feat: Implemented mouse events and block breaking 2025-02-18 23:01:06 +01:00
b4641c5c86
chore: Minor changes 2025-02-18 13:04:18 +01:00