跳到主要内容

mob-simulation.yml

/plugins/InfinityExpansion2/mob-simulation.yml

This file hosts all Mob Data Cards for InfinityExpansion 2.

Default Cow card
cow:
enabled: true
name: "Cow"
texture: IRON_CHESTPLATE
energy: 75
experience: 1
drops:
- item: LEATHER
chance: 1
- item: BEEF
chance: 1
recipe:
pattern:
- "LBL"
- "CXC"
- "LBL"
ingredient:
L:
item: LEATHER
amount: 64
B:
item: BEEF
amount: 64
C:
item: COOKED_BEEF
amount: 64
OptionDescriptionValues
cowThe ID of the card. Must be unique.Lowercase English letters, numbers, underscores (_).
enabledWhether this card is enabled.true/false
nameThe display name of the card.Any string
textureThe Material of the card.Valid item Material
energyThe energy consumption of the card.0 ~
experienceThe experience of the card.0 ~
dropsDrops section.
recipeRecipe section.

Drops

This list defines all the drops of the card.

A drop contains the following fields:

  • item: The item ID of the drop. Must be a valid Slimefun item ID, or a valid item Material name (Slimefun ID takes precedence).
  • chance: The chance of the drop. A decimal number between 0 and 1.
  • amount: The amount of items. Can be omitted and defaults to 1.

Recipe

The recipe is similar to a Minecraft's shaped crafting recipe.

pattern

The pattern field is a 3x3 grid of characters. Each case-sensitive character represents an item in the recipe.

Use spaces for empty slots.

Important

The pattern must have one and only one X character, which represents the empty mob data card.

ingredient

Specifies the ingredients of the corresponding characters in the pattern (besides X).

Each ingredient contains the following fields:

  • item: The item ID of the ingredient. Must be a valid Slimefun item ID, or a valid item Material name (Slimefun ID takes precedence).
  • amount: The amount of items. Can be omitted and defaults to 1.