mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-19 11:49:24 +00:00
- Added experimental bubble spawn option
This commit is contained in:
1 parent
ceaf8a4a0e
commit
408440fbcd
4 files changed
+83
No files matched your search
@@ -25,6 +25,7 @@ import makeo.gadomancy.client.renderers.item.ItemRenderStoneMachine;
|
||||
import makeo.gadomancy.client.renderers.item.ItemRenderTileEntity;
|
||||
import makeo.gadomancy.client.renderers.item.ItemRenderTileEntityMulti;
|
||||
import makeo.gadomancy.client.renderers.tile.*;
|
||||
import makeo.gadomancy.client.util.MultiTickEffectDispatcher;
|
||||
import makeo.gadomancy.common.CommonProxy;
|
||||
import makeo.gadomancy.common.blocks.tiles.*;
|
||||
import makeo.gadomancy.common.entities.EntityAuraCore;
|
||||
@@ -179,6 +180,14 @@ public class ClientProxy extends CommonProxy {
|
||||
return nextId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void spawnBubbles(World world, float posX, float posY, float posZ, float rangeAroundItem) {
|
||||
MultiTickEffectDispatcher.BubbleFXInfo bubbles =
|
||||
new MultiTickEffectDispatcher.BubbleFXInfo(Minecraft.getMinecraft().theWorld.provider.dimensionId,
|
||||
posX, posY, posZ, 10, rangeAroundItem);
|
||||
MultiTickEffectDispatcher.registerBubbles(bubbles);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
switch (ID) {
|
||||
|
||||
Reference in new issue
Block a user