mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Deprecate unit cube in block components (#4470)
* Depricate unit cube * Didn't mean to remove that
This commit is contained in:
parent
f8e6d26fc2
commit
3c4a1a82c9
4 changed files with 18 additions and 9 deletions
|
@ -129,8 +129,11 @@ public interface CustomBlockComponents {
|
|||
* Gets the unit cube component
|
||||
* Equivalent to "minecraft:unit_cube"
|
||||
*
|
||||
* @deprecated Use {@link #geometry()} and compare with `minecraft:geometry.full_block` instead.
|
||||
*
|
||||
* @return The rotation.
|
||||
*/
|
||||
@Deprecated
|
||||
boolean unitCube();
|
||||
|
||||
/**
|
||||
|
@ -181,6 +184,10 @@ public interface CustomBlockComponents {
|
|||
|
||||
Builder transformation(TransformationComponent transformation);
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #geometry(GeometryComponent)} with `minecraft:geometry.full_block` instead.
|
||||
*/
|
||||
@Deprecated
|
||||
Builder unitCube(boolean unitCube);
|
||||
|
||||
Builder placeAir(boolean placeAir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue