public class DemoPlayerInteractionManager extends PlayerInteractionManager
player, world
Constructor and Description |
---|
DemoPlayerInteractionManager(ServerWorld p_i50709_1_) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
func_219441_a(PlayerEntity p_219441_1_,
World p_219441_2_,
ItemStack p_219441_3_,
Hand p_219441_4_,
BlockRayTraceResult p_219441_5_) |
void |
func_225416_a(BlockPos p_225416_1_,
CPlayerDiggingPacket.Action p_225416_2_,
Direction p_225416_3_,
int p_225416_4_) |
ActionResultType |
processRightClick(PlayerEntity player,
World worldIn,
ItemStack stack,
Hand hand) |
void |
tick() |
func_225415_a, getGameType, initializeGameType, isCreative, setGameType, setWorld, survivalOrAdventure, tryHarvestBlock
public DemoPlayerInteractionManager(ServerWorld p_i50709_1_)
public void tick()
tick
in class PlayerInteractionManager
public void func_225416_a(BlockPos p_225416_1_, CPlayerDiggingPacket.Action p_225416_2_, Direction p_225416_3_, int p_225416_4_)
func_225416_a
in class PlayerInteractionManager
public ActionResultType processRightClick(PlayerEntity player, World worldIn, ItemStack stack, Hand hand)
processRightClick
in class PlayerInteractionManager
public ActionResultType func_219441_a(PlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
func_219441_a
in class PlayerInteractionManager