Package fr.pacdu.pacpackquests.data
Class QuestEventHandler
java.lang.Object
fr.pacdu.pacpackquests.data.QuestEventHandler
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidonBlockBreak(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.block.state.BlockState state) static voidonEntityKill(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.entity.Entity killedEntity) static voidonServerTick(net.minecraft.server.MinecraftServer server) static voidonUseBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) static voidonUseEntity(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity)
-
Method Details
-
onBlockBreak
public static void onBlockBreak(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.block.state.BlockState state) -
onEntityKill
public static void onEntityKill(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.entity.Entity killedEntity) -
onUseBlock
public static void onUseBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
onUseEntity
public static void onUseEntity(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity) -
onServerTick
public static void onServerTick(net.minecraft.server.MinecraftServer server)
-