Compare commits
13 Commits
1.4.1
...
dd50ff0376
Author | SHA1 | Date | |
---|---|---|---|
dd50ff0376 | |||
d2fd497f26 | |||
563febe36f | |||
38a244b023 | |||
868e71eb10 | |||
2a106c9a03 | |||
1d0f7f0f05 | |||
52a97dc2c1 | |||
5916cc5cc2 | |||
4e58bede4b | |||
130b2db727 | |||
c993621bdb | |||
b89ab99928 |
@ -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