Difference between revisions of "Mods:Harvest Festival Support"

From MineTweaker 3
Jump to: navigation, search
(Handlers Supported)
(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+:
 +
You can only add items with them.
 
* Shipping
 
* Shipping
 
* Shop Items
 
* Shop Items
  
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);
  
 +
== Shops ==
 
'''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'''
//Shops
 
 
  //ShopName, ItemStack, Cost
 
  //ShopName, ItemStack, Cost
 
  mods.harvestfestival.Shops.addPurchasable("harvestfestival:cafe", <minecraft:stick>, 1000);
 
  mods.harvestfestival.Shops.addPurchasable("harvestfestival:cafe", <minecraft:stick>, 1000);

Revision as of 23:26, 30 September 2016

Handlers Supported

The following handlers are supported as of 0.5.4+: You can only add items with them.

  • Shipping
  • Shop Items

Shipping

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

Shops

For a list of shop names you can use the commands /hf 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);