Forge Concept Events

Forge 事件系统:事件总线(MinecraftForge#EVENT_BUS、FMLJavaModLoadingContext#getModEventBus、typed EventBus<T>)、事件处理程序注册(IEventBus#addListener、addGenericListener、@SubscribeEvent、@Mod.EventBusSubscriber)、事件取消(@Cancelable、Event#setCanceled)、事件结果(@HasResult、Event$Result DENY/DEFAULT/ALLOW)、事件优先级(EventPriority HIGHEST/MONITOR)、子事件继承、模组事件总线(IModBusEvent、FMLCommonSetupEvent、FMLClientSetupEvent、InterModEnqueueEvent)、1.21.11+类型化记录事件(static BUS 字段、CancellableEventBus)、TickEvent.ServerTickEvent、RegisterCommandsEvent、LivingDeathEvent、BuildCreativeModeTabContentsEvent。

ZMJJKK123-hub Updated 2 repo stars

File contents

ZMJJKK123-hub/skill-agent commit f19fb34497

Frequently asked questions

npx get-skill add zmjjkk123-hub/forge-concept-events