Interface IMixinMultiPlayerGameMode
public interface IMixinMultiPlayerGameMode
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.multiplayer.ClientPacketListener
net.minecraft.core.BlockPos
int
float
void
net.minecraft.world.InteractionResult
invokePerformUseItemOn
(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult result) void
invokeStartPrediction
(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.multiplayer.prediction.PredictiveAction action) void
setDestroyDelay
(int destroyDelay) void
setDestroyProgress
(float destroyProgress)
-
Method Details
-
getConnection
net.minecraft.client.multiplayer.ClientPacketListener getConnection() -
getDestroyBlockPos
net.minecraft.core.BlockPos getDestroyBlockPos() -
getDestroyProgress
float getDestroyProgress() -
setDestroyProgress
void setDestroyProgress(float destroyProgress) -
setDestroyDelay
void setDestroyDelay(int destroyDelay) -
getDestroyDelay
int getDestroyDelay() -
invokeStartPrediction
void invokeStartPrediction(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.multiplayer.prediction.PredictiveAction action) -
invokeEnsureHasSentCarriedItem
void invokeEnsureHasSentCarriedItem() -
invokePerformUseItemOn
net.minecraft.world.InteractionResult invokePerformUseItemOn(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult result)
-