Package fr.fidorial.world.block
package fr.fidorial.world.block
Block types, block states and their behaviour.
- Since:
- 0.1.0
-
ClassDescriptionThe server-side logic of a block type: how it is placed and how it interacts with light.One state of a
BlockType: the block plus a value for each of its properties.Read-only access to the blocks of a world.Where and how a player is placing a block, handed toBlockBehaviour.placementState(BlockPlaceContext).The properties shared by many vanilla blocks, and factories for new ones.A property of a block type and the values it accepts.Every block type the server knows, vanilla and plugin-defined.Static access to theBlockRegistry, bootstrapped by the server at startup.A kind of block, such asminecraft:oak_stairs, with the properties its states combine.Builds aBlockType, typically for a block a plugin adds.