Описание
# Hackosaur Mod
ok so this is my minecraft mod for 1.21.1. got some items that do stuff
you can glide around,
mine ores and sometimes get extra drops,
and shoot lightning at things. pretty cool i guess
---
## building it
the jar file ends up here after you build:
`build/libs/Hackosaur-1.0.0.jar`
if you wanna build and run it yourself:
```bash
# build it
./gradlew.bat clean build
# run the game with the mod
./gradlew.bat runClient
# or run a server idk
./gradlew.bat runServer
```
## installing
you need fabric loader for 1.21.1 from https://fabricmc.net
also grab fabric api and put it in your mods folder
then just drop the Hackosaur jar in `.minecraft/mods/` and you're good
## what's in it
### hackclub banner
`/give @s hackosaur:hackclub_banner`
red and white banner thing, you can only have 1 at a time for some reason
### glitch pickaxe
`/give @s hackosaur:glitch_pickaxe`
purple pickaxe, diamond tier. has a 25% chance to dupe ore drops which is kinda broken but whatever
it prints a bunch of debug stuff to console when you mine
### flag of flight
`/give @s hackosaur:flag_of_flight`
hold it while falling and you glide down slowly
also you don't take fall damage which is nice
### lightning staff
`/give @s hackosaur:lightning_staff`
right click and it shoots lightning where you're looking (up to 50 blocks away)
has 64 uses and a 3 second cooldown
craft it with: diamond + 2 gold ingots + 2 sticks
be careful not to blow up your house lol
## debug stuff
there's a ton of console spam because i wanted to see what was happening:
- when items get registered
- every time you mine something
- lightning strikes
- gliding
you can probably remove that stuff if it's annoying
## issues
textures are kinda basic but they work
no sounds yet
lightning staff might be too op idk
## what works
- java 21 ✓
- minecraft 1.21.1 ✓
- all items have textures and can be crafted ✓
- glitch pickaxe ore duplication ✓
- flag of flight gliding ✓
- lightning staff ✓
## testing it
just run `./gradlew.bat runClient` and mess around
if you change something rebuild with `./gradlew.bat build`
that's it i guess, have fun