added a smiley cloud for Lordi

This commit is contained in:
Ellpeck 2015-08-30 01:18:26 +02:00
parent 1a2952d078
commit 264bdefb98

View file

@ -13,6 +13,7 @@ package ellpeck.actuallyadditions.gadget.cloud;
import ellpeck.actuallyadditions.blocks.InitBlocks; import ellpeck.actuallyadditions.blocks.InitBlocks;
import ellpeck.actuallyadditions.items.InitItems; import ellpeck.actuallyadditions.items.InitItems;
import ellpeck.actuallyadditions.items.metalists.TheFoods; import ellpeck.actuallyadditions.items.metalists.TheFoods;
import ellpeck.actuallyadditions.items.metalists.TheMiscItems;
import ellpeck.actuallyadditions.util.AssetUtil; import ellpeck.actuallyadditions.util.AssetUtil;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
@ -221,6 +222,19 @@ public class SmileyCloudEasterEggs{
renderHeadBlock(Blocks.web, 0, 56F); renderHeadBlock(Blocks.web, 0, 56F);
} }
}); });
//Lordi
register(new ISmileyCloudEasterEgg(){
@Override
public String[] getTriggerNames(){
return new String[]{"lordi", "lordhallo"};
}
@Override
public void renderExtra(float f){
renderHoldingItem(true, new ItemStack(Items.paper));
renderHoldingItem(false, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.RING.ordinal()));
renderHeadBlock(Blocks.quartz_block, 0, 17F);
}
});
} }
private static void register(ISmileyCloudEasterEgg egg){ private static void register(ISmileyCloudEasterEgg egg){