pub struct BlockBuilder { /* private fields */ }

Implementations

Configure whether or not this block is rotatable. Default is false.

Configure whether or not this block is rotatable on the y-axis. Default is false.

Configure whether or not this is a block. Default is true.

Configure whether or not this is empty. Default is false.

Configure whether or not this is a fluid. Default is false.

Configure whether or not this block emits light. Default is false.

Configure whether or not this block is a plant. Default is false.

Configure whether or not this block is a solid. Default is true.

Configure whether or not this block is transparent. Default is false.

Configure the red light level of this block. Default is 0.

Configure the green light level of this block. Default is 0.

Configure the blue light level of this block. Default is 0.

Configure whether or can plants grow on this block. Default is false.

Configure whether or not should transparent faces be rendered individually. Default is false.

Configure the faces that the block has. Default is vec![].

Construct a block instance, ready to be added into the registry.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

Tries to create the default.

Calls try_default and panics on an error case.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.