Sueta

Minecode

0.5.4

Add custom items, armor and blocks to minecraft

·Plugin

header_photo_2.png

If the default config isn't correct look at the config below

Minecode will allow you to add your custom blocks, items and armor to minecraft. And it doesn't uses armorstands.

2019-09-27_19.24.29(2).png
Kipjongen (chickenboy) from the Dutch youtube channel PiEmPeRs
https://youtube.com/piempers

To let the Minecode plugin work you need optifine or mcpatcher for the textures and models.

How

  • You need to add the minecode plugin to your server plugins folder
    YouTube
  • Than create a custom resource pack with mcpatcher/optifine
  • Every thing the armor, blocks and the items go in the cit folder.
  • Structure
    ↪assets
    ↪ minecraft
    ↪ optifine/mcpatcher
    ↪ cit
    you can have folders in here
    (name).properties
Items/Blocks

Items/Blocks:

Example item Purplearmorchestplate.properties:

items=minecraft:diamond_chestplate
nbt.minecode.item=purplearmor
texture=purplediamond_chestplate

Example block Purplestone.properties:

items=minecraft:stone
nbt.minecode.block=purplestone
model=purplestone.json

All textures and models go in the same folder as the properties file unless specified other wise in the documentations above.

Armor

Armor:

  • For armor items use the items above

Example armor PurpleArmor.properties:

type=armor
matchItems=minecraft:diamond_helmet minecraft:diamond_chestplate minecraft:diamond_boots minecraft:diamond_leggings
nbt.minecode.item=purplearmor
texture.diamond_layer_1=purple_layer_1
texture.diamond_layer_2=purple_layer_2

All textures and models go in the same folder as the properties file unless specified other wise in the documentations above.

Config

Example config.yml:

blocks:
  block1:
    name: purpleblock
    nbtname: purpleblock
    id: minecraft:stone
    dropitem: true
    tools:
    - axe
    - pickaxe
    - sword
    - hoe
    - shovel
    - hand
    types:
    - wood
    - stone
    - iron
    - gold
    - diamond
    drops:
      wool:
        id: minecraft:white_wool
        amount: 10
items:
  item1:
    name: purplechestplate
    nbtname: purplearmor
    id: minecraft:diamond_chestplate
    type: armor
    enchantments:
      enchament1:
        level: 10
        enchantment: minecraft:respiration
    attributes:
      attribute1:
        type: armor
        slot: body
        operation: 0
        amount: 4
      attribute2:
        type: maxhealth
        slot: body
        operation: 0
        amount: 6
      attribute3:
        type: armortoughness
        slot: body
        operation: 0
        amount: 4
  item2:
    name: purpleapple
    nbtname: purpleapple
    id: minecraft:apple
    type: food
    properties:
      property1:
        name: saturation
        value: 20.0
      property2:
        name: foodlevel
        value: 4
crafting:
  craft1:
    name: test
    result:
      item: customblock:purplestone
      amount: 1
    ingredients:
    - minecraft:stone
    recipe:
    - '!'
    - '!'
    - '!'
    - '!'
    - )
    - '!'
    - '!'
    - '!'
    - '!'
furnace:
  furn1:
    xp: 0
    name: craftpurpleapple
    cookingtime: 20
    result:
      id: customitem:purpleapple
      amount: 1
    ingredient:
      id: minecraft:apple
      amount: 1

Item types:
- food
- armor
- generic
- sword
- pickaxe
- axe
- hoe
- shovel
- bow

Block tools:
- axe
- pickaxe
- sword
- hoe
- shovel
- hand

Block types:
- wood
- stone
- iron
- gold
- diamond

Attribute types:
- armor
- armortoughness
- attackdamage
- attackknockback
- attackspeed
- followrange
- knockbackresistance
- luck
- maxhealth
- movementspeed

Commands

/command - description | permission

/customblock - all customblock commands | none
/customblock give <customblock> (<player>) - give's a player a customblock | minecode.block.give
/customblock set <customblock> <x> <y> <z> - set's a customblock | minecode.block.set
/customblock list - a list of all customblocks | minecode.block.list

/customitem - all customitem commands | none
/customitem give <customitem> (<player>) - give's a player a customitem | minecode.item.give
/customitem list - a list of all customitems | minecode.item.list

If you have any questions you can contact me on the discussion tab

Similar projects

Plugin →