Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //if you set the image of something to getTexture("redstone_sword"), it will have the texture of a Redstone Sword
- function getTexture(texture){
- if(texture=="redstone_sword"){
- return android.graphics.BitmapFactory.decodeStream(ModPE.openInputStreamFromTexturePack("images/items-opaque/redstone_sword_0.png"));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement