Difference between revisions of "Mods:Harvest Festival Support"

From MineTweaker 3
Jump to: navigation, search
(For a list of shop names you can use the commands /hf shops)
(Handlers Supported)
Line 1: Line 1:
 
== Handlers Supported ==
 
== Handlers Supported ==
 
 
The following handlers are supported as of 0.5.4+:
 
The following handlers are supported as of 0.5.4+:
 
* Shipping
 
* Shipping
Line 6: Line 5:
  
 
These handlers can only have items added:
 
These handlers can only have items added:
  //Shipping
+
//Shipping
 
  //ItemStack, SellValue
 
  //ItemStack, SellValue
 
  mods.harvestfestival.Shipping.addShipping(<minecraft:stick>, 100);
 
  mods.harvestfestival.Shipping.addShipping(<minecraft:stick>, 100);
 
 
  
 
'''For a list of shop names you can use the commands /hf shops'''
 
'''For a list of shop names you can use the commands /hf shops'''
Line 16: Line 13:
 
  //ShopName, ItemStack, Cost
 
  //ShopName, ItemStack, Cost
 
  mods.harvestfestival.Shops.addPurchasable("harvestfestival:cafe", <minecraft:stick>, 1000);
 
  mods.harvestfestival.Shops.addPurchasable("harvestfestival:cafe", <minecraft:stick>, 1000);
 
+
 
  //Builder Shop
 
  //Builder Shop
 
  //ItemStack, WoodCost, StoneCost, GoldCost
 
  //ItemStack, WoodCost, StoneCost, GoldCost
 
  mods.harvestfestival.Shops.addPurchasableToBuilder(<minecraft:stick>, 100, 100, 1000);
 
  mods.harvestfestival.Shops.addPurchasableToBuilder(<minecraft:stick>, 100, 100, 1000);

Revision as of 23:25, 30 September 2016

Handlers Supported

The following handlers are supported as of 0.5.4+:

  • Shipping
  • Shop Items

These handlers can only have items added:

//Shipping
//ItemStack, SellValue
mods.harvestfestival.Shipping.addShipping(<minecraft:stick>, 100);

For a list of shop names you can use the commands /hf shops

//Shops
//ShopName, ItemStack, Cost
mods.harvestfestival.Shops.addPurchasable("harvestfestival:cafe", <minecraft:stick>, 1000);

//Builder Shop
//ItemStack, WoodCost, StoneCost, GoldCost
mods.harvestfestival.Shops.addPurchasableToBuilder(<minecraft:stick>, 100, 100, 1000);