@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault
Interface | Description |
---|---|
IBitAccess |
Do not implement, acquire from
IChiselAndBitsAPI |
IBitBag | |
IBitBrush |
Do not implement, acquire from
IChiselAndBitsAPI |
IBitLocation |
Do not implement, acquire from
IChiselAndBitsAPI |
IBitVisitor | |
IChiselAndBitsAPI |
Do not implement, is passed to your
IChiselsAndBitsAddon |
IChiseledBlockTileEntity |
This interface is implemented by Chiseled Block Tile Entities.
|
IChiselsAndBitsAddon |
Implement this on a class with the @ChiselsAndBitsAddon annotation, you can
do anything you want to get your support ready inside the callback, such as
store the object for later use, or replace a null implementation with a C&B
implementation.
|
IMultiStateBlock |
Implemented by C&B Blocks, can be used to request a material that represents
the largest quantity of a C&B block.
|
ParameterType<T> |
use these Enums to retrieve various settings or runtime values via
IChiselAndBitsAPI .getParameter |
Class | Description |
---|---|
APIExceptions | |
BitQueryResults | |
EventBlockBitModification | |
EventBlockBitPostModification | |
EventFullBlockRestoration |
Enum | Description |
---|---|
ItemType | |
ModKeyBinding | |
ParameterType.BooleanParam | |
ParameterType.DoubleParam | |
ParameterType.FloatParam | |
ParameterType.IntegerParam | |
ParameterType.ParamTypes |
Exception | Description |
---|---|
APIExceptions.CannotBeChiseled |
Thrown When a block cannot hold chiseled bits, or be converted to a
chiseled block.
|
APIExceptions.InvalidBitItem |
Thrown when a ItemStack is not a valid chiseled bit, or contains invalid
data.
|
APIExceptions.SpaceOccupied |
Thrown when a bit cannot be placed in that space, this is not caused by
bits already occupying that space, but by multiparts.
|
Annotation Type | Description |
---|---|
ChiselsAndBitsAddon |
Triggers C&B to create an instance of the class and call its callback method
on load.
|
IgnoreBlockLogic |
When checking for blocks to allow for chiseling C&B checks various methods...
|
KeyBindingContext |
The key bindings for the following operations are only active when holding C&B items:
- "chisel" - Setting the chisel mode
- "postivepattern" - Setting the positive pattern mode
- "tapemeasure" - Setting the tape measure mode
- "rotateable" - Rotating blocks
- "menuitem" - Opening the radial menu
If you put this annotation on a class that extends Item, you can allow C&B to bypass
the normal activity checks when holding an item that is an instance of that class.
|