Difference between revisions of "Mods:Harvest Festival Support"

From MineTweaker 3
Jump to: navigation, search
(Shops)
(Shops)
Line 13: 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: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);