提供: Minecraft Modding Wiki
目次
概要
Minecraft ForgeとはMod作成に作成において要求頻度の高い様々な拡張機能を総合的に補助する前提Mod(拡張API)である。
開発環境でのインストール方法
関連リンク
- MinecraftForge Documentation (English)
- Minecraft Forge Forum
- Minecraft Forge Downloads
- 【API解説】Minecraft Forge(1.3.0) (非常に古い情報につき注意)
- Minecraft Forge公式wiki翻訳(非常に古い情報につき注意)
ForgeModLoaderについて
ForgeModLoader(以下FML)はForge用に作られたModLoaderである。もともとは別のプロジェクトであったが、1.8以降は完全に統合された。
ForgeModLoader API
基礎
- ブロックの登録やレシピの追加などを行うAPI
- 関連インタフェース
ICraftingHandlerPlayerEvent (1.3のUniversal化に伴いEventとなった)- IFuelHandler
IPickupNotifierPlayerEvent (1.3のUniversal化に伴いEventとなった)IPlayerTrackerPlayerEvent (1.3のUniversal化に伴いEventとなった)- IWorldGeneretor
- 表示名やローカライズを行うAPI
- 1.7以降廃止された。同様の機能は適切な場所にLangファイルを配置するだけで実現できる。
- Entityの登録を行うAPI
- 関連インタフェース
- IEntityAdditonalSpawnData
- IThorwableEntity
TickRegistryTickEvent (1.3のUniversal化に伴いEventとなった)
- Tick処理の登録を行うAPI
- 村, 村人に関連した処理を担うAPI
- TileEntitySpecialRendererなどのクライアント側のみでの登録を行うAPI。
KeyBindingRegistryClientRegistry (1.3のUniversal化に伴い移動された)
- キーバインドの登録を行うAPI, クライアント側のみ
- 描画関連の登録を行うAPI, クライアント側のみ
- ネットワーク関連の登録を行うAPI
- 関連インタフェース
Minecraft Forge API
追加メソッド
基礎
- 実績ページの追加を担うAPI
- 村や遺跡などが生成されるバイオームを管理するAPI
- ダンジョンや遺跡, 廃坑などに生成されるチェストの中身へのフックを担うAPI
- 1.9でLootTableが実装されたため廃止された。
- Forge式コンフィグファイルの生成を担うユーティリティ
- Dimension関連のAPI
- 動的にEnum定数を追加するユーティリティ
- イベントの登録や様々なフックを担うAPI
- 植物に関するEnum定数
- 方向に関するEnum定数
- 1.8以降バニラにEnumDirectionができたので廃止された。
- 植物インタフェース
- ハサミインタフェース
- 特殊な防具用のインタフェース
- 関連クラス
イベント
- イベント概略
- EVENT_BUSに登録するイベント
- TERRAIN_GEN_BUSに登録するイベント
- ORE_GEN_BUSに登録するイベント
一覧
- Event (net.minecraftforge.fml.common.eventhandler)
- AnvilUpdateEvent (net.minecraftforge.event)
- BabyEntitySpawnEvent (net.minecraftforge.event.entity.living)
- BiomeEvent (net.minecraftforge.event.terraingen)
- BiomeColor in BiomeEvent (net.minecraftforge.event.terraingen)
- GetFoliageColor in BiomeEvent (net.minecraftforge.event.terraingen)
- GetGrassColor in BiomeEvent (net.minecraftforge.event.terraingen)
- GetWaterColor in BiomeEvent (net.minecraftforge.event.terraingen)
- CreateDecorator in BiomeEvent (net.minecraftforge.event.terraingen)
- GetVillageBlockID in BiomeEvent (net.minecraftforge.event.terraingen)
- BiomeColor in BiomeEvent (net.minecraftforge.event.terraingen)
- BlockEvent (net.minecraftforge.event.world)
- BreakEvent in BlockEvent (net.minecraftforge.event.world)
- CreateFluidSourceEvent in BlockEvent (net.minecraftforge.event.world)
- CropGrowEvent in BlockEvent (net.minecraftforge.event.world)
- Post in CropGrowEvent in BlockEvent (net.minecraftforge.event.world)
- Pre in CropGrowEvent in BlockEvent (net.minecraftforge.event.world)
- HarvestDropsEvent in BlockEvent (net.minecraftforge.event.world)
- NeighborNotifyEvent in BlockEvent (net.minecraftforge.event.world)
- NoteBlockEvent (net.minecraftforge.event.world)
- Change in NoteBlockEvent (net.minecraftforge.event.world)
- Play in NoteBlockEvent (net.minecraftforge.event.world)
- PlaceEvent in BlockEvent (net.minecraftforge.event.world)
- MultiPlaceEvent in BlockEvent (net.minecraftforge.event.world)
- ChunkGeneratorEvent (net.minecraftforge.event.terraingen)
- InitNoiseField in ChunkGeneratorEvent (net.minecraftforge.event.terraingen)
- PopulateChunkEvent (net.minecraftforge.event.terraingen)
- Populate in PopulateChunkEvent (net.minecraftforge.event.terraingen)
- Post in PopulateChunkEvent (net.minecraftforge.event.terraingen)
- Pre in PopulateChunkEvent (net.minecraftforge.event.terraingen)
- ReplaceBiomeBlocks in ChunkGeneratorEvent (net.minecraftforge.event.terraingen)
- ChunkWatchEvent (net.minecraftforge.event.world)
- UnWatch in ChunkWatchEvent (net.minecraftforge.event.world)
- Watch in ChunkWatchEvent (net.minecraftforge.event.world)
- ClientChatReceivedEvent (net.minecraftforge.client.event)
- CommandEvent (net.minecraftforge.event)
- ConfigChangedEvent (net.minecraftforge.fml.client.event)
- OnConfigChangedEvent in ConfigChangedEvent (net.minecraftforge.fml.client.event)
- PostConfigChangedEvent in ConfigChangedEvent (net.minecraftforge.fml.client.event)
- CustomNetworkEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- DecorateBiomeEvent (net.minecraftforge.event.terraingen)
- Decorate in DecorateBiomeEvent (net.minecraftforge.event.terraingen)
- Post in DecorateBiomeEvent (net.minecraftforge.event.terraingen)
- Pre in DecorateBiomeEvent (net.minecraftforge.event.terraingen)
- DrawBlockHighlightEvent (net.minecraftforge.client.event)
- EntityEvent (net.minecraftforge.event.entity)
- CanUpdate in EntityEvent (net.minecraftforge.event.entity)
- EnteringChunk in EntityEvent (net.minecraftforge.event.entity)
- EntityConstructing in EntityEvent (net.minecraftforge.event.entity)
- EntityJoinWorldEvent (net.minecraftforge.event.entity)
- EntityMountEvent (net.minecraftforge.event.entity)
- EntityStruckByLightningEvent (net.minecraftforge.event.entity)
- EntityTravelToDimensionEvent (net.minecraftforge.event.entity)
- ItemEvent (net.minecraftforge.event.entity.item)
- ItemExpireEvent (net.minecraftforge.event.entity.item)
- ItemTossEvent (net.minecraftforge.event.entity.item)
- LivingEvent (net.minecraftforge.event.entity.living)
- EnderTeleportEvent (net.minecraftforge.event.entity.living)
- LivingAttackEvent (net.minecraftforge.event.entity.living)
- LivingDeathEvent (net.minecraftforge.event.entity.living)
- LivingDropsEvent (net.minecraftforge.event.entity.living)
- PlayerDropsEvent (net.minecraftforge.event.entity.player)
- LivingEntityUseItemEvent (net.minecraftforge.event.entity.living)
- Finish in LivingEntityUseItemEvent (net.minecraftforge.event.entity.living)
- Start in LivingEntityUseItemEvent (net.minecraftforge.event.entity.living)
- Stop in LivingEntityUseItemEvent (net.minecraftforge.event.entity.living)
- Tick in LivingEntityUseItemEvent (net.minecraftforge.event.entity.living)
- LivingEquipmentChangeEvent (net.minecraftforge.event.entity.living)
- LivingExperienceDropEvent (net.minecraftforge.event.entity.living)
- LivingFallEvent (net.minecraftforge.event.entity.living)
- LivingHealEvent (net.minecraftforge.event.entity.living)
- LivingHurtEvent (net.minecraftforge.event.entity.living)
- LivingJumpEvent in LivingEvent (net.minecraftforge.event.entity.living)
- LivingPackSizeEvent (net.minecraftforge.event.entity.living)
- LivingSetAttackTargetEvent (net.minecraftforge.event.entity.living)
- LivingSpawnEvent (net.minecraftforge.event.entity.living)
- AllowDespawn in LivingSpawnEvent (net.minecraftforge.event.entity.living)
- CheckSpawn in LivingSpawnEvent (net.minecraftforge.event.entity.living)
- SpecialSpawn in LivingSpawnEvent (net.minecraftforge.event.entity.living)
- LivingUpdateEvent in LivingEvent (net.minecraftforge.event.entity.living)
- LootingLevelEvent (net.minecraftforge.event.entity.living)
- PlayerEvent (net.minecraftforge.event.entity.player)
- AchievementEvent (net.minecraftforge.event.entity.player)
- AnvilRepairEvent (net.minecraftforge.event.entity.player)
- ArrowLooseEvent (net.minecraftforge.event.entity.player)
- ArrowNockEvent (net.minecraftforge.event.entity.player)
- AttackEntityEvent (net.minecraftforge.event.entity.player)
- BonemealEvent (net.minecraftforge.event.entity.player)
- BreakSpeed in PlayerEvent (net.minecraftforge.event.entity.player)
- Clone in PlayerEvent (net.minecraftforge.event.entity.player)
- EntityItemPickupEvent (net.minecraftforge.event.entity.player)
- FillBucketEvent (net.minecraftforge.event.entity.player)
- HarvestCheck in PlayerEvent (net.minecraftforge.event.entity.player)
- ItemTooltipEvent (net.minecraftforge.event.entity.player)
- LoadFromFile in PlayerEvent (net.minecraftforge.event.entity.player)
- NameFormat in PlayerEvent (net.minecraftforge.event.entity.player)
- PlayerBrewedPotionEvent (net.minecraftforge.event.brewing)
- PlayerContainerEvent (net.minecraftforge.event.entity.player)
- Close in PlayerContainerEvent (net.minecraftforge.event.entity.player)
- Open in PlayerContainerEvent (net.minecraftforge.event.entity.player)
- PlayerDestroyItemEvent (net.minecraftforge.event.entity.player)
- PlayerFlyableFallEvent (net.minecraftforge.event.entity.player)
- PlayerInteractEvent (net.minecraftforge.event.entity.player)
- EntityInteract in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- EntityInteractSpecific in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- LeftClickBlock in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- LeftClickEmpty in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- RightClickBlock in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- RightClickEmpty in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- RightClickItem in PlayerInteractEvent (net.minecraftforge.event.entity.player)
- PlayerPickupXpEvent (net.minecraftforge.event.entity.player)
- PlayerSetSpawnEvent (net.minecraftforge.event.entity.player)
- PlayerSleepInBedEvent (net.minecraftforge.event.entity.player)
- PlayerWakeUpEvent (net.minecraftforge.event.entity.player)
- RenderPlayerEvent (net.minecraftforge.client.event)
- Post in RenderPlayerEvent (net.minecraftforge.client.event)
- Pre in RenderPlayerEvent (net.minecraftforge.client.event)
- SetArmorModel in RenderPlayerEvent (net.minecraftforge.client.event)
- Specials in RenderPlayerEvent (net.minecraftforge.client.event)
- Post in Specials in RenderPlayerEvent (net.minecraftforge.client.event)
- Pre in Specials in RenderPlayerEvent (net.minecraftforge.client.event)
- SaveToFile in PlayerEvent (net.minecraftforge.event.entity.player)
- SleepingLocationCheckEvent (net.minecraftforge.event.entity.player)
- StartTracking in PlayerEvent (net.minecraftforge.event.entity.player)
- StopTracking in PlayerEvent (net.minecraftforge.event.entity.player)
- UseHoeEvent (net.minecraftforge.event.entity.player)
- Visibility in PlayerEvent (net.minecraftforge.event.entity.player)
- MinecartEvent (net.minecraftforge.event.entity.minecart)
- MinecartCollisionEvent (net.minecraftforge.event.entity.minecart)
- MinecartInteractEvent (net.minecraftforge.event.entity.minecart)
- MinecartUpdateEvent (net.minecraftforge.event.entity.minecart)
- PlaySoundAtEntityEvent (net.minecraftforge.event.entity)
- ThrowableImpactEvent (net.minecraftforge.event.entity)
- ZombieEvent (net.minecraftforge.event.entity.living)
- SummonAidEvent in ZombieEvent (net.minecraftforge.event.entity.living)
- EntitySelectorEvent (net.minecraftforge.event)
- EntityViewRenderEvent (net.minecraftforge.client.event)
- CameraSetup in EntityViewRenderEvent (net.minecraftforge.client.event)
- FogColors in EntityViewRenderEvent (net.minecraftforge.client.event)
- FogDensity in EntityViewRenderEvent (net.minecraftforge.client.event)
- FOVModifier in EntityViewRenderEvent (net.minecraftforge.client.event)
- RenderFogEvent in EntityViewRenderEvent (net.minecraftforge.client.event)
- ExplosionEvent (net.minecraftforge.event.world)
- Detonate in ExplosionEvent (net.minecraftforge.event.world)
- Start in ExplosionEvent (net.minecraftforge.event.world)
- FluidEvent (net.minecraftforge.fluids)
- FluidDrainingEvent in FluidEvent (net.minecraftforge.fluids)
- FluidFillingEvent in FluidEvent (net.minecraftforge.fluids)
- FluidMotionEvent in FluidEvent (net.minecraftforge.fluids)
- FluidSpilledEvent in FluidEvent (net.minecraftforge.fluids)
- FluidRegisterEvent in FluidRegistry (net.minecraftforge.fluids)
- FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ClientConnectedToServerEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ClientDisconnectionFromServerEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- CustomPacketEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ClientCustomPacketEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ServerCustomPacketEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- CustomPacketRegistrationEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ServerConnectionFromClientEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ServerDisconnectionFromClientEvent in FMLNetworkEvent (net.minecraftforge.fml.common.network)
- ForceChunkEvent in ForgeChunkManager (net.minecraftforge.common)
- FOVUpdateEvent (net.minecraftforge.client.event)
- GenericEvent (net.minecraftforge.fml.common.eventhandler)
- AttachCapabilitiesEvent (net.minecraftforge.event)
- Entity in AttachCapabilitiesEvent (net.minecraftforge.event)
- Item in AttachCapabilitiesEvent (net.minecraftforge.event)
- TileEntity in AttachCapabilitiesEvent (net.minecraftforge.event)
- World in AttachCapabilitiesEvent (net.minecraftforge.event)
- RegistryEvent (net.minecraftforge.event)
- Register in RegistryEvent (net.minecraftforge.event)
- AttachCapabilitiesEvent (net.minecraftforge.event)
- GuiOpenEvent (net.minecraftforge.client.event)
- GuiScreenEvent (net.minecraftforge.client.event)
- ActionPerformedEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Post in ActionPerformedEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Pre in ActionPerformedEvent in GuiScreenEvent (net.minecraftforge.client.event)
- BackgroundDrawnEvent in GuiScreenEvent (net.minecraftforge.client.event)
- DrawScreenEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Post in DrawScreenEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Pre in DrawScreenEvent in GuiScreenEvent (net.minecraftforge.client.event)
- InitGuiEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Post in InitGuiEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Pre in InitGuiEvent in GuiScreenEvent (net.minecraftforge.client.event)
- KeyboardInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Post in KeyboardInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Pre in KeyboardInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- MouseInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Post in MouseInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- Pre in MouseInputEvent in GuiScreenEvent (net.minecraftforge.client.event)
- PotionShiftEvent in GuiScreenEvent (net.minecraftforge.client.event)
- ActionPerformedEvent in GuiScreenEvent (net.minecraftforge.client.event)
- InitMapGenEvent (net.minecraftforge.event.terraingen)
- InputEvent (net.minecraftforge.fml.common.gameevent)
- KeyInputEvent in InputEvent (net.minecraftforge.fml.common.gameevent)
- MouseInputEvent in InputEvent (net.minecraftforge.fml.common.gameevent)
- LootTableLoadEvent (net.minecraftforge.event)
- ModelBakeEvent (net.minecraftforge.client.event)
- ModelRegistryEvent (net.minecraftforge.client.event)
- MouseEvent (net.minecraftforge.client.event)
- NewRegistry in RegistryEvent (net.minecraftforge.event)
- OreGenEvent (net.minecraftforge.event.terraingen)
- GenerateMinable in OreGenEvent (net.minecraftforge.event.terraingen)
- Post in OreGenEvent (net.minecraftforge.event.terraingen)
- Pre in OreGenEvent (net.minecraftforge.event.terraingen)
- OreRegisterEvent in OreDictionary (net.minecraftforge.oredict)
- OverlayToggleEvent (mezz.jei.config)
- PlayerEvent (net.minecraftforge.fml.common.gameevent)
- ItemCraftedEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- ItemPickupEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- ItemSmeltedEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- PlayerChangedDimensionEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- PlayerLoggedInEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- PlayerLoggedOutEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- PlayerRespawnEvent in PlayerEvent (net.minecraftforge.fml.common.gameevent)
- PotionBrewEvent (net.minecraftforge.event.brewing)
- Post in PotionBrewEvent (net.minecraftforge.event.brewing)
- Pre in PotionBrewEvent (net.minecraftforge.event.brewing)
- RenderBlockOverlayEvent (net.minecraftforge.client.event)
- RenderGameOverlayEvent (net.minecraftforge.client.event)
- Post in RenderGameOverlayEvent (net.minecraftforge.client.event)
- Pre in RenderGameOverlayEvent (net.minecraftforge.client.event)
- BossInfo in RenderGameOverlayEvent (net.minecraftforge.client.event)
- Chat in RenderGameOverlayEvent (net.minecraftforge.client.event)
- Text in RenderGameOverlayEvent (net.minecraftforge.client.event)
- RenderHandEvent (net.minecraftforge.client.event)
- RenderItemInFrameEvent (net.minecraftforge.client.event)
- RenderLivingEvent (net.minecraftforge.client.event)
- Post in RenderLivingEvent (net.minecraftforge.client.event)
- Pre in RenderLivingEvent (net.minecraftforge.client.event)
- Specials in RenderLivingEvent (net.minecraftforge.client.event)
- Post in Specials in RenderLivingEvent (net.minecraftforge.client.event)
- Pre in Specials in RenderLivingEvent (net.minecraftforge.client.event)
- RenderSpecificHandEvent (net.minecraftforge.client.event)
- RenderTooltipEvent (net.minecraftforge.client.event)
- Post in RenderTooltipEvent (net.minecraftforge.client.event)
- PostBackground in RenderTooltipEvent (net.minecraftforge.client.event)
- PostText in RenderTooltipEvent (net.minecraftforge.client.event)
- Pre in RenderTooltipEvent (net.minecraftforge.client.event)
- Post in RenderTooltipEvent (net.minecraftforge.client.event)
- RenderWorldLastEvent (net.minecraftforge.client.event)
- ScreenshotEvent (net.minecraftforge.client.event)
- ServerChatEvent (net.minecraftforge.event)
- SoundEvent (net.minecraftforge.client.event.sound)
- PlaySoundEvent (net.minecraftforge.client.event.sound)
- SoundLoadEvent (net.minecraftforge.client.event.sound)
- SoundSetupEvent (net.minecraftforge.client.event.sound)
- SoundSourceEvent in SoundEvent (net.minecraftforge.client.event.sound)
- PlaySoundSourceEvent (net.minecraftforge.client.event.sound)
- PlayStreamingSourceEvent (net.minecraftforge.client.event.sound)
- TextureStitchEvent (net.minecraftforge.client.event)
- Post in TextureStitchEvent (net.minecraftforge.client.event)
- Pre in TextureStitchEvent (net.minecraftforge.client.event)
- TickEvent (net.minecraftforge.fml.common.gameevent)
- ClientTickEvent in TickEvent (net.minecraftforge.fml.common.gameevent)
- PlayerTickEvent in TickEvent (net.minecraftforge.fml.common.gameevent)
- RenderTickEvent in TickEvent (net.minecraftforge.fml.common.gameevent)
- ServerTickEvent in TickEvent (net.minecraftforge.fml.common.gameevent)
- WorldTickEvent in TickEvent (net.minecraftforge.fml.common.gameevent)
- UnforceChunkEvent in ForgeChunkManager (net.minecraftforge.common)
- WorldEvent (net.minecraftforge.event.world)
- ChunkEvent (net.minecraftforge.event.world)
- ChunkDataEvent (net.minecraftforge.event.world)
- Load in ChunkDataEvent (net.minecraftforge.event.world)
- Save in ChunkDataEvent (net.minecraftforge.event.world)
- Load in ChunkEvent (net.minecraftforge.event.world)
- Unload in ChunkEvent (net.minecraftforge.event.world)
- ChunkDataEvent (net.minecraftforge.event.world)
- CreateSpawnPosition in WorldEvent (net.minecraftforge.event.world)
- GetCollisionBoxesEvent (net.minecraftforge.event.world)
- InitNoiseGensEvent (net.minecraftforge.event.terraingen)
- Load in WorldEvent (net.minecraftforge.event.world)
- PotentialSpawns in WorldEvent (net.minecraftforge.event.world)
- SaplingGrowTreeEvent (net.minecraftforge.event.terraingen)
- Save in WorldEvent (net.minecraftforge.event.world)
- Unload in WorldEvent (net.minecraftforge.event.world)
- ChunkEvent (net.minecraftforge.event.world)
- WorldTypeEvent (net.minecraftforge.event.terraingen)
- BiomeSize in WorldTypeEvent (net.minecraftforge.event.terraingen)
- InitBiomeGens in WorldTypeEvent (net.minecraftforge.event.terraingen)
流体API
FluidContainerRegistryCapabilityシステムの導入に伴い廃止
- 流体の容器の登録API
鉱石辞書
- 鉱石辞書本体, 鉱石辞書への登録, 参照を担うAPI
- 鉱石辞書を利用した定形レシピを追加するためのクラス
- 鉱石辞書を利用した不定形レシピを追加するためのクラス