public class DemoPlayerInteractionManager extends PlayerInteractionManager
Modifier and Type | Field and Description |
---|---|
private int |
demoEndedReminder |
private boolean |
demoTimeExpired |
private boolean |
displayedIntro |
private int |
gameModeTicks |
player, world
Constructor and Description |
---|
DemoPlayerInteractionManager(ServerWorld p_i50709_1_) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
func_219441_a(PlayerEntity playerIn,
World worldIn,
ItemStack stackIn,
Hand handIn,
BlockRayTraceResult blockRaytraceResultIn) |
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) |
private void |
sendDemoReminder() |
void |
tick() |
func_229860_a_, getGameType, initializeGameType, isCreative, setGameType, setWorld, survivalOrAdventure, tryHarvestBlock
private boolean displayedIntro
private boolean demoTimeExpired
private int demoEndedReminder
private int gameModeTicks
public DemoPlayerInteractionManager(ServerWorld p_i50709_1_)
public void tick()
tick
in class PlayerInteractionManager
private void sendDemoReminder()
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 playerIn, World worldIn, ItemStack stackIn, Hand handIn, BlockRayTraceResult blockRaytraceResultIn)
func_219441_a
in class PlayerInteractionManager