Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SubscribeEvent
- public void onTextureStitchEvent(TextureStitchEvent.Pre event){
- TextureMap textureMap = event.getMap();
- if(textureMap == Minecraft.getMinecraft().getTextureMapBlocks()){
- TextureAtlasSprite sprite = new TextureAtlasSpriteTest("gudenau:blocks/test");
- textureMap.setTextureEntry(sprite);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment