Miscellaneous cleanup and commenting

This commit is contained in:
Electroblob
2018-06-05 21:24:09 +01:00
parent b9ba25c116
commit dcec7c7281
6 changed files with 22 additions and 12 deletions
@@ -79,8 +79,13 @@ public final class WizardryClientEventHandler {
@SubscribeEvent
public static void onTextureStitchEvent(TextureStitchEvent.Pre event){
event.getMap().registerSprite(ContainerArcaneWorkbench.EMPTY_SLOT_CRYSTAL);
event.getMap().registerSprite(ContainerArcaneWorkbench.EMPTY_SLOT_UPGRADE);
// for(int i=0; i<7; i++){
// event.getMap().registerSprite(new ResourceLocation(Wizardry.MODID, "particle/ice_" + i));
// }
}
// Shift-scrolling to change spells
@@ -53,6 +53,8 @@ public class LayerStone implements LayerRenderer<EntityLivingBase> {
this.renderer = renderer;
this.model = renderer.getMainModel();
}
// FIXME: Does not work with zombie pigmen, I have no idea why.
@Override
public void doRenderLayer(EntityLivingBase entity, float limbSwing, float limbSwingAmount, float partialTicks,