Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
92e9c996b9 | |||
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);
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
],
|
],
|
||||||
"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": "*"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user