mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
TConstruct Villager (rework)
TConstruct Added: Registered Villager to the Spawn Egg Fixed: Moved the TradeHandler, not nesaasry if addToVillages is false TVillageTrades Removed: The old implementation was too monotonous. Added: Randomizer for each "TConstruct" Villager, now are the recipes more random and more valueable.
This commit is contained in:
1 parent
cd24da2765
commit
3bcc85a36a
2 files changed
+92
-11
No files matched your search
@@ -108,9 +108,12 @@ public class TConstruct
|
||||
GameRegistry.registerCraftingHandler(new TCraftingHandler());
|
||||
NetworkRegistry.instance().registerGuiHandler(instance, proxy);
|
||||
|
||||
VillagerRegistry.instance().registerVillageTradeHandler(78943, new TVillageTrades());
|
||||
if (PHConstruct.addToVillages)
|
||||
{
|
||||
// adds to the villager spawner egg
|
||||
VillagerRegistry.instance().registerVillagerId(78943);
|
||||
// moved down, not needed if 'addToVillages' is false
|
||||
VillagerRegistry.instance().registerVillageTradeHandler(78943, new TVillageTrades());
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillageToolStationHandler());
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillageSmelteryHandler());
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user