VisualProspecting
GregTech 5 Unofficial convenience mod for easy GT Ore Vein and underground fluid tracking. Includes visualization for JourneyMap.
Install / Use
/learn @SinTh0r4s/VisualProspectingREADME
GregTech5U Add-On: VisualProspecting
For Minecraft 1.7.10
This mod is intended for player convenience, but may also be used as API, since it provides the location of all GT ore veins in a cache. VisualProspecting tracks all GT Ore Veins a player has found and visualizes them in JourneyMap and/or XaeroWorldMap (optional, if installed). It also visualizes tracked Thaumcraft aura nodes if TCNodeTracker if installed. VoxelMap will add waypoints for prospected ore veins and fluids.
VisualProspecting tracks all ores that a player interacted with, by right or by left click. It also integrates prospecting data from GTs Advanced Seismic Prospector, although only books that are created after this mod was added will provide integration. You may share your findings with other players by crafting a Prospector's Log.
This mod is tailored to GregTech: New Horizons 2, but feel free to use it however you like. Even though this mod is build against the custom GT5U from GT:NH, it should still work fine with other GT5U versions.
Underground fluids in JourneyMap overlay.
Underground fluids in XaeroWorldMap overlay
GregTech ore veins in XaeroWorldMap overlay. You may double-click an ore vein to toggle it as waypoint.
GregTech ore veins in JourneyMap overlay
Thaumcraft aura nodes in JourneyMap overlay. You may double-click an aura node to toggle it as waypoint.
Thaumcraft aura nodes in XaeroWorldMap overlay
Reset Progress
You may use JourneyMap's Actions Menu to achieve this or type /visualprospectingresetprogress in chat. Beware, there are no backups! Please use at your own risk.
Other Maps
Does VisualProspecting run with other maps? - I runs just fine, but it has no visualization or GUI integration. If you like to add integration into other maps yourself, feel free to contact me or open a Pull Request.
- TheLastKumquat integrated XaeroWorldMap and XaeroMiniMap
- glowredman integrated VoxelMap
Dependencies
Required Mods:
- Minecraft Forge
- Injected class: ItemEditableBook
- GregTech5-Unofficial
- SpongeMixins
- Enklumne by Hugobros3
- Automatically shipped. No manual handling is required.
Optional Mods:
- JourneyMap: Visualizes prospected ore veins, oil fields and thaumcraft nodes on custom overlay, that can be toggled on and off. Visualizes active ore veins and thaumcraft nodes as waypoints.
- Injected classes: Fullscreen, FullscreenActions, RenderWaypointBeacon, WaypointManager, MiniMap
- XaeroWorldMap: Visualizes prospected ore veins, oil fields and thaumcraft nodes on custom overlay, that can be toggled on and off.
- Injected class: GuiMap
- XaeroMiniMap: Visualizes active ore veins and thaumcraft nodes as waypoints.
- Injected class: WaypointsIngameRenderer
- TCNodeTracker: Provides tracked aura nodes to maps for visualization.
- Injected class: GuiMain
- NEI: Ores on JourneyMap are highlighted according to NEI search if active (double click on search field).
- GalacticGreg: Injects a notification call into ore vein generation.
- Injected class: GT_Worldgenerator_Space
- Bartworks: Injects a notification call into ore vein generation.
- Injected class: BW_WordGenerator.WorldGenContainer
- IFU: Injects a notification call to add found ore veins by the ore finder wand.
- Injected class: ItemOreFinderTool
- VoxelMap: Automatically adds waypoints for prospected ore veins and fluids.
Add Visual Prospecting as API
You would have a great idea for a new prospecting feature? You may use VPs database as a starting point to save yourself a ton of work. Just add these following changes to your build.gradle and you are ready to develop.
Add jitpack to your repositories:
repositories {
maven {
url = "https://jitpack.io"
}
}
Add Visual Prospecting in your dependencies:
dependencies {
compile("com.github.SinTh0r4s:VisualProspecting:1.0.10b") // Adapt 1.0.10b to targeted release
}
In case you do not require any Thaumcraft integration it is recommended to disable it. This will increase your start time of Minecraft in dev:
dependencies {
compile("com.github.SinTh0r4s:VisualProspecting:1.0.10b") { // Adapt 1.0.10b to targeted release
exclude module: "TCNodeTracker"
}
}
GregTech, JourneyMap and their respective dependencies will be loaded automatically. You are ready to start now.
Usage as API
GT Ore Database
All database access is channeled through the classes ServerCache and ClientCache. Database use is split up into logical sides.
You need to determine whether your code is executed on the logical client or logical server. Dependent on your answer you need to use the according database: The client database only knows about ore veins the player has already prospected, while the server database will know about all veins. VisualProspecting_API helps you to clarify which side you are working on. You may add or request the ore vein for a chunk:
VisualProspecting_API.LogicalServer.getOreVein(int dimensionId, int chunkX, int chunkZ);
VisualProspecting_API.LogicalServer.getUndergroundFluid(Wor
