Minecraft Blogs / Tutorial

Command Block Help #4

  • 276 views, 1 today
  • 3
  • 0
SkyTommy's Avatar SkyTommy
Level 23 : Expert Creeper
7
Hi Peoples! There is a new Command Block Help :D For you :)

So... We can start? :D


1. Command

How to summon mob with item or else


This command is useful for minecraft maps

/summon Zombie ~0 ~1 ~0 {Equipment:[{Count:1,id:diamond_sword,tag:{Unbreakable:1,ench:{id:19,lvl:1},{id:21,lvl:1}]}},{Count:1,id:golden_boots,tag:{Unbreakable:1,ench:[{id:2,lvl:4}]}},{Count:1,id:golden_leggings,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}},{Count:1,id:golden_chestplate,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}},{Count:1,id:golden_helmet,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}}],CustomName:The PRO,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:999},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:13},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:2}],DropChances:[0.4F,0.5F,0.1F,0.2F,0.3F],ActiveEffects:[{Id:5,Amplifier:1,Duration:999999}],CanPickUpLoot:1}


-For equipment, you can set to him and other items
-Unbreakable 1 (No Durability), Unbreakable 0 (Have Durability)
-CustomNameVisable 1 (can see name)
-DropChance:
------>0.4F = 40% chance to drop weapon
------>0.5F = 50% chance to drop helmet
------>0.1F =10% chance to drop chestplate
------>0.2F =20% chance to drop leggings
------>0.3F =30% chance to drop boots

-ActiveEffects, its potions effects. You don't know ID's for effects?

1-speed
2-slowness
3-haste
4-mining fatigue
5-strength
7-instant damage
8-jump boost
9-nausea
10-healt refill
11-resistence
12-fire resistence
13-water breathing
14-invisibility
15-blindess
16-night vision
17-hunger
18-weakness
19-poison
20-wither
21-health boost
22-absorption
23-saturation
H
Spoiler - click to reveal
id:1 =Fire Protection
id:2 =Feather Falling
id:3 =Blast Protection
id:4 =Projectile Protection
id:5 =Respiration
id:6 =Aqua Affinity
id:7 =Thorns
id:8 =Depth Strider
id:16 =Sharpness
id:17 =Smite
id:18 =Bane Of Arthropods
id:19 =Knockback
id:20 =Fire Aspect
id:21 =Looting
id:32 =Efficiency
id:33 =Silk Touch
id:34 =Unbreaking
id:35 =Fortune
id:48 =Power
id:49 =Punch
id:50 =Flame
id:51 =Infinity
id:61 =Luck Of The Sea
id:62 =Lure
:)

And last from this command,
-CanPickUpLoot 1 (he can pick items from you or other mobs)

Okay, we complete 1. command :D
NEXT COMMAND:::

/setblock ~0 ~1 ~0 mob_spawner 0 replace {SpawnCount:1,SpawnRange:4,maxNearbyEntities:6,Delay:20,MinSpawnDelay:60,MaxSpawnDelay:120,EntityId:Zombie,SpawnData:{Equipment:[{Count:1,id:diamond_sword,tag:{Unbreakable:1,ench:{id:19,lvl:1},{id:21,lvl:1}]}},{Count:1,id:golden_boots,tag:{Unbreakable:1,ench:[{id:2,lvl:4}]}},{Count:1,id:golden_leggings,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}},{Count:1,id:golden_chestplate,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}},{Count:1,id:golden_helmet,tag:{Unbreakable:1,ench:[{id:0,lvl:2}]}}],CustomName:Name,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:999},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:13},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:2}],DropChances:[0.4F,0.5F,0.1F,0.2F,0.3F],ActiveEffects:[{Id:5,Amplifier:1,Duration:999999}],CanPickUpLoot:1}} 

-This command is same like and previous, but its a spawner...
-SpawnCount 1 (1 per 1 mob spawned)
-SpawnRange 4 (How much blocks away from spawner)
-maxNearbyEntities 6 (Limit of mobs spawned near spawner)

Other informations is same.



NEW COMMAND :o

In this command i will show how to get block what you can set only on blocks what you want.

YOU NEED BE IN GAMEMODE 2


/give SkyTommy minecraft:block_name 1 11 {CanPlaceOn:["minecraft:block_name"]}


and 1 similar command,

/give SkyTommy minecraft:item_name 1 11 {CanDestroy:["minecraft:block_name"]}

with it command you can get item and break blocks what you want.

Dont use my name xD


And some small commands:

/effect @a 23 1000000 1 true
-no hunger-

title @p title [{text:"Text Here",color:"red",bold:"true"}]

title @p subtitle [{text:"Text!",color:"red",bold:"true"}]

/replaceitem entity @p slot.armor.head dirt

/kill @e[type=!Player]
-
kill all mobs and drops-


Its all for this Blog ;)

New Command Block Help coming soon.

BYE :D
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome