If I want to spawn a husk, the chat says "Unable to summon entity". Nothing happens with a spawnegg. What can I do to fix it?
What level of difficulty did you set?
If you play on "Peaceful", change it to whatever, except "Peaceful". If that still doesn't work because you are playing with any mods that happen to have an entity that means the same, use "minecraft: husk" as the ID and try again.
Are you already playing in the right version?
Don't you have the difficulty level at peaceful?
Which command do you enter exactly?
Easy
I play on spigot
1.15.2
Easy
/ summon minecraft: husk -23 18 139 {CustomNameVisible: 1b, PersistenceRequired: 1b, IsBaby: 0b, CustomName: '{"text": "Husk", "color": "gold", "bold": true}', HandItems: [{}, {id: "minecraft: red_sand", Count: 2b, tag: {display: {Lore: ['{"text": "Can be placed on red sandstone", "color": "gray" } ']}}}], HandDropChances: [0.085F, 1,000F], Attributes: [{Name: generic.movementSpeed, Base: 2}, {Name: generic.armor, Base: 3}]}
What version are you playing on, does the entity already exist?
1.15.2
Then I would say the error is somewhere here:
{CustomNameVisible: 1b, PersistenceRequired: 1b, IsBaby: 0b, CustomName: '{"text": "Husk", "color": "gold", "bold": true}' ', HandItems: [{}, {id: "minecraft: red_sand", Count: 2b, tag: {display: {Lore: ['{"text": "Can be placed on red sandstone", "color": "gray"}']}}}], HandDropChances: [0.085F, 1,000F], Attributes: [{Name: generic.movementSpeed, Base: 2}, {Name: generic.armor, Base: 3}]}
Have you tried omitting a few tags to find out which one of them doesn't work?
Do it
/ summon minecraft: husk -23 18 139 {CustomNameVisible: 1b, PersistenceRequired: 1b, IsBaby: 0b, CustomName: '{"text": "Husk", "color": "gold", "bold": true}'}
and
/ summon minecraft: husk -23 18 139 HandItems: {[{}, {id: "minecraft: red_sand", Count: 2b, tag: {display: {Lore: ['{"text": "Can be placed on red sandstone "," color ":" gray "} ']}}}], HandDropChances: [0.085F, 1,000F]}
It doesn't even work with a husk without tags
Then it was probably Spigot.
Can you hum other mobs? Zombie? Bee?
Zombie not, bee does
All hostile mobs somehow can't spawn, but the animals can
Are Spawneggs Going?
Do hostile mobs spawn on their own, i.e. At night or something?
Spawneggs don't work either (see question)
They don't spawn on their own
Make times in the server.properties spawn monsters true and see if that changes.
If not then look through your Spigot / MultiVerse / WorldGuard etc. Settings
you put a space after the minecraft: