Merge remote-tracking branch 'origin/legacy/reflection' into legacy/reflection
This commit is contained in:
commit
19fdd6ff66
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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.
|
||||
|
||||
```java
|
||||
BufferedImage leftTopFrame = ...;
|
||||
BufferedImage leftBottomFrame = ...;
|
||||
BufferedImage rightTopFrame = ...;
|
||||
BufferedImage rightBottomFrame = ...;
|
||||
BufferedImage leftTopImg = ...;
|
||||
BufferedImage leftBottomImg = ...;
|
||||
BufferedImage rightTopImg = ...;
|
||||
BufferedImage rightBottomImg = ...;
|
||||
BufferedImage[][] images = {
|
||||
{leftBottomFrame, leftTopFrame},
|
||||
{rightBottomFrame, rightTopFrame}
|
||||
{leftBottomImg, leftTopImg},
|
||||
{rightBottomImg, rightTopImg}
|
||||
};
|
||||
|
||||
//--- Wrap image ---
|
||||
|
|
Loading…
Add table
Reference in a new issue