1.17.1-pre1
This commit is contained in:
1 parent
a4cec8165b
commit
0937ba8352
5 files changed
+13
-13
No files matched your search
+4
-4
@@ -4,10 +4,10 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/use
|
# check these on https://fabricmc.net/use
|
||||||
# or better: https://modmuss50.me/fabric.html
|
# or better: https://modmuss50.me/fabric.html
|
||||||
minecraft_version=1.17
|
minecraft_version=1.17.1-pre1
|
||||||
yarn_mappings=1.17+build.1
|
yarn_mappings=1.17.1-pre1+build.1
|
||||||
loader_version=0.11.3
|
loader_version=0.11.6
|
||||||
fabric_version=0.34.9+1.17
|
fabric_version=0.35.2+1.17
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.4.40
|
mod_version = 1.4.40
|
||||||
|
|||||||
@@ -487,7 +487,7 @@ public class EntityPlayerActionPack
|
|||||||
boolean execute(ServerPlayerEntity player, Action action)
|
boolean execute(ServerPlayerEntity player, Action action)
|
||||||
{
|
{
|
||||||
player.updateLastActionTime();
|
player.updateLastActionTime();
|
||||||
player.dropSelectedItem(false);
|
player.method_37413(false); // dropSelectedItem
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -497,7 +497,7 @@ public class EntityPlayerActionPack
|
|||||||
boolean execute(ServerPlayerEntity player, Action action)
|
boolean execute(ServerPlayerEntity player, Action action)
|
||||||
{
|
{
|
||||||
player.updateLastActionTime();
|
player.updateLastActionTime();
|
||||||
player.dropSelectedItem(true);
|
player.method_37413(true); // dropSelectedItem
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ public class FeatureGenerator
|
|||||||
new Identifier("bastion/starts"),
|
new Identifier("bastion/starts"),
|
||||||
new Identifier("empty"),
|
new Identifier("empty"),
|
||||||
ImmutableList.of(
|
ImmutableList.of(
|
||||||
Pair.of(StructurePoolElement.method_30435("bastion/units/air_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
Pair.of(StructurePoolElement.ofProcessedSingle("bastion/units/air_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
||||||
),
|
),
|
||||||
StructurePool.Projection.RIGID
|
StructurePool.Projection.RIGID
|
||||||
), 6),
|
), 6),
|
||||||
@@ -204,7 +204,7 @@ public class FeatureGenerator
|
|||||||
new Identifier("bastion/starts"),
|
new Identifier("bastion/starts"),
|
||||||
new Identifier("empty"),
|
new Identifier("empty"),
|
||||||
ImmutableList.of(
|
ImmutableList.of(
|
||||||
Pair.of(StructurePoolElement.method_30435("bastion/hoglin_stable/air_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
Pair.of(StructurePoolElement.ofProcessedSingle("bastion/hoglin_stable/air_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
||||||
),
|
),
|
||||||
StructurePool.Projection.RIGID
|
StructurePool.Projection.RIGID
|
||||||
), 6),
|
), 6),
|
||||||
@@ -216,7 +216,7 @@ public class FeatureGenerator
|
|||||||
new Identifier("bastion/starts"),
|
new Identifier("bastion/starts"),
|
||||||
new Identifier("empty"),
|
new Identifier("empty"),
|
||||||
ImmutableList.of(
|
ImmutableList.of(
|
||||||
Pair.of(StructurePoolElement.method_30435("bastion/treasure/big_air_full", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
Pair.of(StructurePoolElement.ofProcessedSingle("bastion/treasure/big_air_full", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
||||||
),
|
),
|
||||||
StructurePool.Projection.RIGID
|
StructurePool.Projection.RIGID
|
||||||
), 6),
|
), 6),
|
||||||
@@ -228,7 +228,7 @@ public class FeatureGenerator
|
|||||||
new Identifier("bastion/starts"),
|
new Identifier("bastion/starts"),
|
||||||
new Identifier("empty"),
|
new Identifier("empty"),
|
||||||
ImmutableList.of(
|
ImmutableList.of(
|
||||||
Pair.of(StructurePoolElement.method_30435("bastion/bridge/starting_pieces/entrance_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
Pair.of(StructurePoolElement.ofProcessedSingle("bastion/bridge/starting_pieces/entrance_base", StructureProcessorLists.BASTION_GENERIC_DEGRADATION), 1)
|
||||||
),
|
),
|
||||||
StructurePool.Projection.RIGID
|
StructurePool.Projection.RIGID
|
||||||
), 6),
|
), 6),
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public class ServerPlayNetworkHandler_scarpetEventsMixin
|
|||||||
|
|
||||||
@Inject(method = "onPlayerAction", at = @At(
|
@Inject(method = "onPlayerAction", at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lnet/minecraft/server/network/ServerPlayerEntity;dropSelectedItem(Z)Z",
|
target = "Lnet/minecraft/server/network/ServerPlayerEntity;method_37413(Z)Z", // dropSelectedItem
|
||||||
ordinal = 0,
|
ordinal = 0,
|
||||||
shift = At.Shift.BEFORE
|
shift = At.Shift.BEFORE
|
||||||
))
|
))
|
||||||
@@ -84,7 +84,7 @@ public class ServerPlayNetworkHandler_scarpetEventsMixin
|
|||||||
|
|
||||||
@Inject(method = "onPlayerAction", at = @At(
|
@Inject(method = "onPlayerAction", at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lnet/minecraft/server/network/ServerPlayerEntity;dropSelectedItem(Z)Z",
|
target = "Lnet/minecraft/server/network/ServerPlayerEntity;method_37413(Z)Z", // dropSelectedItem
|
||||||
ordinal = 1,
|
ordinal = 1,
|
||||||
shift = At.Shift.BEFORE
|
shift = At.Shift.BEFORE
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ public class Inventories {
|
|||||||
{
|
{
|
||||||
ServerPlayerEntity player = (ServerPlayerEntity) inventory.owner;
|
ServerPlayerEntity player = (ServerPlayerEntity) inventory.owner;
|
||||||
player.networkHandler.sendPacket(new ScreenHandlerSlotUpdateS2CPacket(
|
player.networkHandler.sendPacket(new ScreenHandlerSlotUpdateS2CPacket(
|
||||||
-2,
|
-2, 0, // resolve mystery argument
|
||||||
int_1,
|
int_1,
|
||||||
inventory.inventory.getStack(int_1)
|
inventory.inventory.getStack(int_1)
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in new issue
Block a user