Block Injection API
Injection utilities related to blocks.
Setup
Block Entity Type Injection
BlockEntityTypeInjection.java
The methods above are used to inject a BlockEntityType into a block or group of blocks.
Point of Interest Type Injection
PointOfInterestTypeInjection.java
The methods above are used to inject a PointOfInterestType into a block, blockstate, or group of either. Injecting into a block will inject the PointOfInterestType into all of its blockstates.
Block State Property Injection
BlockStatePropertyInjection.java
The methods above are used to inject BlockState Properties into a block, optionally with a defaultValue.
Last updated