Skip to content

BlocksRegistry API #40

Open
Open
@osipxd

Description

@osipxd

Add API similar to ItemsRegistry but for custom blocks.

Features:

  • check if a custom block with a given name exists
  • get the block id (as string) of a Block or ItemStack (for blocks in the hand of a player)
  • create an ItemStack for a given block id and amount
  • place a custom block with given id at a destination Block

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions