Package net.minecraft.server.network
Class ServerPlayerInteractionManager
java.lang.Object
net.minecraft.server.network.ServerPlayerInteractionManager
- Direct Known Subclasses:
DemoServerPlayerInteractionManager
- Mappings:
Namespace Name official lgintermediary net/minecraft/class_799named net/minecraft/server/network/ServerPlayerInteractionManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate BlockPosprivate intprivate intprivate intprivate LevelInfo.GameModeprivate booleanprivate BlockPosprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninteractBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) booleaninteractItem(PlayerEntity player, World world, ItemStack stack) booleanbooleanvoidmethod_10764(BlockPos blockPos) booleanmethod_10766(BlockPos pos) voidvoidprocessBlockBreakingAction(BlockPos pos, Direction direction) voidsetGameMode(LevelInfo.GameMode gamemode) voidsetGameModeIfNotPresent(LevelInfo.GameMode gameMode) voidsetWorld(ServerWorld world) private booleantryBreakBlock(BlockPos pos) voidupdate()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official aLlg;a:Ladm;intermediary field_2844Lnet/minecraft/class_799;field_2844:Lnet/minecraft/class_1150;named worldLnet/minecraft/server/network/ServerPlayerInteractionManager;world:Lnet/minecraft/world/World;
-
player
- Mappings:
Namespace Name Mixin selector official bLlg;b:Llf;intermediary field_2845Lnet/minecraft/class_799;field_2845:Lnet/minecraft/class_798;named playerLnet/minecraft/server/network/ServerPlayerInteractionManager;player:Lnet/minecraft/entity/player/ServerPlayerEntity;
-
gameMode
- Mappings:
Namespace Name Mixin selector official cLlg;c:Ladp$a;intermediary field_2846Lnet/minecraft/class_799;field_2846:Lnet/minecraft/class_1156$class_1157;named gameModeLnet/minecraft/server/network/ServerPlayerInteractionManager;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
-
mining
private boolean mining- Mappings:
Namespace Name Mixin selector official dLlg;d:Zintermediary field_2847Lnet/minecraft/class_799;field_2847:Znamed miningLnet/minecraft/server/network/ServerPlayerInteractionManager;mining:Z
-
field_2848
private int field_2848- Mappings:
Namespace Name Mixin selector official eLlg;e:Iintermediary field_2848Lnet/minecraft/class_799;field_2848:Inamed field_2848Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2848:I
-
field_11764
- Mappings:
Namespace Name Mixin selector official fLlg;f:Lcj;intermediary field_11764Lnet/minecraft/class_799;field_11764:Lnet/minecraft/class_2552;named field_11764Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_11764:Lnet/minecraft/util/math/BlockPos;
-
tickCounter
private int tickCounter- Mappings:
Namespace Name Mixin selector official gLlg;g:Iintermediary field_2852Lnet/minecraft/class_799;field_2852:Inamed tickCounterLnet/minecraft/server/network/ServerPlayerInteractionManager;tickCounter:I
-
failedToMine
private boolean failedToMine- Mappings:
Namespace Name Mixin selector official hLlg;h:Zintermediary field_2853Lnet/minecraft/class_799;field_2853:Znamed failedToMineLnet/minecraft/server/network/ServerPlayerInteractionManager;failedToMine:Z
-
miningPos
- Mappings:
Namespace Name Mixin selector official iLlg;i:Lcj;intermediary field_11765Lnet/minecraft/class_799;field_11765:Lnet/minecraft/class_2552;named miningPosLnet/minecraft/server/network/ServerPlayerInteractionManager;miningPos:Lnet/minecraft/util/math/BlockPos;
-
field_2857
private int field_2857- Mappings:
Namespace Name Mixin selector official jLlg;j:Iintermediary field_2857Lnet/minecraft/class_799;field_2857:Inamed field_2857Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2857:I
-
field_2858
private int field_2858- Mappings:
Namespace Name Mixin selector official kLlg;k:Iintermediary field_2858Lnet/minecraft/class_799;field_2858:Inamed field_2858Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2858:I
-
-
Constructor Details
-
ServerPlayerInteractionManager
- Mappings:
Namespace Name Mixin selector official <init>Llg;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_799;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/server/network/ServerPlayerInteractionManager;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLlg;a(Ladp$a;)Vintermediary method_2171Lnet/minecraft/class_799;method_2171(Lnet/minecraft/class_1156$class_1157;)Vnamed setGameModeLnet/minecraft/server/network/ServerPlayerInteractionManager;setGameMode(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-
getGameMode
- Mappings:
Namespace Name Mixin selector official bLlg;b()Ladp$a;intermediary method_2172Lnet/minecraft/class_799;method_2172()Lnet/minecraft/class_1156$class_1157;named getGameModeLnet/minecraft/server/network/ServerPlayerInteractionManager;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
isSurvival
public boolean isSurvival()- Mappings:
Namespace Name Mixin selector official cLlg;c()Zintermediary method_10767Lnet/minecraft/class_799;method_10767()Znamed isSurvivalLnet/minecraft/server/network/ServerPlayerInteractionManager;isSurvival()Z
-
isCreative
public boolean isCreative()- Mappings:
Namespace Name Mixin selector official dLlg;d()Zintermediary method_2176Lnet/minecraft/class_799;method_2176()Znamed isCreativeLnet/minecraft/server/network/ServerPlayerInteractionManager;isCreative()Z
-
setGameModeIfNotPresent
- Mappings:
Namespace Name Mixin selector official bLlg;b(Ladp$a;)Vintermediary method_2174Lnet/minecraft/class_799;method_2174(Lnet/minecraft/class_1156$class_1157;)Vnamed setGameModeIfNotPresentLnet/minecraft/server/network/ServerPlayerInteractionManager;setGameModeIfNotPresent(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector official aLlg;a()Vintermediary method_2165Lnet/minecraft/class_799;method_2165()Vnamed updateLnet/minecraft/server/network/ServerPlayerInteractionManager;update()V
-
processBlockBreakingAction
- Mappings:
Namespace Name Mixin selector official aLlg;a(Lcj;Lcq;)Vintermediary method_10765Lnet/minecraft/class_799;method_10765(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Vnamed processBlockBreakingActionLnet/minecraft/server/network/ServerPlayerInteractionManager;processBlockBreakingAction(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
method_10764
- Mappings:
Namespace Name Mixin selector official aLlg;a(Lcj;)Vintermediary method_10764Lnet/minecraft/class_799;method_10764(Lnet/minecraft/class_2552;)Vnamed method_10764Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10764(Lnet/minecraft/util/math/BlockPos;)V
-
method_10769
public void method_10769()- Mappings:
Namespace Name Mixin selector official eLlg;e()Vintermediary method_10769Lnet/minecraft/class_799;method_10769()Vnamed method_10769Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10769()V
-
tryBreakBlock
- Mappings:
Namespace Name Mixin selector official cLlg;c(Lcj;)Zintermediary method_10768Lnet/minecraft/class_799;method_10768(Lnet/minecraft/class_2552;)Znamed tryBreakBlockLnet/minecraft/server/network/ServerPlayerInteractionManager;tryBreakBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
method_10766
- Mappings:
Namespace Name Mixin selector official bLlg;b(Lcj;)Zintermediary method_10766Lnet/minecraft/class_799;method_10766(Lnet/minecraft/class_2552;)Znamed method_10766Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10766(Lnet/minecraft/util/math/BlockPos;)Z
-
interactItem
- Mappings:
Namespace Name Mixin selector official aLlg;a(Lwn;Ladm;Lzx;)Zintermediary method_2169Lnet/minecraft/class_799;method_2169(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_1071;)Znamed interactItemLnet/minecraft/server/network/ServerPlayerInteractionManager;interactItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Z
-
interactBlock
public boolean interactBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) - Mappings:
Namespace Name Mixin selector official aLlg;a(Lwn;Ladm;Lzx;Lcj;Lcq;FFF)Zintermediary method_2170Lnet/minecraft/class_799;method_2170(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_1071;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFF)Znamed interactBlockLnet/minecraft/server/network/ServerPlayerInteractionManager;interactBlock(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Z
-
setWorld
- Mappings:
Namespace Name Mixin selector official aLlg;a(Lle;)Vintermediary method_2168Lnet/minecraft/class_799;method_2168(Lnet/minecraft/class_795;)Vnamed setWorldLnet/minecraft/server/network/ServerPlayerInteractionManager;setWorld(Lnet/minecraft/server/world/ServerWorld;)V
-