Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (For This To Work Please Open This Web Address https://pastebin.com/raw/UmPxsbCF)
- To Create A Function Click The "Windows Key" And "R" At The Same Time Then A Little Box Will Pop Up Then Type "%appdata%" And Click Enter Then Open ".minecraft" And Open "saves" And Open The World You Want To Add The Function To Then Open "data" And Open "functions" (it wont be there if you haven't been on 1.12 on that world) Then Click "View" And Select "File name extensions" If You Haven't Already Ticked It Then Follow The Instructions To Install The Function You Want
- Villager Virus (Compatible With The Skeleton, Spider And Creeper Viruses):
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterVirus" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "VillagerVirus.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Infecting Code
- execute @e[type=Zombie_Villager,tag=InfectedVV] ~ ~ ~ scoreboard players tag @e[type=Zombie_Villager,r=3] add InfectingVV {ConversionTime:-1}
- scoreboard players tag @e[tag=InfectingVV] add InfectedVV
- entitydata @e[tag=InfectingVV] {ConversionTime:1200}
- effect @e[tag=InfectingVV] strength 0 0
- execute @e[tag=InfectedVV] ~ ~ ~ scoreboard players tag @s remove InfectingVV
- #Differentiating Code
- execute @e[tag=InfectedVV] ~ ~ ~ particle slime ~ ~1 ~ 0 0 0 1.5 1
- scoreboard teams add GreenVV
- scoreboard teams option GreenVV color green
- scoreboard teams join GreenVV @e[tag=InfectedVV]
- #Dropped Item Infecting Recipe Code
- scoreboard players tag @e[type=Item] add EmeraldVV {Item:{id:"minecraft:emerald"}}
- scoreboard players tag @e[type=Item] add AppleVV {Item:{id:"minecraft:golden_apple"}}
- execute @e[tag=EmeraldVV] ~ ~ ~ execute @e[tag=AppleVV,r=1] ~ ~ ~ scoreboard players tag @e[type=Zombie_Villager,tag=!InfectedVV,r=1] add InfectingVV
- execute @e[tag=InfectingVV] ~ ~ ~ kill @e[tag=EmeraldVV,r=2]
- execute @e[tag=InfectingVV] ~ ~ ~ kill @e[tag=AppleVV,r=2]
- #Dropped Item Curing Recipe Code
- scoreboard players tag @e[type=Item] add MilkCVV {Item:{id:"minecraft:milk_bucket"}}
- execute @e[tag=MilkCVV] ~ ~ ~ scoreboard players tag @e[tag=InfectedVV,r=1] add CuringVV
- execute @e[tag=CuringVV] ~ ~ ~ kill @e[tag=MilkCVV,r=1]
- scoreboard players tag @e[tag=CuringVV] remove InfectedVV
- scoreboard teams leave GreenVV @e[tag=CuringVV]
- effect @e[tag=CuringVV] strength 0 0
- effect @e[tag=CuringVV] speed 0 0
- entitydata @e[tag=CuringVV] {CustomName:"Zombie",CustomNameVisible:0b}
- scoreboard players tag @e[tag=CuringVV] remove CuringVV
- #Infected Powers Code
- entitydata @e[tag=InfectedVV] {Fire:-1s,CustomName:"Zombie Boss",CustomNameVisible:1b}
- effect @e[tag=InfectedVV] strength 99999 1 true
- effect @e[tag=InfectedVV] speed 99999 1 true
- #Random Spawn Code
- scoreboard objectives add SpawnVV dummy
- scoreboard objectives add TimeVV dummy
- scoreboard players add @a TimeVV 1
- scoreboard players tag @e[score_SpawnVV_min=5] add SpawnedVV
- scoreboard players add @e[type=Zombie_Villager] SpawnVV 1
- execute @a[score_TimeVV_min=19] ~ ~ ~ scoreboard players tag @e[score_SpawnVV=2,tag=!SpawnedVV] add InfectingVV
- scoreboard players set @a[score_TimeVV_min=20] TimeVV 0
- #Other Extension Code
- function MonsterVirus:VillagerInfectingRecipe
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterVirus:VillagerVirus" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Villager Infecting Recipe (Extension To Villager Virus):
- To Install Make Sure You Have Already Installed The Villager Virus And Then Also Make Sure Your In The "MonsterVirus" Folder Then Make A Txt File And Rename It From "New Text Document.txt" To "VillagerInfectingRecipe.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again):
- scoreboard players tag @e[type=Item] add FleshVTZ {Item:{id:"minecraft:rotten_flesh"}}
- scoreboard players tag @e[type=Item] add EggVTZ {Item:{id:"minecraft:egg"}}
- execute @e[tag=FleshVTZ] ~ ~ ~ execute @e[tag=EggVTZ,r=1] ~ ~ ~ scoreboard players tag @e[type=Villager,r=1] add VTZ
- execute @e[tag=VTZ] ~ ~ ~ kill @e[tag=EggVTZ,r=2]
- execute @e[tag=VTZ] ~ ~ ~ kill @e[tag=FleshVTZ,r=2]
- execute @e[tag=VTZ] ~ ~ ~ summon Zombie_Villager ~ ~ ~
- tp @e[tag=VTZ] ~ -5 ~
- Then Click "File" Then Click "Save" Then Go Onto Minecraft And Open The World (And If Its Already Open Type /reload)
- Skeleton Virus (Compatible With The Villager, Spider And Creeper Viruses):
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterVirus" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "SkeletonVirus.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Infecting Code
- scoreboard players tag @e[tag=!InfectedSV,type=Skeleton] add NInfectedSV
- scoreboard players tag @e[tag=InfectedSV] remove NInfectedSV
- execute @e[type=Skeleton,tag=InfectedSV] ~ ~ ~ scoreboard players tag @e[type=Skeleton,r=3] add InfectingSV {Tags:["NInfectedSV","SpawnedSV"]}
- effect @e[tag=InfectingSV] resistance 99999 5 true
- scoreboard players tag @e[tag=InfectingSV] add InfectedSV
- execute @e[tag=InfectedSV] ~ ~ ~ scoreboard players tag @s remove InfectingSV
- #Differentiating Code
- execute @e[tag=InfectedSV] ~ ~ ~ particle slime ~ ~1 ~ 0 0 0 1.5 1
- scoreboard teams add BlueSV
- scoreboard teams option BlueSV color blue
- scoreboard teams join BlueSV @e[tag=InfectedSV]
- #Dropped Item Infecting Recipe Code
- scoreboard players tag @e[type=Item] add EggSV {Item:{id:"minecraft:egg"}}
- scoreboard players tag @e[type=Item] add AxeSV {Item:{id:"minecraft:iron_axe"}}
- execute @e[tag=EggSV] ~ ~ ~ execute @e[tag=AxeSV,r=1] ~ ~ ~ scoreboard players tag @e[type=Skeleton,tag=!InfectedSV,r=1] add InfectingSV
- execute @e[tag=InfectingSV] ~ ~ ~ kill @e[tag=EggSV,r=2]
- execute @e[tag=InfectingSV] ~ ~ ~ kill @e[tag=AxeSV,r=2]
- #Dropped Item Curing Recipe Code
- scoreboard players tag @e[type=Item] add MilkCSV {Item:{id:"minecraft:milk_bucket"}}
- execute @e[tag=MilkCSV] ~ ~ ~ scoreboard players tag @e[tag=InfectedSV,r=1] add CuringSV
- execute @e[tag=CuringSV] ~ ~ ~ kill @e[tag=MilkCSV,r=1]
- scoreboard players tag @e[tag=CuringSV] remove InfectedSV
- scoreboard teams leave BlueSV @e[tag=CuringSV]
- effect @e[tag=CuringSV] resistance 0 0
- effect @e[tag=CuringSV] speed 0 0
- entitydata @e[tag=CuringSV] {CustomName:"Skeleton",CustomNameVisible:0b}
- scoreboard players tag @e[tag=CuringSV] remove CuringSV
- #Infected Powers Code
- entitydata @e[tag=InfectedSV] {Fire:-1s,CustomName:"Skeleton Boss",CustomNameVisible:1b}
- effect @e[tag=InfectedSV] speed 99999 1 true
- execute @e[score_TimeSV_min=95,score_TimeSV=96] ~ ~ ~ execute @e[tag=InfectedSV] ~ ~ ~ summon vindication_illager ~ ~ ~ {Tags:["MinionSV"]}
- execute @e[score_TimeSV_min=98] ~ ~ ~ effect @e[tag=InfectedSV] resistance 0 0
- execute @e[score_TimeSV_min=40,score_TimeSV=41] ~ ~ ~ effect @e[tag=InfectedSV] resistance 99999 5 true
- execute @e[score_TimeSV_min=70,score_TimeSV=99] ~ ~ ~ execute @e[tag=InfectedSV] ~ ~ ~ particle witchMagic ~ ~1 ~ 0 0 0 1.5 10
- execute @e[score_TimeSV=40] ~ ~ ~ execute @e[tag=InfectedSV] ~ ~ ~ particle crit ~ ~1 ~ 0 0 0 0.5 10
- execute @e[score_TimeSV_min=93,score_TimeSV=94] ~ ~ ~ kill @e[tag=MinionSV]
- #Random Spawn Code
- scoreboard objectives add SpawnSV dummy
- scoreboard objectives add TimeSV dummy
- scoreboard players add @a TimeSV 1
- scoreboard players tag @e[score_SpawnSV_min=5] add SpawnedSV
- scoreboard players add @e[type=Skeleton] SpawnSV 1
- execute @a[score_TimeSV_min=99] ~ ~ ~ scoreboard players tag @e[score_SpawnSV=2,tag=!SpawnedSV] add InfectingSV
- scoreboard players set @a[score_TimeSV_min=100] TimeSV 0
- #Other Extension Code
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterVirus:SkeletonVirus" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Creeper Virus (Compatible With The Villager, Spider And Skeleton Viruses):
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterVirus" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "CreeperVirus.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Infecting Code
- execute @e[type=Creeper,tag=InfectedCV] ~ ~ ~ scoreboard players tag @e[type=Creeper,r=3] add InfectingCV
- scoreboard players tag @e[tag=InfectingCV] add InfectedCV
- execute @e[tag=InfectedCV] ~ ~ ~ scoreboard players tag @s remove InfectingCV
- #Differentiating Code
- execute @e[tag=InfectedCV] ~ ~ ~ particle slime ~ ~1 ~ 0 0 0 1.5 1
- scoreboard teams add GrayCV
- scoreboard teams option GrayCV color gray
- scoreboard teams join GrayCV @e[tag=InfectedCV]
- #Dropped Item Infecting Recipe Code
- scoreboard players tag @e[type=Item] add EyeCV {Item:{id:"minecraft:spider_eye"}}
- scoreboard players tag @e[type=Item] add SugarCV {Item:{id:"minecraft:sugar"}}
- execute @e[tag=EyeCV] ~ ~ ~ execute @e[tag=SugarCV,r=1] ~ ~ ~ scoreboard players tag @e[type=Creeper,tag=!InfectedCV,r=1] add InfectingCV
- execute @e[tag=InfectingCV] ~ ~ ~ kill @e[tag=EyeCV,r=2]
- execute @e[tag=InfectingCV] ~ ~ ~ kill @e[tag=SugarCV,r=2]
- #Dropped Item Curing Recipe Code
- scoreboard players tag @e[type=Item] add MilkCCV {Item:{id:"minecraft:milk_bucket"}}
- execute @e[tag=MilkCCV] ~ ~ ~ scoreboard players tag @e[tag=InfectedCV,r=1] add CuringCV
- execute @e[tag=CuringCV] ~ ~ ~ kill @e[tag=MilkCCV,r=1]
- scoreboard players tag @e[tag=CuringCV] remove InfectedCV
- scoreboard teams leave GrayCV @e[tag=CuringCV]
- effect @e[tag=CuringCV] speed 0 0
- scoreboard players tag @e[rm=5] remove PowerCV
- entitydata @e[tag=CuringCV] {powered:0b,CustomName:"Creeper",CustomNameVisible:0b}
- scoreboard players tag @e[tag=CuringCV] remove CuringCV
- #Infected Powers Code
- effect @e[tag=InfectedCV] speed 99999 2 true
- execute @e[tag=InfectedCV] ~ ~ ~ scoreboard players tag @e[rm=5] remove PowerCV
- execute @e[tag=InfectedCV] ~ ~ ~ scoreboard players tag @e[r=5,tag=!InfectedCV] add PowerCV
- effect @e[tag=PowerCV] slowness 1 2 true
- entitydata @e[tag=InfectedCV] {powered:1b,CustomName:"Creeper Boss",CustomNameVisible:1b}
- #Random Spawn Code
- scoreboard objectives add SpawnCV dummy
- scoreboard objectives add TimeCV dummy
- scoreboard players add @a TimeCV 1
- scoreboard players tag @e[score_SpawnCV_min=5] add SpawnedCV
- scoreboard players add @e[type=Creeper] SpawnCV 1
- execute @a[score_TimeCV_min=99] ~ ~ ~ scoreboard players tag @e[score_SpawnCV=2,tag=!SpawnedCV] add InfectingCV
- scoreboard players set @a[score_TimeCV_min=100] TimeCV 0
- #Other Extension Code
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterVirus:CreeperVirus" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Spider Virus (Compatible With The Villager, Skeleton And Creeper Viruses):
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterVirus" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "SpiderVirus.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Infecting Code
- execute @e[type=Spider,tag=InfectedPV] ~ ~ ~ scoreboard players tag @e[type=Spider,r=3] add InfectingPV
- scoreboard players tag @e[tag=InfectingPV] add InfectedPV
- execute @e[tag=InfectedPV] ~ ~ ~ scoreboard players tag @s remove InfectingPV
- #Differentiating Code
- execute @e[tag=InfectedPV] ~ ~ ~ particle slime ~ ~1 ~ 0 0 0 1.5 1
- scoreboard teams add BlackPV
- scoreboard teams option BlackPV color black
- scoreboard teams join BlackPV @e[tag=InfectedPV]
- scoreboard teams join BlackPV @e[tag=IllagerPV]
- #Dropped Item Infecting Recipe Code
- scoreboard players tag @e[type=Item] add GunPV {Item:{id:"minecraft:gunpowder"}}
- scoreboard players tag @e[type=Item] add GlassPV {Item:{id:"minecraft:glass"}}
- execute @e[tag=GunPV] ~ ~ ~ execute @e[tag=GlassPV,r=1] ~ ~ ~ scoreboard players tag @e[type=Spider,tag=!InfectedPV,r=1] add InfectingPV
- execute @e[tag=InfectingPV] ~ ~ ~ kill @e[tag=GunPV,r=2]
- execute @e[tag=InfectingPV] ~ ~ ~ kill @e[tag=GlassPV,r=2]
- #Dropped Item Curing Recipe Code
- scoreboard players tag @e[type=Item] add MilkCPV {Item:{id:"minecraft:milk_bucket"}}
- execute @e[tag=MilkCPV] ~ ~ ~ scoreboard players tag @e[tag=InfectedPV,r=1] add CuringPV
- execute @e[tag=CuringPV] ~ ~ ~ kill @e[tag=MilkCPV,r=1]
- scoreboard players tag @e[tag=CuringPV] remove InfectedPV
- scoreboard teams leave GrayPV @e[tag=CuringPV]
- effect @e[tag=CuringPV] resistance 0 0
- scoreboard players tag @e[rm=5] remove PowerPV
- entitydata @e[tag=CuringPV] {powered:0b,CustomName:"Spider",CustomNameVisible:0b}
- scoreboard players tag @e[tag=CuringPV] remove CuringPV
- #Infected Powers Code
- execute @e[tag=IllagerPV] ~ ~ ~ effect @e[tag=!IllagerPV,r=10] speed 99999 3 true
- effect @e[tag=IllagerPV] resistance 99999 3 true
- entitydata @e[tag=InfectedPV] {powered:1b,CustomName:"Spider Boss",CustomNameVisible:1b}
- execute @e[tag=InfectedPV] ~ ~ ~ detect ~ ~-1 ~ air 0 scoreboard players tag @s add DroppingPV
- execute @e[tag=DroppingPV] ~ ~ ~ summon creeper ~ ~ ~ {ExplosionRadius:1,Fuse:0,ignited:1b}
- execute @e[tag=DroppingPV] ~ ~ ~ summon illusion_illager ~ ~ ~ {Tags:["IllagerPV"],CustomName:"Illusioner Miniboss",CustomNameVisible:1b}
- tp @e[tag=DroppingPV] ~ -20 ~
- #Random Spawn Code
- scoreboard objectives add SpawnPV dummy
- scoreboard objectives add TimePV dummy
- scoreboard players add @a TimePV 1
- scoreboard players tag @e[score_SpawnPV_min=5] add SpawnedPV
- scoreboard players add @e[type=Spider] SpawnPV 1
- execute @a[score_TimePV_min=99] ~ ~ ~ scoreboard players tag @e[score_SpawnPV=2,tag=!SpawnedPV] add InfectingPV
- scoreboard players set @a[score_TimePV_min=100] TimePV 0
- #Other Extension Code
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterVirus:SpiderVirus" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Monster Virus Config:
- (This Will Allow All The MonsterVirus & MonsterFarm Modules To Work At The Same Time Without Having To Switch "/gamerule gameLookFunction")
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterVirus" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Config.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- function MonsterVirus:VillagerVirus
- function MonsterVirus:SkeletonVirus
- function MonsterVirus:CreeperVirus
- function MonsterVirus:SpiderVirus
- function MonsterFarm:Teleporters
- function MonsterFarm:Dispenser
- function MonsterFarm:BlockBreaker
- function MonsterFarm:Pasiviser
- function MonsterFarm:WoodFarmer
- function MonsterFarm:Fermenter
- function MonsterFarm:Compresser
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterVirus:Config" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Teleporters:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Teleporters.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Entrance Recipe
- scoreboard players tag @e[type=Item] add TNE {Item:{id:"minecraft:ender_pearl"}}
- scoreboard players tag @e[type=Item] add TB {Item:{id:"minecraft:beacon"}}
- execute @e[tag=TB] ~ ~ ~ execute @e[tag=TNE,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["TNL"]}
- execute @e[tag=TNL] ~ ~ ~ kill @e[tag=TNE,r=2]
- execute @e[tag=TNL] ~ ~ ~ kill @e[tag=TB,r=2]
- execute @e[tag=TNL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"purpur_pillar",Count:1b}],HandItems:[{},{}],Tags:["TNA"]}
- execute @e[tag=TNL] ~ ~ ~ summon Shulker ~ ~ ~ {PersistenceRequired:1,Tags:["TN"],NoAI:1b,Silent:1b,AttachFace:0,ActiveEffects:[{Id:14,Amplifier:0,Duration:20000000,ShowParticles:0b}]}
- execute @e[tag=TNL] ~ ~ ~ kill @e[tag=TNL,c=1]
- #Entrance Extras
- effect @e[tag=TN] resistance 99999 10 true
- execute @e[tag=TN] ~ ~ ~ particle portal ~ ~ ~ 0 0 0 0.5 5 normal
- #Entrance Destroying Recipe
- scoreboard players tag @e[type=Item] add TL {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=TL] ~ ~ ~ kill @e[tag=TNA,r=3,c=1]
- execute @e[tag=TL] ~ ~ ~ tp @e[tag=TN,r=3,c=1] ~ -300 ~
- #Exit Recipe
- scoreboard players tag @e[type=Item] add TEE {Item:{id:"minecraft:ender_eye"}}
- execute @e[tag=TB] ~ ~ ~ execute @e[tag=TEE,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["TEL"]}
- execute @e[tag=TEL] ~ ~ ~ kill @e[tag=TEE,r=2]
- execute @e[tag=TEL] ~ ~ ~ kill @e[tag=TB,r=2]
- execute @e[tag=TEL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"end_portal_frame",Count:1b}],HandItems:[{},{}],Tags:["TE"]}
- execute @e[tag=TEL] ~ ~ ~ summon armor_stand ~ ~ ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoGravity:1b,Tags:["TET"]}
- execute @e[tag=TEL] ~ ~ ~ kill @e[tag=TEL,c=1]
- #Exit Destroying Recipe
- execute @e[tag=TL] ~ ~ ~ kill @e[tag=TE,r=3,c=1]
- execute @e[tag=TL] ~ ~ ~ kill @e[tag=TET,r=3,c=1]
- #Teleporting
- scoreboard objectives add TTM stat.walkOneCm
- scoreboard objectives add TTT dummy
- scoreboard players set @e TTM 0
- execute @e[tag=TN] ~ ~ ~ execute @e[score_TTM=1,c=1,r=2,tag=!TN] ~ ~ ~ execute @s[tag=!TNA] ~ ~ ~ scoreboard players add @s TTT 1
- effect @a[score_TTT_min=1,score_TTT=2] minecraft:nausea 8 1 true
- execute @e[score_TTT_min=20] ~ ~ ~ tp @e[score_TTT_min=20] @e[tag=TET,c=1]
- scoreboard players set @e[score_TTT_min=20] TTT 0
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:Teleporters" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- TF2 Dispensers:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Dispenser.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add DA {Item:{id:"minecraft:anvil"}}
- scoreboard players tag @e[type=Item] add DS {Item:{id:"minecraft:cooked_beef"}}
- execute @e[tag=DS] ~ ~ ~ execute @e[tag=DA,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["DL"]}
- execute @e[tag=DL] ~ ~ ~ kill @e[tag=DS,r=2]
- execute @e[tag=DL] ~ ~ ~ kill @e[tag=DA,r=2]
- execute @e[tag=DL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"dispenser",Count:1b}],HandItems:[{},{}],Tags:["D"]}
- execute @e[tag=DL] ~ ~ ~ kill @e[tag=DL,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add DB {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=DB] ~ ~ ~ kill @e[tag=D,r=5,c=1]
- #Dispenser Extras
- execute @e[tag=D] ~ ~ ~ effect @a[r=5] saturation 1 0 true
- #Dispenser Repair
- scoreboard players tag @e[type=Item] add DI {Item:{id:"minecraft:iron_ingot"}}
- scoreboard players tag @e[type=Item] add DT {Item:{id:"minecraft:stone"}}
- execute @e[tag=D] ~ ~ ~ execute @e[tag=DT,r=3] ~ ~ ~ execute @e[tag=DI,r=1] ~ ~ ~ scoreboard players tag @e[tag=D,r=4] add DR
- execute @e[tag=DR] ~ ~ ~ entitydata @e[type=Item,r=5] {Item:{Damage:0s}}
- execute @e[tag=DR] ~ ~ ~ kill @e[tag=DI,r=3]
- execute @e[tag=DR] ~ ~ ~ kill @e[tag=DT,r=3]
- scoreboard players tag @e[tag=DR] remove DR
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:Dispenser" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Block Breaker:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "BlockBreaker.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add BBP {Item:{id:"minecraft:dispenser"}}
- scoreboard players tag @e[type=Item] add BBD {Item:{id:"minecraft:iron_pickaxe"}}
- execute @e[tag=BBD] ~ ~ ~ execute @e[tag=BBP,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["BBL"]}
- execute @e[tag=BBL] ~ ~ ~ kill @e[tag=BBP,r=2]
- execute @e[tag=BBL] ~ ~ ~ kill @e[tag=BBD,r=2]
- execute @e[tag=BBL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"iron_block",Count:1b}],HandItems:[{},{}],Tags:["BB"]}
- execute @e[tag=BBL] ~ ~ ~ kill @e[tag=BBL,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add BBB {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=BBB] ~ ~ ~ kill @e[tag=BB,r=5,c=1]
- #Mining
- execute @e[tag=BB] ~ ~ ~ setblock ~ ~4 ~ air 0 destroy
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:BlockBreaker" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Pasiviser:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Pasiviser.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add PB {Item:{id:"minecraft:beacon"}}
- scoreboard players tag @e[type=Item] add PS {Item:{id:"minecraft:shield"}}
- execute @e[tag=PB] ~ ~ ~ execute @e[tag=PS,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["PL"]}
- execute @e[tag=PL] ~ ~ ~ kill @e[tag=PB,r=2]
- execute @e[tag=PL] ~ ~ ~ kill @e[tag=PS,r=2]
- execute @e[tag=PL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"emerald_block",Count:1b}],HandItems:[{},{}],Tags:["P"]}
- execute @e[tag=PL] ~ ~ ~ kill @e[tag=PL,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add PD {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=PD] ~ ~ ~ kill @e[tag=P,r=5,c=1]
- #Pasivising
- scoreboard teams add PP
- execute @e[tag=P] ~ ~ ~ scoreboard teams join PP @e[r=34]
- scoreboard teams option PP seeFriendlyInvisibles false
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:Pasiviser" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Wood Farmer:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "WoodFarmer.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add WS {Item:{id:"minecraft:sapling"}}
- scoreboard players tag @e[type=Item] add WA {Item:{id:"minecraft:iron_axe"}}
- execute @e[tag=WS] ~ ~ ~ execute @e[tag=WA,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["WL"]}
- execute @e[tag=WL] ~ ~ ~ kill @e[tag=WS,r=2]
- execute @e[tag=WL] ~ ~ ~ kill @e[tag=WA,r=2]
- execute @e[tag=WL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"log",Count:1b}],HandItems:[{},{}],Tags:["W"]}
- execute @e[tag=WL] ~ ~ ~ kill @e[tag=WL,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add WB {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=WB] ~ ~ ~ kill @e[tag=W,r=5,c=1]
- #Farming
- scoreboard objectives add WO dummy
- scoreboard players add @a WO 1
- execute @a[score_WO_min=1200] ~ ~ ~ execute @e[tag=W] ~ ~ ~ summon Item ~ ~4 ~ {Item:{id:"minecraft:log",Count:1}}
- scoreboard players set @a[score_WO_min=1200] WO 0
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:WoodFarmer" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Fermenter:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Fermenter.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add FL {Item:{id:"minecraft:log"}}
- scoreboard players tag @e[type=Item] add FW {Item:{id:"minecraft:water_bucket"}}
- execute @e[tag=FL] ~ ~ ~ execute @e[tag=FW,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["FLE"]}
- execute @e[tag=FLE] ~ ~ ~ kill @e[tag=FL,r=2]
- execute @e[tag=FLE] ~ ~ ~ kill @e[tag=FW,r=2]
- execute @e[tag=FLE] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"soul_sand",Count:1b}],HandItems:[{},{}],Tags:["F"]}
- execute @e[tag=FLE] ~ ~ ~ kill @e[tag=FLE,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add FB {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=FB] ~ ~ ~ kill @e[tag=F,r=5,c=1]
- #Fermenter Recipes
- scoreboard players tag @e[type=Item] add FRS {Item:{id:"minecraft:sand"}}
- execute @e[tag=F] ~ ~ ~ execute @e[tag=FRS,r=3] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:soul_sand",Count:1}}
- execute @e[tag=F] ~ ~ ~ kill @e[tag=FRS,r=3]
- scoreboard players tag @e[type=Item] add FRC {Item:{id:"minecraft:cobblestone"}}
- execute @e[tag=F] ~ ~ ~ execute @e[tag=FRC,r=3] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:netherrack",Count:1}}
- execute @e[tag=F] ~ ~ ~ kill @e[tag=FRC,r=3]
- scoreboard players tag @e[type=Item] add FRI {Item:{id:"minecraft:iron_ingot"}}
- execute @e[tag=F] ~ ~ ~ execute @e[tag=FRI,r=3] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:blaze_rod",Count:1}}
- execute @e[tag=F] ~ ~ ~ kill @e[tag=FRI,r=3]
- scoreboard players tag @e[type=Item] add FRK {Item:{Damage:0s,id:"minecraft:skull"}}
- execute @e[tag=F] ~ ~ ~ execute @e[tag=FRK,r=3] ~ ~ ~ summon Item ~ ~2 ~ {Item:{Count:1,Damage:1s,id:"minecraft:skull"}}
- execute @e[tag=F] ~ ~ ~ kill @e[tag=FRK,r=3]
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:Fermenter" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Compresser:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "Compresser.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- #Recipe
- scoreboard players tag @e[type=Item] add CP {Item:{id:"minecraft:piston"}}
- scoreboard players tag @e[type=Item] add CO {Item:{id:"minecraft:obsidian"}}
- execute @e[tag=CP] ~ ~ ~ execute @e[tag=CO,r=1] ~ ~ ~ summon Leash_knot ~ ~ ~ {Tags:["CL"]}
- execute @e[tag=CL] ~ ~ ~ kill @e[tag=CP,r=2]
- execute @e[tag=CL] ~ ~ ~ kill @e[tag=CO,r=2]
- execute @e[tag=CL] ~ ~ ~ summon armor_stand ~ ~-1.9 ~ {PersistenceRequired:1,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,ArmorItems:[{},{},{},{id:"piston",Count:1b}],HandItems:[{},{}],Tags:["C"]}
- execute @e[tag=CL] ~ ~ ~ kill @e[tag=CL,c=1]
- #Destroying Recipe
- scoreboard players tag @e[type=Item] add CB {Item:{id:"minecraft:lava_bucket"}}
- execute @e[tag=CB] ~ ~ ~ kill @e[tag=C,r=5,c=1]
- #Fermenter Repair
- scoreboard players tag @e[type=Item] add CRCB {Item:{id:"minecraft:coal_block"}}
- scoreboard players tag @e[type=Item] add CRS {Item:{id:"minecraft:stone"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRCB,r=3] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCD
- execute @e[tag=CCD] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:diamond_ore",Count:1}}
- execute @e[tag=CCD] ~ ~ ~ kill @e[tag=CRCB,r=3]
- execute @e[tag=CCD] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[tag=CCD] remove CCD
- scoreboard players tag @e[type=Item] add CRGN {Item:{id:"minecraft:gold_nugget"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRGN,r=3] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCG
- execute @e[tag=CCG] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:gold_ore",Count:1}}
- execute @e[tag=CCG] ~ ~ ~ kill @e[tag=CRGN,r=3]
- execute @e[tag=CCG] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[type=Item] add CRIR {Item:{id:"minecraft:iron_nugget"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRIR] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCI
- execute @e[tag=CCI] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:iron_ore",Count:1}}
- execute @e[tag=CCI] ~ ~ ~ kill @e[tag=CRIR,r=3]
- execute @e[tag=CCI] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[type=Item] add CRL {Item:{Damage:4s,id:"minecraft:dye"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRL,r=3] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCL
- execute @e[tag=CCL] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:lapis_ore",Count:1}}
- execute @e[tag=CCL] ~ ~ ~ kill @e[tag=CRL,r=3]
- execute @e[tag=CCL] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[tag=CCG] remove CCG
- scoreboard players tag @e[tag=CCI] remove CCI
- scoreboard players tag @e[tag=CCL] remove CCL
- scoreboard players tag @e[type=Item] add CRR {Item:{id:"minecraft:redstone"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRR,r=3] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCR
- execute @e[tag=CCR] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:redstone_ore",Count:1}}
- execute @e[tag=CCR] ~ ~ ~ kill @e[tag=CRR,r=3]
- execute @e[tag=CCR] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[tag=CCR] remove CCR
- scoreboard players tag @e[type=Item] add CRSA {Item:{id:"minecraft:sand"}}
- scoreboard players tag @e[type=Item] add CRN {Item:{id:"minecraft:netherrack"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRSA,r=3] ~ ~ ~ execute @e[tag=CRN,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCQ
- execute @e[tag=CCQ] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:quartz_ore",Count:1}}
- execute @e[tag=CCQ] ~ ~ ~ kill @e[tag=CRSA,r=3]
- execute @e[tag=CCQ] ~ ~ ~ kill @e[tag=CRN,r=3]
- scoreboard players tag @e[tag=CCQ] remove CCQ
- scoreboard players tag @e[type=Item] add CRC {Item:{Damage:1s,id:"minecraft:coal"}}
- execute @e[tag=C] ~ ~ ~ execute @e[tag=CRC,r=3] ~ ~ ~ execute @e[tag=CRS,r=3] ~ ~ ~ scoreboard players tag @e[tag=C,r=3] add CCC
- execute @e[tag=CCC] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:coal_ore",Count:1}}
- execute @e[tag=CCC] ~ ~ ~ kill @e[tag=CRC,r=3]
- execute @e[tag=CCC] ~ ~ ~ kill @e[tag=CRS,r=3]
- scoreboard players tag @e[tag=CCC] remove CCC
- #Compresser Addons
- function MonsterFarm:lavarecipe
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload) And Type "/gamerule gameLookFunction MonsterFarm:Compresser" (This Will Override Any Other Functions You Have Used This Command On And You Will Have To Use This Command On The Other Function To Make It Work Again)
- Compresser Addon: Lava Recipe:
- To Install Make Sure You Are In The "functions" Folder Then Create A Folder Called "MonsterFarm" If You Haven't Got It Yet Then Make A Txt File And Rename It From "New Text Document.txt" To "LavaRecipe.mcfunction" And Type (Btw If There Is A Double Space Between Lines That Means End Of Code And Start Following Instructions Again And Also The #'s Mean A Comment There Is A Comment You Want To Look Out For So Please Read Through The Code):
- scoreboard players tag @e[type=Item] add CALB {Item:{id:"minecraft:bucket"}}
- execute @e[tag=CRS] ~ ~ ~ detect ~ ~-1 ~ lit_furnace * scoreboard players tag @e[tag=CALB,r=3] add CAL
- execute @e[tag=CAL] ~ ~ ~ summon Item ~ ~2 ~ {Item:{id:"minecraft:lava_bucket",Count:1}}
- execute @e[tag=CAL] ~ ~ ~ kill @e[tag=CRS,r=3]
- execute @e[tag=CAL] ~ ~ ~ kill @e[tag=CALB,r=3]
- Then Click "File" Then Click "Save" Then Go Onto Minecraft Open The World (And If Its Already Open Type /reload)
Add Comment
Please, Sign In to add comment