1.9 Tag command

1.9 Tag command


./summon Chicken  2 ~ {Tags:["summoned","spy"]}
./scoreboard players tag @e[type=Chicken,tag=!summoned] add naturalSpawned
/summon ArmorStand   ~ {Tags:[0:"hello"]} 
/testfor @e[tag=spy,tag=summoned]


/give @p minecraft:spawn_egg 1 50 {EntityTag:{Fuse:0}}
/give @p spawn_egg 1 50 {EntityTag:{Tags:["Tag1","Tag2]}}

Sparks Particle Cloud

Sparks Particle Cloud


=======List of tags (with sample values):======

ReapplicationDelay:20
delay between effect give

Radius:2.0f
current radius

Duration:600
lifespan of entity

Effects:[]
potion effect (see http://minecraft.gamepedia.com/Player... )

Particle:"mobSpell"
Particle type

RadiusPerTick:-0.005f
Shrink Speed

RadiusOnUse:-0.5f
Apply resize

======Custom Summons as shown in video=====

Multiple Potion Effects:
summon AreaEffectCloud ~ ~1 ~ {ReapplicationDelay:20,Radius:2.0f,Durat­ion:600,Effects:[{Ambient:0b,ShowParticl­es:1b,Duration:900,Id:1b,Amplifier:0b},{­Ambient:0b,ShowParticles:1b,Duration:900­,Id:10b,Amplifier:1b}],RadiusPerTick:-0.­005f}

Different particle display:
summon AreaEffectCloud ~ ~1 ~ {ReapplicationDelay:20,Radius:2.0f,Durat­ion:600,Effects:[{Ambient:0b,ShowParticl­es:1b,Duration:900,Id:1b,Amplifier:0b},{­Ambient:0b,ShowParticles:1b,Duration:900­,Id:10b,Amplifier:1b}],RadiusPerTick:-0.­005f}

Permenant Cloud:
summon AreaEffectCloud ~ ~1 ~ {Radius:1.0f,Duration:2147483647,Effects­:[0:{Ambient:0b,ShowParticles:1b,Duratio­n:900,Id:1b,Amplifier:0b}],Particle:&quo­t;cloud"}

Invisible Using Take Particle:
summon AreaEffectCloud ~ ~1 ~ {Radius:0.5f,Duration:2147483647,Effects­:[0:{Ambient:0b,ShowParticles:1b,Duratio­n:900,Id:1b,Amplifier:0b}],Particle:&quo­t;take"}

Without potion effect:
summon AreaEffectCloud ~ ~1 ~ {Radius:0.5f,Duration:600,Particle:"­;dripWater"}
__

Our site: http://www.accidentalgames.com
Twitter: https://twitter.com/AccidentalGames
Reddit: http://www.reddit.com/r/accidentalgames
Patreon: http://www.patreon.com/accidentalgames

1.9 commands

1.9 commands


summon ThrownPotion ~ ~6 ~ {Potion:{id:splash_potion,tag:{Potion:"weakness"}},Linger:1}

setblock ~ ~1 ~ end_gateway 0 replace {ExitPortal:{X:-394,Y:7,Z:-917},ExactTeleport:1}

/give @p spawn_egg 1 0 {EntityTag:{id:"Creeper",Fuse:0}}

1.9 commandblocks

1.9 commandblocks


It's metadata, example (0 is down, 1 is up):
0=down
1=up
2=north
3=south
4=west
5=east

setblock ~ ~1 ~ chain_command_block 0
setblock ~ ~1 ~ chain_command_block 1

Keens Fireball Code

Keens Fireball


/execute @e[type=Snowball] ~ ~ ~ /summon Fireball ~ ~ ~ {Motion:[0.0,0.0,0.0],direction:[0.0,0.0,0.0],ExplosionPower:1}

Dinosaur MAP Code

Dinosaur MAP Code



/replaceitem entity dragnoz slot.armor.head minecraft:pumpkin 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:1,Operation:0,UUIDLeast:636395,UUIDMost:136414}],display:{Name:"Submarine Engine"}}

/replaceitem entity @a[score_submarine_min=1,score_submarine=1] slot.armor.head minecraft:air

/effect @a[score_submarine_min=1,score_submarine=1] minecraft:water_breathing 1000000 1 true
/effect @a[score_submarine_min=1,score_submarine=1] minecraft:night_vision 1000000 1 true


/execute @a[score_submarine_min=1,score_submarine=1] ~ ~ ~ /setblock -1046 64 -1005 minecraft:redstone_block

/execute @a[score_submarine_min=3,score_submarine=3] ~ ~ ~ /setblock -1046 67 -1005 minecraft:redstone_block

/tellraw @a ["",{"text":"\n\nDestroy the Submarine:\n\n"},{"text":"1. Use the sub to explore the ocean\n2. Find the sunken submarine \n3. Blow it up using your TNT\n4. Collect any pieces for your exhibit\n\n","color":"light_purple","bold":true},{"text":"Return to the museum and place the teeth on the pedestal.","color":"none","bold":false}]

Liopleurodon
Brachiosaurus
Pterodactylus
Stegosaurus
Triceratops
Tyrannosaurus



/scoreboard players remove @e[score_still_min=2,score_still=2,score_walkingani_min=1] walkingani 1






execute @e[type=Villager,name=Liopleurodon] ~ ~ ~
execute @e[type=Villager,name=Brachiosaurus] ~ ~ ~
execute @e[type=Villager,name=Pterodactylus] ~ ~ ~
execute @e[type=Villager,name=Stegosaurus] ~ ~ ~
execute @e[type=Villager,name=Triceratops] ~ ~ ~
execute @e[type=Villager,name=Tyrannosaurus] ~ ~ ~


execute @e[type=Villager,name=Pterodactylus] ~ ~ ~ /summon ArmorStand ~ ~25 ~ {CustomName:"Pterodactylus",Invisible:1,NoGravity:1,PersistenceRequired:1,Equipment:[{},{},{},{},{id:carpet,Damage:4,Count:1}]}

execute @e[type=Villager,name=Pterodactylus] ~ ~ ~ /summon Giant ~ ~25 ~ {CustomName:"Pterodactylus",Equipment:[{id:carpet,Damage:4,Count:1},{},{},{},{}],NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}],PersistenceRequired:1,}

/summon ArmorStand ~ ~50 ~ {CustomName:"Pterodactylus",Equipment:[{},{},{},{},{id:carpet,Damage:4,Count:1}],NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}],PersistenceRequired:1,}



/summon Item ~ ~1 ~ {CustomName:"Liopleurodon",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Liopleurodon"}}}}
/summon Item ~ ~1 ~ {CustomName:"Brachiosaurusn",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Brachiosaurus"}}}}
/summon Item ~ ~1 ~ {CustomName:"Pterodactylus",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Pterodactylus"}}}}
/summon Item ~ ~1 ~ {CustomName:"Stegosaurus",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Stegosaurus"}}}}
/summon Item ~ ~1 ~ {CustomName:"Triceratops",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Triceratops"}}}}
/summon Item ~ ~1 ~ {CustomName:"Tyrannosaurus",CustomNameVisible:1,Item:{id:spawn_egg,Damage:120,Count:1,tag:{display:{Name:"Tyrannosaurus"}}}}

/testfor @a[5034,35,241,10] {Inventory:[{id:"minecraft:wool",Damage:0s,tag:{display:{Name:"Stegosaurus"}}}]}


/summon ArmorStand 5047 35 175 {CustomName:"portal",Marker:1b,Invisible:1,NoGravity:1,Equipment:[{},{},{},{},{id:glass,Count:1}]}



/setblock 5040 37 -477 minecraft:redstone_block tyranno
/setblock 5039 37 -478 minecraft:redstone_block stegga
/setblock 5039 37 -477 minecraft:redstone_block TERRY
/setblock 5040 37 -476 minecraft:redstone_block tricerry
/setblock 5039 37 -476 minecraft:redstone_block braccie
/setblock 5038 37 -476 minecraft:redstone_block lippie



t

/su

clear @a[5039,26,-474,50] minecraft:carpet 7


/tellraw @a ["",{"text":"\n\n"},{"text":"Fast Travel to:","color":"gold","bold":true}]

/tellraw @a[score_admin_min=1] ["",{"text":"• Command Blocks","color":"green","clickEvent":{"action":"run_command","value":"/tp @p -1034 64 -1017"}}]

/tellraw @a[] ["",{"text":"• Museum","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 5047 45 139 0 0"}}]

museum /tp @p 5047 45 139 0 0

/tellraw @a[] ["",{"text":"• Pterodactyl","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 3138 70 1600 -31 5"}}]

/tellraw @a[] ["",{"text":"• Liopleurodon","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 2811 64 1130 90 35"}}]

/tellraw @a[] ["",{"text":"• Stegosaurus","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 4838 32 1620 140 18"}}]

/tellraw @a[] ["",{"text":"• T-rex","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 189 50 1510 -11 12"}}]

/tellraw @a[] ["",{"text":"• Brachiosuaurs ","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 670 62 1541 38 23"}}]

/tellraw @a[] ["",{"text":"• Triceratops ","color":"green","clickEvent":{"action":"run_command","value":"/tp @p 291 92 848 46 5"}}]

/scoreboard players enable @a fastravel


/tellraw @a ["",{"text":"\n\nYour Mission:\n\n"},{"text":"1. Travel to all the areas\n2. Talk to the scientists \n3. Complete their tasks\n\n","color":"light_purple","bold":true},{"text":"Then return to the museum and place your exhibits in their correct area. \n\n","color":"none","bold":false}]


/scoreboard players set @e[score_animal_min=1,score_still=2,score_still=2] still 3 {Motion:[0:0.0d,1:0.0d,2:0.0d]}
/scoreboard players remove @e[score_still_min=1] still 1
scoreboard players remove @e[type=!Player,score_animal_min=1,score_state3_min=1] state3 1
execute @e[score_animal_min=1,score_animal=1] ~ ~ ~ /fill -502 63 -521 -502 63 -513 minecraft:redstone_block



/entitydata @e[name=pangolin,score_still_min=4,score_still=4,score_state3=0,score_state3_min=0] {Attributes:[{Name:generic.movementSpeed,Base:0.2}],Equipment:[{},{},{},{},{id:wool,Damage:12,Count:1}]}


/entitydata @e[name=pangolin,score_still_min=1,score_still=1,score_state3_min=0,score_state3=0] {Attributes:[{Name:generic.movementSpeed,Base:0.2}],Equipment:[{},{},{},{},{id:wool,Damage:13,Count:1}]}

[00:00:07] The data tag did not change: {Items:[0:{Slot:4b,id:"minecraft:air"}]}


/execute @a[score_mineplaster_min=4] ~ ~ ~ entitydata @e[score_item_min=4,score_item=4,r=6] {CustomName:"Perfect Footprint Cast",Item:{id:"minecraft:stained_hardened_clay",Count:1b,Damage:11s}}


/execute @a[score_mineplaster_min=4] ~ ~ ~ execute @e[name=footprint1,r=6] ~ ~ ~ /summon FireworksRocketEntity ~ ~1 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Flicker:1,Trail:1,Colors:[16711680],FadeColors:[16711680]}]}}}}

execute @e[score_convo1_min=4,score_convo1=4] ~1 ~ ~ /summon Item ~ ~1 ~ {Item:{id:diamond_shovel,Count:1,tag:{CanDestroy:["minecraft:sponge"],HideFlags:14,Unbreakable:1,display:{Name:"Dino Poop Scoop"}}},Age:-32768}

/execute @e[score_convo1_min=4,score_convo1=4] ~1 ~2 ~ /summon Item ~ ~1 ~ {Item:{id:golden_shovel,Count:1,tag:{CanDestroy:["minecraft:sponge"],HideFlags:13,Unbreakable:1,display:{Name:"Pterodactyl Pooper Scoop",Lore:[Use it on Pterodactyl poop]},ench:[{id:32,lvl:5}]}}}


tag:{CanPlaceOn:["minecraft:diamond_ore"],HideFlags:63

/execute @e[score_convo1_min=5,score_convo1=5] ~ ~ ~ /summon Item ~ ~1 ~ {Item:{id:iron_pickaxe,Count:1,tag:{CanDestroy:["minecraft:iron_ore"],HideFlags:63,Unbreakable:1,display:{Name:"Stegosaurus Egg Shell Breaker",Lore:[Use it on Stegosaurus eggs]},ench:[{id:32,lvl:1},{id:33,lvl:5}]}}}





execute @a[score_pooamount_min=2,score_pooamount=2] ~ ~ ~ entitydata @e[type=Item,r=6] {Item:{id:fish,Count:1,tag:{display:{Name:"Partly Digested Fish",Lore:[Not of much use as an exhibit]}}}}

execute @a[score_pooamount_min=3,score_pooamount=3] ~ ~ ~ entitydata @e[type=Item,r=6] {Item:{id:rabbit,Count:1,tag:{display:{Name:"Partly Digested Rodent",Lore:[Not of much use as an exhibit]}}}}

execute @a[score_pooamount_min=4,score_pooamount=4] ~ ~ ~ entitydata @e[type=Item,r=6] {Item:{id:spider_eye,Count:1,tag:{display:{Name:"Partly Digested Insect Part",Lore:[Not of much use as an exhibit]}}}}


execute @a[score_pooamount_min=5,score_pooamount=5] ~ ~ ~ entitydata @e[type=Item,r=6] {Item:{id:rabbit_hide,Count:1,tag:{display:{Name:"Partly Digested Animal Pelt",Lore:[Not of much use as an exhibit]}}}}

execute @a[score_pooamount_min=6,score_pooamount=6] ~ ~ ~ entitydata @e[type=Item,r=6] {Item:{id:iron_ore,Count:1,tag:{CanPlaceOn:["minecraft:diamond_ore"],display:{Name:"Intact Poo",Lore:[Perfect for your exhibit]}}}}



[10:13:09] The data tag did not change: {Item:{id:"minecraft:rotten_flesh",Count:1b,Damage:0s}}
[10:21:07] The data tag did not change: {Motion:[0:9.832777742130133E-6d,1:-0.0d,2:8.741875506245103E-7d],UUIDLeast:-8345488407220574419L,Health:5s,Invulnerable:0b,Air:300s,OnGround:1b,Dimension:0,PortalCooldown:0,Rotation:[0:75.6064f,1:0.0f],Thrower:"dragnoz",FallDistance:0.0f,Item:{id:"minecraft:rabbit",Count:1b,Damage:0s},UUIDMost:6791281542371953738L,Pos:[0:-1027.175539883337d,1:63.0d,2:-1026.4577424389242d],PickupDelay:13s,Fire:-1s,Age:27s}


execute @e[type=Villager,name=flare] ~ ~ ~ /summon ArmorStand ~ ~1 ~ {CustomName:"waterflares",Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}



[12:59:48] The data tag did not change: {NoGravity:1b,HurtByTimestamp:0,Attributes:[0:{Base:20.0d,Name:"generic.maxHealth"},1:{Base:0.0d,Name:"generic.knockbackResistance"},2:{Base:0.699999988079071d,Name:"generic.movementSpeed"}],Invulnerable:1b,ShowArms:0b,PortalCooldown:0,AbsorptionAmount:0.0f,FallDistance:0.0f,DisabledSlots:0,DeathTime:0s,Pose:{},HealF:20.0f,Invisible:1b,Motion:[0:0.0d,1:0.0d,2:0.0d],Small:0b,UUIDLeast:-5694014485764069482L,Health:20s,Air:300s,OnGround:0b,Dimension:0,Marker:1b,Rotation:[0:0.0f,1:0.0f],UUIDMost:8866339945018837975L,CustomName:"brokensub",Equipment:[0:{},1:{},2:{},3:{},4:{id:"minecraft:carpet",Count:1b,Damage:7s}],Pos:[0:3125.5d,1:21.5d,2:1058.5d],Fire:0s,NoBasePlate:0b,HurtTime:0s,CustomNameVisible:0b}


/summon Item ~ ~1 ~ {Item:{id:flint_and_steel,Count:1,tag:{CanPlaceOn:["minecraft:tnt"]}}}
/summon Item ~ ~1 ~ {Item:{id:tnt,Count:10,tag:{CanPlaceOn:["minecraft:sand"]}}}





/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Penny and Parker Audio Notes",CustomNameVisible:1,Item:{id:record_11,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Meet Penny & Parker",Lore:[Play it in a jukebox]}}}}



/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_strad,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Tyrannosaurus",Lore:[Play it in a jukebox]}}}}

/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_mall,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Brachiosurus",Lore:[Play it in a jukebox]}}}}




/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_ward,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Triceratops",Lore:[Play it in a jukebox]}}}}

/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_stal,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Stegosaurus",Lore:[Play it in a jukebox]}}}}

/summon Item ~ ~1 ~ {Age:-32768,CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_mellohi,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Pterodactylus",Lore:[Play it in a jukebox]}}}}

/summon Item ~ ~1 ~ {CustomName:"Audio Notes",CustomNameVisible:1,Item:{id:record_far,Count:1,tag:{CanPlaceOn:["minecraft:jukebox"],display:{Name:"Liopleurodon",Lore:[Play it in a jukebox]}}}}



execute @e[type=Villager,name=Brachiosaurus] ~ ~ ~ /summon Giant ~ ~1 ~ {Equipment:[{id:sponge,Count:1},{},{},{},{}],DropChances:[0.0F,0.085F,0.085F,0.085F,0.085F],Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}],Riding:{id:"PigZombie",CustomName:"Brachiosaurus",Equipment:[{},{},{},{},{}],Invulnerable:1,PersistenceRequired:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}]}}



execute @e[name=Tyrannosaurus,score_walkingani_min=1,score_walkingani=1] ~ ~ ~ entitydata @e[type=Giant,c=1] {Equipment:[{id:wool,Damage:13,Count:1},{},{},{},{}]}

execute @e[name=Tyrannosaurus,score_walkingani_min=2,score_walkingani=2] ~ ~ ~ entitydata @e[type=Giant,c=1] {Equipment:[{id:wool,Damage:14,Count:1},{},{},{},{}]}

execute @e[name=Tyrannosaurus,score_walkingani_min=0,score_walkingani=0] ~ ~ ~ entitydata @e[type=Giant,c=1] {Equipment:[{id:wool,Damage:12,Count:1},{},{},{},{}]}


execute @e[type=Villager,name=Tyrannosaurus] ~ ~ ~ /summon Giant ~ ~1 ~ {Equipment:[{id:wool,Damage:12,Count:1},{},{},{},{}],DropChances:[0.0F,0.085F,0.085F,0.085F,0.085F],Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}],Riding:{id:"Zombie",CustomName:"Tyrannosaurus",Equipment:[{},{},{},{},{id:stone_button,Count:1}],Attributes:[{Name:generic.followRange,Base:50}],Invulnerable:1,PersistenceRequired:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:20000000,ShowParticles:0b}]}}

/execute @a[score_mineplaster_min=4] ~ ~ ~ entitydata @e[score_item_min=4,score_item=4,r=6] {Item:{id:"minecraft:emerald_ore",Count:1b,tag:{display:{Lore:[0:"Use it for your Exhibit."],Name:"Perfect Footprint Cast"}},Damage:0s},CustomName:"Perfect Footprint Cast",CustomNameVisible:1b}



[20:27:41] The data tag did not change: {Motion:[0:0.0d,1:-0.0d,2:0.0d],UUIDLeast:-8614451216084883082L,Health:0s,Invulnerable:0b,Air:0s,OnGround:1b,Dimension:0,PortalCooldown:0,Rotation:[0:0.0f,1:0.0f],FallDistance:0.0f,Item:{id:"minecraft:emerald_ore",Count:1b,tag:{display:{Lore:[0:"Use it for your Exhibit."],Name:"Perfect Footprint Cast"},CanPlaceOn:[0:"minecraft:diamond_ore"]},Damage:0s},UUIDMost:-8661141000792947591L,CustomName:"Perfect Footprint Cast",Pos:[0:-1013.5d,1:64.0d,2:-987.5d],PickupDelay:0s,Fire:-1s,Age:125s,CustomNameVisible:1b}


/effect @a[score_binoculars_min=1] minecraft:slowness 1 100 true
/scoreboard players set @a binoculars 2 {SelectedItem:{id:"minecraft:dye",Damage:0s}}
/scoreboard players remove @a[score_binoculars_min=1] binoculars 1


 execute @e[name=submarine] ~ ~ ~ execute @a[r=4] ~ ~ ~ detect ~ ~-1 ~ water -1 scoreboard players set @a[score_submarine_min=0,score_submarine=0] submarine 1



execute @e[score_convo1_min=3,score_convo1=3] ~1 ~ ~ /summon Item ~ ~1 ~ {Item:{id:diamond_pickaxe,Count:1,tag:{CanDestroy:["minecraft:lapis_ore"],HideFlags:15,Unbreakable:1,display:{Name:"Bone Pick",Lore:[Mine Bone Blocks]},ench:[{id:32,lvl:1},{id:33,lvl:1}]}}}

Loot Tables Code

Loot Tables Code


[20/10/2015, 17:56:27] Nathan Adams:  /summon MinecartChest  1 ~ {LootTable:chests/simple_dungeon}
^ this summons a minecart chest with the typical dungeon loot, randomly picked when the player first opens it.
/setblock   ~ chest 0 false {LootTable:chests/end_city_treasure,LootTableSeed:12345}
This places a chest with the end city treasure, with deterministic loot picked when the player opens it.
[20/10/2015, 17:56:55] Nathan Adams: So if you set the seed, it'll always pick using that seed. Otherwise, it'll pick randomly.
[20/10/2015, 17:57:14] Nathan Adams: All chests placed at world gen have a seed
[20/10/2015, 17:57:51] Nathan Adams: So the same world opened twice will have the same chests and the same loot inside the chests (unless, of course, something happened to change the loot generation)

The loot tables themselves are files on disc, either world/data/loot_tables/xxxx.json or if that didn't exist, inside the jar. So you can make your own, or overwrite existing ones.


Nathan Adams ‏@Dinnerbone  2h2 hours ago
This is a command to summon a Zombie that drops same items you find in dungeons: /summon Zombie ~ ~ ~ {DeathLootTable:chests/simple_dungeon}

"minecraft:empty" is a loot table that is empty, and leaving off "item" gives you an empty item in a loot table




 saves\43A\data\loot_tables\minecraft\entities\pig.json

NPC Text Code:

NPC Text Code:


/summon Villager ~ ~3 ~ {CustomName:"TEXT",Tags:["convo1","talking"],CustomNameVisible:1,Profession:0,Offers:{Recipes:[]},Attributes:[{Name:generic.maxHealth,Base:1000},{Name:generic.movementSpeed,Base:0.001},{Name:generic.knockbackResistance,Base:10000}],Invulnerable:1,HealF:1000,PersistenceRequired:1,Silent:1}