Collisions
● Collisions – a new type of custom block entity that allows you to make blocks solid.
https://streamable.com/5zjhs2
● Created using the same principle as
interactions, inside the
collisions section.
● As of release, they support two settings:
-
offset with parameters
x, y, z — same format as in the
interactions section.
-
size — defines the collision hitbox size. (
Note: the size attribute is only supported in Minecraft
1.20.5+)
Demonstration of collisions in a block file
● Collisions are implemented using shulkers with most of their features stripped.
However, due to Minecraft limitations, the shulker head cannot be made invisible without resource packs, which may be visually distracting.
</> Commands
● New command: `
/custom-block` or `
/cb` — a shortcut for giving custom blocks, works similarly to `
/bdc custom-block give`
● Command `
/bdc custom-block set` has been
temporarily removed for rework.
● Command `
/bdc killdisplay&interaction` has been renamed to `
/bdc killcbentities` and now also clears Custom Block data.
● Command `
/bdc reload` now supports an additional argument to reload a specific block.
Placeholders
● Added placeholder for custom block: `
%customblock_name%`
● Added placeholders for interaction entity location:
`
%interaction_x%`
`
%interaction_y%`
`
%interaction_z%`
● When a custom block is given, placeholders in the item name and lore will be replaced using the receiver’s data.
● New placeholder:
%player_skin_base64% — returns the player skin in base64 format for use in commands.
● When giving a block, the
%player_skin_base64% placeholder will be applied to the display spawn command if
display.use-placeholder is set to `true`.
⚠️
Note: When a custom block is placed and then broken, placeholder-based commands and items will not retain their data.
● To preserve this information, the `save-system` setting was added.
- Default: `
yaml-file`
- You can switch to `
item`, which saves data inside the item itself.
Permissions
● Added 3 permissions for corresponding subcommands:
`
bdc.command.custom-block`
`
bdc.command.reload`
`
bdc.command.killcbentities`
Open Source
● The plugin is now open source and available
here
️ Tags
● Added 8 new tags for custom block entities.
General Tags:
`custom-block`
`custom-block-name: *block name*`
`custom-block-location: *x y z*`
Display Tags:
`custom-block-display`
Interaction Tags:
`custom-block-interaction`
`custom-block-interaction-id: *interaction ID*`
Collision Tags:
`custom-block-collision`
`custom-block-collision-id: *collision ID*`
➕ Other
● The
right section is no longer required for defining interaction commands. All existing blocks using it will be
automatically migrated.
● The
interact-cb flag is now
allowed by default.
● Offsets are now correctly applied to all block directions.