Denovo

Types

The Minecraft types blocks pass around, where to get one and what to do with it.

Block

interface

Represents a block. This is a live object, and only one Block may exist for any given location in a world. The state of the block may change concurrently to your own handling of it; use block.getState() to get a snapshot state of a block which will not be modified. Note that parts of this class which require access to the world at large (i.e. lighting and power) may not be able to be safely accessed during world generation when used in cases like BlockPhysicsEvent!!!!

Where to get one:

What you can do with it:

Component

interface

A Component is an immutable object that represents how text is displayed Minecraft clients. Components can be thought of as the combination of: The message the Component wants to display; and The Style of that message. The most basic component is the TextComponent, where the message is a simple String. However, other dynamic Components are available, which are linked to from here and you are encouraged to explore to better support your plugin/mod. Factories and builders for all available component types are provided via this interface. Components can be serialized to and deserialized from other formats via the use of serializers. If used within one of our natively supported platforms, the availability of such serializers may vary, consult the documentation or support for the given platform should this be the case. Further information about Components, along with functional examples of how they can be used, can be found on our documentation.

Where to get one:

What you can do with it:

List

interface

No description yet.

Where to get one:

What you can do with it:

Location

class

Represents a 3-dimensional position in a world. No constraints are placed on any angular values other than that they be specified in degrees. This means that negative angles or angles of greater magnitude than 360 are valid, but may be normalized to any other equivalent representation by the implementation.

Where to get one:

What you can do with it:

Map

interface

No description yet.

What you can do with it:

Player

interface · also counts as HumanEntity, Damageable, Entity, CommandSender, Permissible, OfflinePlayer

Represents a player, connected or not

Where to get one:

What you can do with it:

Player>

class

No description yet.

Where to get one:

ScoreboardState

class

No description yet.

Where to get one:

What you can do with it:

World

interface · also counts as RegionAccessor

Represents a world, which may contain entities, chunks and blocks

Where to get one:

What you can do with it:

On this page