mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-24 15:00:48 +00:00
Merge pull request #2196 from abel1502/abel-bobble
Add a bobblehead of myself
This commit is contained in:
commit
6f598278d6
@ -213,7 +213,8 @@ public class BlockBobble extends BlockContainer implements IGUIProvider, INBTTra
|
||||
CIRNO( "Cirno", "Cirno", "the only multi layered skin i had", "No brain. Head empty.", true, ScrapType.BOARD_BLANK),
|
||||
MICROWAVE( "Microwave", "Microwave", "OC Compatibility and massive RBMK/packet optimizations", "they call me the food heater$john optimization", true, ScrapType.BOARD_CONVERTER),
|
||||
PEEP( "Peep", "LePeeperSauvage", "Coilgun, Leadburster and Congo Lake models, BDCL QC", "Fluffy ears can't hide in ash, nor snow.", true, ScrapType.CARD_BOARD),
|
||||
MELLOW( "MELLOWARPEGGIATION", "Mellow", "NBT Structures, industrial lighting, animation tools", "Make something cool now, ask for permission later.", true, ScrapType.CARD_PROCESSOR);
|
||||
MELLOW( "MELLOWARPEGGIATION", "Mellow", "NBT Structures, industrial lighting, animation tools", "Make something cool now, ask for permission later.", true, ScrapType.CARD_PROCESSOR),
|
||||
ABEL( "Abel1502", "Abel1502", "Abilities GUI, optimizations and many QoL improvements", "NANTO SUBARASHII", true, ScrapType.CPU_REGISTER);
|
||||
|
||||
public String name; //the title of the tooltip
|
||||
public String label; //the name engraved in the socket
|
||||
|
||||
@ -50,6 +50,8 @@ public class RenderBobble extends TileEntitySpecialRenderer {
|
||||
public static final ResourceLocation bobble_peep = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/peep.png");
|
||||
public static final ResourceLocation bobble_mellow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/mellowrpg8.png");
|
||||
public static final ResourceLocation bobble_mellow_glow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/mellowrpg8_glow.png");
|
||||
public static final ResourceLocation bobble_abel = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/abel.png");
|
||||
public static final ResourceLocation bobble_abel_glow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/abel_glow.png");
|
||||
|
||||
private long time;
|
||||
|
||||
@ -106,6 +108,7 @@ public class RenderBobble extends TileEntitySpecialRenderer {
|
||||
case MICROWAVE: bindTexture(bobble_microwave); break;
|
||||
case PEEP: bindTexture(bobble_peep); break;
|
||||
case MELLOW: bindTexture(bobble_mellow); break;
|
||||
case ABEL: bindTexture(bobble_abel); break;
|
||||
default: bindTexture(ResourceManager.universal);
|
||||
}
|
||||
|
||||
@ -220,6 +223,10 @@ public class RenderBobble extends TileEntitySpecialRenderer {
|
||||
rotLeftLeg = new double[]{3, 5, 2};
|
||||
rotRightLeg = new double[]{-3, -5, 0};
|
||||
break;
|
||||
case ABEL:
|
||||
rotLeftArm = new double[]{0, 80, 90};
|
||||
rotRightArm = new double[]{0, -80, 90};
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -472,6 +479,13 @@ public class RenderBobble extends TileEntitySpecialRenderer {
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GL11.glPopAttrib();
|
||||
break;
|
||||
case ABEL:
|
||||
GL11.glPushAttrib(GL11.GL_LIGHTING_BIT);
|
||||
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240F, 240F);
|
||||
bindTexture(bobble_abel_glow);
|
||||
renderGuy(type);
|
||||
GL11.glPopAttrib();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
src/main/resources/assets/hbm/textures/models/trinkets/abel.png
Normal file
BIN
src/main/resources/assets/hbm/textures/models/trinkets/abel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 553 B |
Loading…
x
Reference in New Issue
Block a user