Merge remote-tracking branch 'origin/legacy/reflection' into legacy/reflection

This commit is contained in:
Stijn Bannink 2023-08-12 21:35:24 +02:00
commit 19fdd6ff66

View file

@ -50,13 +50,13 @@ controller.showInHand(p, true);
It's also possible to split one image onto multiple itemframes. For example using the following code. It's also possible to split one image onto multiple itemframes. For example using the following code.
```java ```java
BufferedImage leftTopFrame = ...; BufferedImage leftTopImg = ...;
BufferedImage leftBottomFrame = ...; BufferedImage leftBottomImg = ...;
BufferedImage rightTopFrame = ...; BufferedImage rightTopImg = ...;
BufferedImage rightBottomFrame = ...; BufferedImage rightBottomImg = ...;
BufferedImage[][] images = { BufferedImage[][] images = {
{leftBottomFrame, leftTopFrame}, {leftBottomImg, leftTopImg},
{rightBottomFrame, rightTopFrame} {rightBottomImg, rightTopImg}
}; };
//--- Wrap image --- //--- Wrap image ---