Move Icon sprites in to the gui folder and particles sprites in to the entity folder and Fix #1143

This commit is contained in:
Nedelosk committed 2016-04-29 21:02:13 +02:00
1 parent 43ac71b022
commit 3cfc158875
108 files changed
+50 -10

No files matched your search

@@ -70,6 +70,7 @@ import forestry.apiculture.blocks.BlockRegistryApiculture;
import forestry.apiculture.blocks.BlockTypeApiculture;
import forestry.apiculture.blocks.BlockTypeApicultureTesr;
import forestry.apiculture.commands.CommandBee;
import forestry.apiculture.entities.EntityFXBee;
import forestry.apiculture.entities.EntityMinecartApiary;
import forestry.apiculture.entities.EntityMinecartBeehouse;
import forestry.apiculture.flowers.Flower;
@@ -948,8 +949,9 @@ public class PluginApiculture extends BlankForestryPlugin {
public void textureHook(TextureStitchEvent.Pre event) {
EntityFXSnow.sprites = new TextureAtlasSprite[3];
for (int i = 0; i < EntityFXSnow.sprites.length; i++) {
EntityFXSnow.sprites[i] = event.map.registerSprite(new ResourceLocation("forestry:items/particles/snow." + (i + 1)));
EntityFXSnow.sprites[i] = event.map.registerSprite(new ResourceLocation("forestry:entity/particles/snow." + (i + 1)));
}
EntityFXBee.beeSprite = event.map.registerSprite(new ResourceLocation("forestry:entity/particles/swarm_bee"));
ItemHabitatLocator.registerSprite();
}