115 changes
This commit is contained in:
1 parent
8a01ebea41
commit
179bc21223
9 files changed
+19
-18
No files matched your search
@@ -21,6 +21,8 @@ public class ServerPlayerInteractionManager_ghostBlocksMixin
|
||||
{
|
||||
@Shadow public ServerPlayerEntity player;
|
||||
|
||||
/*
|
||||
1.15 changes the protocol to include instamine as a possible action
|
||||
@Redirect(method = "method_14263", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/block/BlockState;calcBlockBreakingDelta(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F")
|
||||
@@ -42,7 +44,7 @@ public class ServerPlayerInteractionManager_ghostBlocksMixin
|
||||
)
|
||||
return 1.0f;
|
||||
return progress;
|
||||
}
|
||||
}*/
|
||||
|
||||
@ModifyConstant(method = "method_14263",
|
||||
constant = @Constant(doubleValue = 36D))
|
||||
|
||||
Reference in new issue
Block a user