Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

many1337/VillagerTradeAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VillagerTrade

Items and NBT

$writer = new NetworkLittleEndianNBTStream();
	$tags = new CompoundTag("Offers", [
			new ListTag("Recipes", [
			new CompoundTag("", [
			new ByteTag("rewardExp", 1),
			new IntTag("maxUses", mt_rand(2, 12)),
			new IntTag("uses", 0),
			Item::get(Item::DIAMOND)->nbtSerialize(-1, "buy"),
			Item::get(Item::PAPER)->nbtSerialize(-1, "sell")
		])
		])
		]);

Finished & Planned Features

  • Villager
  • Right Click to open Inventory
    • Tap item and move to slot
    • Custom item config
  • Custom Villager Entity

many1337 @2020

About

VillageTrade resource for PMMP Software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages