Compare commits
13 Commits
master
...
dd50ff0376
Author | SHA1 | Date | |
---|---|---|---|
dd50ff0376 | |||
d2fd497f26 | |||
563febe36f | |||
38a244b023 | |||
868e71eb10 | |||
2a106c9a03 | |||
1d0f7f0f05 | |||
52a97dc2c1 | |||
5916cc5cc2 | |||
4e58bede4b | |||
130b2db727 | |||
c993621bdb | |||
b89ab99928 |
39
README.md
39
README.md
@ -27,15 +27,10 @@ As a challenge I'm trying to make it as user-friendly as possible.
|
|||||||
- Shared EC Access control (via config)
|
- Shared EC Access control (via config)
|
||||||
- Open/close EC block while opening/closing SEC
|
- Open/close EC block while opening/closing SEC
|
||||||
- Play open & close sounds
|
- Play open & close sounds
|
||||||
- Vein miner
|
- Vein miner
|
||||||
- Configurable animation (tick delay)
|
|
||||||
- Leaves veinmineable using shears
|
|
||||||
Code inspired by Inferis!
|
Code inspired by Inferis!
|
||||||

|

|
||||||
- Chat Calculator
|
- Chat Calculator
|
||||||
- Check if operator is present before calculating
|
|
||||||
- Replenish
|
|
||||||
|
|
||||||
|
|
||||||
### Commands
|
### 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.
|
- /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.
|
||||||
@ -48,22 +43,38 @@ Code inspired by Inferis!
|
|||||||

|

|
||||||
- Remove game fog (lava, water, etc.)
|
- Remove game fog (lava, water, etc.)
|
||||||
- All types individually toggleable
|
- All types individually toggleable
|
||||||
|
- Mod Menu integration
|
||||||
|
- Automatic config adaption (currently booleans only)
|
||||||
- Remove darkness effect
|
- Remove darkness effect
|
||||||
- Toggleable
|
- Toggleable
|
||||||
- Keybinding for /spectator
|
- Keybinding for /spectator
|
||||||
- Render block entities from a longer range
|
|
||||||
- Toggleable via GUI
|
# Currently working on
|
||||||
- Configurable value
|
|
||||||
- In GUI
|
## Server Side
|
||||||
- Mod Menu integration
|
- [x] Chat Calculator
|
||||||
DISCLAIMER: this is NOT perfect and still needs to be reworked, I'm just too lazy right now...
|
- [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...
|
||||||
- The following types are accepted:
|
- The following types are accepted:
|
||||||
- String
|
- String
|
||||||
- Boolean
|
- Boolean
|
||||||
- Float
|
- Float
|
||||||
- Integer
|
- Integer
|
||||||
- Zoom
|
- [x] Zoom
|
||||||
- Configurable
|
- [x] Configurable
|
||||||
- Smooth zoom
|
- Smooth zoom
|
||||||
- Initial zoom value
|
- Initial zoom value
|
||||||
- Zoom step value
|
- Zoom step value
|
||||||
|
@ -4,8 +4,8 @@ org.gradle.parallel=true
|
|||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/develop
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.21.5
|
minecraft_version=1.21.4
|
||||||
yarn_mappings=1.21.5+build.1
|
yarn_mappings=1.21.4+build.8
|
||||||
loader_version=0.16.10
|
loader_version=0.16.10
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
@ -14,6 +14,6 @@ maven_group=wtf.hak.survivalfabric
|
|||||||
archives_base_name=survivalfabric
|
archives_base_name=survivalfabric
|
||||||
|
|
||||||
# Dependencies
|
# 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
|
@ -37,7 +37,7 @@ public abstract class BlockMixin {
|
|||||||
Block seedBlock = state.getBlock();
|
Block seedBlock = state.getBlock();
|
||||||
List<ItemStack> drops = Block.getDroppedStacks(state, (ServerWorld) world, pos, null, player, mainHand);
|
List<ItemStack> drops = Block.getDroppedStacks(state, (ServerWorld) world, pos, null, player, mainHand);
|
||||||
if (removeIfAvailable(drops, seedItem)) {
|
if (removeIfAvailable(drops, seedItem)) {
|
||||||
if (player.getGameMode() != GameMode.CREATIVE) {
|
if (!player.isCreative()) {
|
||||||
for (ItemStack drop : drops) {
|
for (ItemStack drop : drops) {
|
||||||
Block.dropStack(world, pos, drop);
|
Block.dropStack(world, pos, drop);
|
||||||
}
|
}
|
||||||
|
@ -1,48 +1,48 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "survivalfabric",
|
"id": "survivalfabric",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "SurvivalFabric",
|
"name": "SurvivalFabric",
|
||||||
"description": "Adds a few QOL features to your Survival!",
|
"description": "Adds a few QOL features to your Survival!",
|
||||||
"authors": [
|
"authors": [
|
||||||
"AlwaysHAK"
|
"AlwaysHAK"
|
||||||
],
|
],
|
||||||
"contact": {
|
"contact": {
|
||||||
"homepage": "https://hak.wtf",
|
"homepage": "https://hak.wtf",
|
||||||
"sources": "https://git.hak.wtf/hkuijlman/SurvivalFabric",
|
"sources": "https://git.hak.wtf/hkuijlman/SurvivalFabric",
|
||||||
"issues": "https://git.hak.wtf/hkuijlman/SurvivalFabric/issues"
|
"issues": "https://git.hak.wtf/hkuijlman/SurvivalFabric/issues"
|
||||||
},
|
},
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"icon": "assets/survivalfabric/icon.png",
|
"icon": "assets/survivalfabric/icon.png",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"wtf.hak.survivalfabric.SurvivalFabric"
|
"wtf.hak.survivalfabric.SurvivalFabric"
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
||||||
"wtf.hak.survivalfabric.SurvivalFabricClient"
|
"wtf.hak.survivalfabric.SurvivalFabricClient"
|
||||||
],
|
],
|
||||||
"fabric-datagen": [
|
"fabric-datagen": [
|
||||||
"wtf.hak.survivalfabric.SurvivalFabricDataGenerator"
|
"wtf.hak.survivalfabric.SurvivalFabricDataGenerator"
|
||||||
],
|
],
|
||||||
"modmenu": [
|
"modmenu": [
|
||||||
"wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
|
"wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"survivalfabric.mixins.json",
|
"survivalfabric.mixins.json",
|
||||||
{
|
{
|
||||||
"config": "survivalfabric.client.mixins.json",
|
"config": "survivalfabric.client.mixins.json",
|
||||||
"environment": "client"
|
"environment": "client"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.16.10",
|
"fabricloader": ">=0.16.10",
|
||||||
"minecraft": "~1.21.5",
|
"minecraft": "~1.21.4",
|
||||||
"java": ">=21",
|
"java": ">=21",
|
||||||
"fabric-api": "*"
|
"fabric-api": "*"
|
||||||
},
|
},
|
||||||
"optional": {
|
"optional": {
|
||||||
"modmenu": "*"
|
"modmenu": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user