14 Commits

Author SHA1 Message Date
92e9c996b9 Updated README for 1.4.1 release
All checks were successful
build / build (push) Successful in 1m17s
2025-05-20 12:20:49 +02:00
dd50ff0376 Fixed BlockMixin for 1.21.4
All checks were successful
build / build (push) Successful in 1m16s
2025-05-20 12:15:16 +02:00
d2fd497f26 Merge branch 'master' into 1.21.4 2025-05-20 12:10:17 +02:00
563febe36f Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m16s
# Conflicts:
#	src/main/resources/fabric.mod.json
2025-04-12 17:31:34 +02:00
38a244b023 Added correct ModMenu version for 1.21.4
All checks were successful
build / build (push) Successful in 1m21s
2025-04-07 10:37:17 +02:00
868e71eb10 Fixed typo 2025-04-07 10:37:07 +02:00
2a106c9a03 Merge branch 'master' into 1.21.4
# Conflicts:
#	gradle.properties
2025-04-07 10:33:20 +02:00
1d0f7f0f05 Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m9s
2025-04-06 12:25:41 +02:00
52a97dc2c1 Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m11s
2025-03-30 23:33:15 +02:00
5916cc5cc2 Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m2s
2025-03-30 18:16:16 +02:00
4e58bede4b Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m5s
2025-03-30 17:58:58 +02:00
130b2db727 Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m8s
2025-03-30 17:28:42 +02:00
c993621bdb Merge branch 'master' into 1.21.4
All checks were successful
build / build (push) Successful in 1m7s
2025-03-30 17:13:15 +02:00
b89ab99928 Downgraded mod to 1.21.4
All checks were successful
build / build (push) Successful in 1m8s
2025-03-30 17:06:42 +02:00
4 changed files with 74 additions and 85 deletions

View File

@ -9,16 +9,16 @@ As a challenge I'm trying to make it as user-friendly as possible.
## Server Side
- Custom join message
![Join Message](https://i.imgur.com/7uv5lUb.png)
![Join Message](https://i.imgur.com/7uv5lUb.png)
- Custom quit message
![Quit Message](https://i.imgur.com/OhFq1BT.png)
![Quit Message](https://i.imgur.com/OhFq1BT.png)
- Custom chat message
![Chat Message](https://i.imgur.com/PDwRywP.png)
![Chat Message](https://i.imgur.com/PDwRywP.png)
- Tab list dimension indicator
![Overworld](https://i.imgur.com/FB1Y7gD.png)
![Nether](https://i.imgur.com/XxJDL7u.png)
![End](https://i.imgur.com/t5u9goh.png)
![Spectator](https://i.imgur.com/eEn4V9S.png)
![Overworld](https://i.imgur.com/FB1Y7gD.png)
![Nether](https://i.imgur.com/XxJDL7u.png)
![End](https://i.imgur.com/t5u9goh.png)
![Spectator](https://i.imgur.com/eEn4V9S.png)
- Config
- Configurable messages
- Feature toggle
@ -27,10 +27,15 @@ As a challenge I'm trying to make it as user-friendly as possible.
- Shared EC Access control (via config)
- Open/close EC block while opening/closing SEC
- Play open & close sounds
- Vein miner
Code inspired by Inferis!
![VeinMiner](https://i.imgur.com/zOXWMNa.gif)
- Vein miner
- Configurable animation (tick delay)
- Leaves veinmineable using shears
Code inspired by Inferis!
![VeinMiner](https://i.imgur.com/zOXWMNa.gif)
- Chat Calculator
- Check if operator is present before calculating
- Replenish
### Commands
- /spectator | Essentially server-side free-cam, you get put in spectator and are able to fly around, once you use the command again you get put back to where you were.
@ -43,38 +48,22 @@ Code inspired by Inferis!
![Teleportation Keybindings](https://i.imgur.com/gjO1H3d.png)
- Remove game fog (lava, water, etc.)
- All types individually toggleable
- Mod Menu integration
- Automatic config adaption (currently booleans only)
- Remove darkness effect
- Toggleable
- Keybinding for /spectator
# Currently working on
## Server Side
- [x] Chat Calculator
- [x] Check if operator is present before calculating
- Vein Miner
- [x] Configurable animation (tick delay)
- [x] Leaves veinmineable using shears
- [x] Replenish
## Client Side
- [x] Render block entities from a longer range
- [x] Toggleable via GUI
- [x] Configurable value
- [x] In GUI
- [x] Rework Mod Menu integration to be more flexible
DISCLAIMER: this is NOT perfect and still needs to be reworked, I'm just too lazy right now...
- Render block entities from a longer range
- Toggleable via GUI
- Configurable value
- In GUI
- Mod Menu integration
DISCLAIMER: this is NOT perfect and still needs to be reworked, I'm just too lazy right now...
- The following types are accepted:
- String
- Boolean
- Float
- Integer
- [x] Zoom
- [x] Configurable
- Zoom
- Configurable
- Smooth zoom
- Initial zoom value
- Zoom step value

View File

@ -4,8 +4,8 @@ org.gradle.parallel=true
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.5
yarn_mappings=1.21.5+build.1
minecraft_version=1.21.4
yarn_mappings=1.21.4+build.8
loader_version=0.16.10
# Mod Properties
@ -14,6 +14,6 @@ maven_group=wtf.hak.survivalfabric
archives_base_name=survivalfabric
# Dependencies
fabric_version=0.119.5+1.21.5
fabric_version=0.119.0+1.21.4
modmenu_version=14.0.0-rc.2
modmenu_version=13.0.3

View File

@ -37,7 +37,7 @@ public abstract class BlockMixin {
Block seedBlock = state.getBlock();
List<ItemStack> drops = Block.getDroppedStacks(state, (ServerWorld) world, pos, null, player, mainHand);
if (removeIfAvailable(drops, seedItem)) {
if (player.getGameMode() != GameMode.CREATIVE) {
if (!player.isCreative()) {
for (ItemStack drop : drops) {
Block.dropStack(world, pos, drop);
}

View File

@ -1,48 +1,48 @@
{
"schemaVersion": 1,
"id": "survivalfabric",
"version": "${version}",
"name": "SurvivalFabric",
"description": "Adds a few QOL features to your Survival!",
"authors": [
"AlwaysHAK"
],
"contact": {
"homepage": "https://hak.wtf",
"sources": "https://git.hak.wtf/hkuijlman/SurvivalFabric",
"issues": "https://git.hak.wtf/hkuijlman/SurvivalFabric/issues"
},
"license": "CC0-1.0",
"icon": "assets/survivalfabric/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"wtf.hak.survivalfabric.SurvivalFabric"
],
"client": [
"wtf.hak.survivalfabric.SurvivalFabricClient"
],
"fabric-datagen": [
"wtf.hak.survivalfabric.SurvivalFabricDataGenerator"
],
"modmenu": [
"wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
]
},
"mixins": [
"survivalfabric.mixins.json",
{
"config": "survivalfabric.client.mixins.json",
"environment": "client"
}
],
"depends": {
"fabricloader": ">=0.16.10",
"minecraft": "~1.21.5",
"java": ">=21",
"fabric-api": "*"
},
"optional": {
"modmenu": "*"
}
"schemaVersion": 1,
"id": "survivalfabric",
"version": "${version}",
"name": "SurvivalFabric",
"description": "Adds a few QOL features to your Survival!",
"authors": [
"AlwaysHAK"
],
"contact": {
"homepage": "https://hak.wtf",
"sources": "https://git.hak.wtf/hkuijlman/SurvivalFabric",
"issues": "https://git.hak.wtf/hkuijlman/SurvivalFabric/issues"
},
"license": "CC0-1.0",
"icon": "assets/survivalfabric/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"wtf.hak.survivalfabric.SurvivalFabric"
],
"client": [
"wtf.hak.survivalfabric.SurvivalFabricClient"
],
"fabric-datagen": [
"wtf.hak.survivalfabric.SurvivalFabricDataGenerator"
],
"modmenu": [
"wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
]
},
"mixins": [
"survivalfabric.mixins.json",
{
"config": "survivalfabric.client.mixins.json",
"environment": "client"
}
],
"depends": {
"fabricloader": ">=0.16.10",
"minecraft": "~1.21.4",
"java": ">=21",
"fabric-api": "*"
},
"optional": {
"modmenu": "*"
}
}