Block Features
Last updated
Last updated
The way to create the EB
BASIC_CREATION
DISPLAY_CREATION
IMPORT FROM EI
IMPORT FROM ITEMSADDER
IMPORT FROM ORAXEN
Info: The base minecraft item of the executable block.
Extra Info: The item has to be a placeable block.
material: DIRT
Required: YES
Info: The name of the block
Example:
name: '&cEpic Sword'
Required: YES
(IT IS A MUST IN 1.12 AS YOU CANNOT HAVE A NULL NAME)
Info: The lore of the block
Example:
lore:
- §6>> §e----------- §6<<
- §aClick on this block
- §awhen it is placed !
- §aand see the custom structures !
- §6>> §e----------- §6<<
Required: YES
(IT IS A MUST IN 1.12 AS YOU CANNOT HAVE A NULL LORE)
Placeholders that you can use in the lore, %player%, %usage%, etc.
Info: Whether if you want to make your Executable Block to be obtainable by breaking or not
Example:
dropBlockIfItIsBroken: true
Required: NO (Default: true)
Info: Whether if you want to make your Executable Block to be obtainable by breaking or not
Example:
dropBlockIfItIsBurns: true
Required: NO (Default: false)
Info: Whether if you want to make your Executable Block to be obtainable by getting destroyed from any explosion
Example:
dropBlockWhenItExplodes: true
Required: NO (Default: true)
Info: Select the type of drop the EB block will have
Type of drops:
IN_THE_INVENTORY
ON_THE_GROUND
Info: Requirements to at least have the required Executable Item into your main hand or offhand to break the executable block
Example:
onlyBreakableWithEI:
- firework
Required: NO (Default: empty)
Info: Whether if the block can be moved used a piston or not.
Example:
canBeMoved: false
Info: It's basically an option that allows you to sync your executable block into an executable item.
Extra Info: The executable block copies the name, material and lore of the executable item so when you attempt to edit the name, material or lore of the eb, nothing will change. You have to edit the name, material and lore of the ei for the changes in eb to take place
Example:
executableItem: hack
Required: NO
It supports DecentHolograms, HolographicDisplays and CMI
Info: Whether the title hologram would be enabled or not
Example:
activeTitle: false
Required: NO
Info: The displayed text of the hologram
Example:
title: '&7&oDefault title'
(With HolographicDisplay) You can display item in the title type ITEM::MATERIAL
title:
- '&7&oDefault title'
- 'ITEM::DIAMOND'
Required: NO
Info: How high or low is the adjustment of the elevation of the title hologram
Example:
titleAdjustment: 0.5
Required: NO
Extra Info: Positive number for upwards, Negative number for downwards
titleFeatures:
# Active the title
activeTitle: true
# The title
title:
- Hello
- &6It's support color
- and %placeholder%
titleAdjustment: 0.5
Info: The value of how many times you can use it. Mostly used for the usage modification function of activators.
Example:
usage: 0
For infinite block use:
usage: -1
Required: NO (Default: 0)
Here you can add a list of materials that can be placed inside your block
containerFeatures:
whitelistMaterials:
- DIRT
Here you can add a list of materials that can't be placed inside your block
containerFeatures:
blacklistMaterials:
- STONE
If the container is locked or not
In case it is locked you have to select the name of the key
containerFeatures:
isLocked: true
lockedName: ThisIsMyKey
The inventory title of the container
containerFeatures:
inventoryTitle: INVENTORY TITLE
It allows to customize the speed of your furnace.
Example:
furnaceFeatures:
furnaceSpeed: 2.0
Makes the block not require fuel to run
furnaceFeatures:
infiniteFuel: true
Makes the block look like it's lit
furnaceFeatures:
infiniteVisualLit: true
Multiplier of the result.
furnaceFeatures:
fortuneMultiplier: 5
Chance that the fortune applies
furnaceFeatures:
fortuneChance: 0.95
It forces the block to be placed looking at certain direction
Example:
directionalFeatures:
forceBlockFaceOnPlace: true
It sets the face of the block when its placed
Example:
directionalFeatures:
forceBlockFaceOnPlace: true
blockFaceOnPlace: NORTH
It allows to customize the speed of your brewingStand
Example:
brewingStandFeatures:
brewingStandSpeed: 1.0
It allows you to customize the amount of items is transferred each tick of hopper.
Example:
hopperFeatures:
amountItemsTransferred: 5
Material of the item that will be displayed
Example:
DisplayFeatures:
material: PAPER
Custom model data of the material that will be displayed
Example:
DisplayFeatures:
customModelData: 3
Scale of the display
Example:
DisplayFeatures:
scale: 1
If you want the display to be aligned
Example:
DisplayFeatures:
aligned: false
Select the custom pitch
Example:
DisplayFeatures:
customPitch: 1
Select the custom Y
Example:
DisplayFeatures:
customY: 1.0
Glow or not
Example:
DisplayFeatures:
glow: false
Width of the display
Height of the display
Collidable or not
Example:
DisplayFeatures:
InteractionZoneFeatures:
width: 1.0
height: 1.0
isCollidable: false
Amount of clicks needed to break the display creation
Example:
DisplayFeatures:
clickToBreak: 3
Sets which slots (Index 0-5) would have a book in it
chiseledBookshelfFeatures:
occupiedSlots:
- '2'
- '5'
Info: It will cancel the destruction of seeds, player heads by water/lava
Example:
cancelLiquidDestroy: true