mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Deprecate ElementBuilder#rotation(BlockPartRotation) and add zero-parameter overload (fixes #6321) (#6338)
This commit is contained in:
1 parent
dbec9b3d5a
commit
4ff65feb63
1 file changed
+8
@@ -370,7 +370,15 @@ public class ModelBuilder<T extends ModelBuilder<T>> extends ModelFile {
|
||||
return faces.computeIfAbsent(dir, FaceBuilder::new);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #rotation()}
|
||||
*/
|
||||
@Deprecated
|
||||
public RotationBuilder rotation(BlockPartRotation rotation) {
|
||||
return rotation();
|
||||
}
|
||||
|
||||
public RotationBuilder rotation() {
|
||||
if (this.rotation == null) {
|
||||
this.rotation = new RotationBuilder();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user