Skip to main content

Coats [WIP]

This feature is available in in 1.20.1-1.5+  and will NOT be backported to any outdated versions.

Community packs allow players to add NEW custom coats in-game without overriding the default variants.


Important - Update Changes

Changes To Coat Data & Summoning
Feature Changes
Summon

Minecraft Minecraft /summon spawns white horses (cannot randomize).

  

 NEW  NEW  SWEM SUMMON COMMANDS

/swem summon LEGACY swem:coat  Summon a default coat. EX: swem:sweetboi

/swem summon LEGACY pack_name:coat_artist   Summon a custom coat. EX: kofi:hidalgo_arishant

/swem summon random LEGACY Summon a random coat

Coat Data

Removed Variant: # NBT and changed to Behaviors[6].Coat

Data values for coat must set a value using <id:coat> (see below for info)

  

 NEW  NEW  SWEM COAT CHANGE COMMANDS

/swem set coat Displays a list of all valid choices  choices  

/swem set coat swem:coat   Change to a default coat. EX: swem:sweetboi

/swem set coat pack_name:coat_artist   Change to a custom coat. EX: kofi:hidalgo_arishant

  

MINECRAFT COMMANDS (OP)

MC Commands are exempt from role keys (ie swem:mod) - which may be useful to servers.

  

Identify a coat (ID)

  

/data get entity @e[type=swem:swem_horse,sort=nearest,limit=1] Behaviors[6].Coat  

  

Change a coat

/data modify entity @e[type=swem:swem_horse,limit=1,sort=nearest] Behaviors[6].Coat set value <"id:coat">

Model

Coats and commands must state a supported model - this will be expanded in future.

LEGACY Default model and the only one currently implemented.


Frequently Asked Questions

This section has drop-downs for FAQs and expanded information about Community Pack Coats.
If your question is not answered here, check out General Information.

Features

⮞ CAN COMMUNITY PACKS ADD NEW FOAL VARIANTS?
No. The current system allows for 1 foal per color tag; support for additional foals will require an expanded breeding system.  

CAN COMMUNITY PACKS MODIFY DEFAULT SWEM COATS?
No. Information such as obtainable by breeding, color tags, lapis cycling is hard coded for default coats (included in SWEM).
You can use a resource pack to override any coat texture if you want to replace it.

⮞ CAN COMMUNITY PACKS ADD NEW MODELS?
No. It should continue to work with resource packs that override the SWEM model.
This feature will support the new Destrier model (and any others) when it is released in future.

CAN CUSTOM COATS APPEAR NATURALLY ON HORSES?
Yes. If the coat information (json) file allows breeding and cycling, it can occur when a horse is summoned or converted.

CAN CUSTOM COATS NATURALLY SPAWN?
No. Neither default nor custom coats naturally spawn in the wild (replace MC horses) unless you use a custom datapack.

This update has been modified to continue support for Ace's Datapack found found HERE in our Discord.

CAN CUSTOM COATS SUPPORT LAPIS / REDSTONE CYCLING?
Yes. This must be set to true for for lapis_cycling in the coat json file, and and allowCoatCycling in the server config file.

CAN CUSTOM COATS APPEAR FROM BREEDING DEFAULT +/- CUSTOM COATS?
Yes. This must be set to true for for obtainable_by_breeding in the coat json file. You must set at least one one base_colors tag - this will determine which color tags your horse can pass on if bred, as well as which foal color(s) can grow up into this coat.

CAN I MAKE A CUSTOM COAT 'SECRET'?
Yes, but not in the same way as special default coats. You can set  lapis_cycling and obtainable_by_breeding to false in the coat json file, which will prevent cycling and appearance by breeding or converting. The coat will only appear if summoned via command. If you have the right kind of knowledge, you could probably create a custom datapack or redstone system loop to check for and convert horses that meet 'secret coat criteria' (ie height and name), or other crafty ways to achieve this result.  


Using A Community Pack

To install a Content Pack or PREMADE PREMADE Community Pack, see General Information.

Read More

⮞ WHAT IS A COMMUNITY PACK?
Community Packs are folders that include all the files necessary to add NEW assets and are ready to play once installed.

⮞ WHAT IS A CONTENT PACK?
Content Packs is also a Community Pack, but usually with less content. It will merge into any Community Packs with the same name, like an 'expansion' pack or add-on.


Creating A Community Pack Coat


  


  STEP ONE:   GENERATE THE NEW FOLDERS (FIRST TIME USING SWEM 1.5 Beta)

  1. Install the mod update.
  2. Load the game to the menu screen.
  3. Exit the game.

[?] Features

Troubleshooting / Common Issues