Interface IMixinMultiPlayerGameMode
public interface IMixinMultiPlayerGameMode
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.multiplayer.ClientPacketListenernet.minecraft.core.BlockPosintfloatvoidnet.minecraft.world.InteractionResultinvokePerformUseItemOn(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult result) voidinvokeStartPrediction(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.multiplayer.prediction.PredictiveAction action) voidsetDestroyDelay(int destroyDelay) voidsetDestroyProgress(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)
-