net.minecraft.client.particle.EntityFX Java Examples

The following examples show how to use net.minecraft.client.particle.EntityFX. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PacketHandlerClient.java    From Artifacts with MIT License 6 votes vote down vote up
@SideOnly(Side.CLIENT)
  private static void drawParticle(World worldObj, double srcX, double srcY, double srcZ, String par1Str, int age)
  {
double tx = srcX;
double ty = srcY;
double tz = srcZ;
EntityFX particle = null;
if(par1Str.equals("radar")) {
	particle = new RadarParticle(worldObj, tx, ty, tz, 3, 20);
}
if(par1Str.equals("reset")) {
	particle = new AntibuilderParticle(worldObj, tx, ty, tz, 1, age, 48);
}
if(particle != null)
	Minecraft.getMinecraft().effectRenderer.addEffect(particle);
  }
 
Example #2
Source File: EntitySteamFX.java    From GardenCollection with MIT License 6 votes vote down vote up
public static EntityFX spawnParticle (World world, double x, double y, double z) {
    Minecraft mc = Minecraft.getMinecraft();
    if (mc != null && mc.renderViewEntity != null && mc.effectRenderer != null) {
        int setting = mc.gameSettings.particleSetting;
        if (setting == 1 && mc.theWorld.rand.nextInt(3) == 0)
            setting = 2;

        double dx = mc.renderViewEntity.posX - x;
        double dy = mc.renderViewEntity.posY - y;
        double dz = mc.renderViewEntity.posZ - z;

        if (dx * dx + dy * dy + dz * dz > 16 * 16)
            return null;
        if (setting > 1)
            return null;

        EntityFX effect = new EntitySteamFX(world, x, y, z);
        mc.effectRenderer.addEffect(effect);

        return effect;
    }

    return null;
}
 
Example #3
Source File: RenderParticle.java    From Translocators with MIT License 6 votes vote down vote up
public static void render(double x, double y, double z, Colour colour, double s, double u1, double v1, double u2, double v2)
{
    x-=EntityFX.interpPosX;
    y-=EntityFX.interpPosY;
    z-=EntityFX.interpPosZ;
    //TODO: check
    
    float par3 = ActiveRenderInfo.rotationX;
    float par4 = ActiveRenderInfo.rotationXZ;
    float par5 = ActiveRenderInfo.rotationZ;
    float par6 = ActiveRenderInfo.rotationYZ;
    float par7 = ActiveRenderInfo.rotationXY;
    
    Tessellator t = Tessellator.instance;
    t.setColorRGBA(colour.r&0xFF, colour.g&0xFF, colour.b&0xFF, colour.a&0xFF);
    t.addVertexWithUV((x - par3 * s - par6 * s), (y - par4 * s), (z - par5 * s - par7 * s), u2, v2);
    t.addVertexWithUV((x - par3 * s + par6 * s), (y + par4 * s), (z - par5 * s + par7 * s), u2, v1);
    t.addVertexWithUV((x + par3 * s + par6 * s), (y + par4 * s), (z + par5 * s + par7 * s), u1, v1);
    t.addVertexWithUV((x + par3 * s - par6 * s), (y - par4 * s), (z + par5 * s - par7 * s), u1, v2);
}
 
Example #4
Source File: ClientProxy.java    From NOVA-Core with GNU Lesser General Public License v3.0 6 votes vote down vote up
@Override
public Entity spawnParticle(net.minecraft.world.World world, Entity entity) {
	//Backward entity particle unwrapper
	if (entity instanceof BWEntityFX) {
		EntityFX entityFX = ((BWEntityFX) entity).createEntityFX(world);
		Vector3D position = entity.position();
		entityFX.posX = position.getX();
		entityFX.posY = position.getY();
		entityFX.posZ = position.getZ();
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(entityFX);
		return EntityConverter.instance().toNova(entityFX);
	} else {
		FWEntityFX bwEntityFX = new FWEntityFX(world, entity);
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(bwEntityFX);
		return bwEntityFX.wrapped;
	}
}
 
Example #5
Source File: ClientProxy.java    From NOVA-Core with GNU Lesser General Public License v3.0 6 votes vote down vote up
@Override
public Entity spawnParticle(net.minecraft.world.World world, Entity entity) {
	//Backward entity particle unwrapper
	if (entity instanceof BWEntityFX) {
		EntityFX entityFX = ((BWEntityFX) entity).createEntityFX();
		Vector3D position = entity.position();
		entityFX.posX = position.getX();
		entityFX.posY = position.getY();
		entityFX.posZ = position.getZ();
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(entityFX);
		return EntityConverter.instance().toNova(entityFX);
	} else {
		FWEntityFX bwEntityFX = new FWEntityFX(world, entity);
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(bwEntityFX);
		return bwEntityFX.wrapped;
	}
}
 
Example #6
Source File: RenderManagerHook.java    From SkyblockAddons with MIT License 5 votes vote down vote up
public static void shouldRender(Entity entityIn, ReturnValue<Boolean> returnValue) {
    SkyblockAddons main = SkyblockAddons.getInstance();

    if (main.getUtils().isOnSkyblock()) {
        Location currentLocation = main.getUtils().getLocation();

        if (entityIn instanceof EntityItem &&
                entityIn.ridingEntity instanceof EntityArmorStand && entityIn.ridingEntity.isInvisible()) { // Conditions for skeleton helmet flying bones
            if (main.getConfigValues().isEnabled(Feature.HIDE_BONES)) {
                returnValue.cancel();
            }
        }
        if (main.getConfigValues().isEnabled(Feature.HIDE_PLAYERS_NEAR_NPCS)) {
            if (entityIn instanceof EntityOtherPlayerMP && NPCUtils.isNearAnyNPCWithTag(entityIn, Tag.IMPORTANT) && !NPCUtils.isNPC(entityIn)) {
                returnValue.cancel();
            }
        }
        if (main.getConfigValues().isEnabled(Feature.HIDE_PLAYERS_IN_LOBBY)) {
            if (currentLocation == Location.VILLAGE || currentLocation == Location.AUCTION_HOUSE ||
                    currentLocation == Location.BANK) {
                if ((entityIn instanceof EntityOtherPlayerMP || entityIn instanceof EntityFX || entityIn instanceof EntityItemFrame) &&
                        entityIn.getDistanceToEntity(Minecraft.getMinecraft().thePlayer) > 7) {
                    returnValue.cancel();
                }
            }
        }
        if(main.getConfigValues().isEnabled(Feature.HIDE_SVEN_PUP_NAMETAGS)) {
            if (entityIn instanceof EntityArmorStand && entityIn.hasCustomName()) {
                String customNameTag = entityIn.getCustomNameTag();

                if (customNameTag.contains("Sven Pup")) {
                    returnValue.cancel();
                }
            }
        }
    }
}
 
Example #7
Source File: ClientProxy.java    From NOVA-Core with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Override
public Entity spawnParticle(net.minecraft.world.World world, EntityFactory factory) {
	//Backward entity particle unwrapper
	Entity build = factory.build();
	if (build instanceof BWEntityFX) {
		EntityFX entityFX = ((BWEntityFX) build).createEntityFX(world);
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(entityFX);
		return EntityConverter.instance().toNova(entityFX);
	} else {
		FWEntityFX bwEntityFX = new FWEntityFX(world, factory);
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(bwEntityFX);
		return bwEntityFX.wrapped;
	}
}
 
Example #8
Source File: BWEntityFX.java    From NOVA-Core with GNU Lesser General Public License v3.0 5 votes vote down vote up
public EntityFX createEntityFX(net.minecraft.world.World world) {
	//Look up for particle factory and pass it into BWEntityFX
	IParticleFactory particleFactory = (IParticleFactory) FMLClientHandler.instance().getClient().effectRenderer.field_178932_g.get(particleID);
	EntityFX entity = particleFactory.getEntityFX(0, world, 0, 0, 0, 0, 0, 0, 0);
	WrapperEvent.BWEntityFXCreate event = new WrapperEvent.BWEntityFXCreate(this, entity);
	Game.events().publish(event);
	return entity;
}
 
Example #9
Source File: ClientProxy.java    From NOVA-Core with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Override
public Entity spawnParticle(net.minecraft.world.World world, EntityFactory factory) {
	//Backward entity particle unwrapper
	Entity build = factory.build();
	if (build instanceof BWEntityFX) {
		EntityFX entityFX = ((BWEntityFX) build).createEntityFX();
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(entityFX);
		return EntityConverter.instance().toNova(entityFX);
	} else {
		FWEntityFX bwEntityFX = new FWEntityFX(world, factory);
		FMLClientHandler.instance().getClient().effectRenderer.addEffect(bwEntityFX);
		return bwEntityFX.wrapped;
	}
}
 
Example #10
Source File: BWEntityFX.java    From NOVA-Core with GNU Lesser General Public License v3.0 5 votes vote down vote up
public EntityFX createEntityFX() {
	//Look up for particle factory and pass it into BWEntityFX
	//TODO: Handle velocity?
	EntityFX entity = FMLClientHandler.instance().getClient().renderGlobal.doSpawnParticle(particleID, 0, 0, 0, 0, 0, 0);
	WrapperEvent.BWEntityFXCreate event = new WrapperEvent.BWEntityFXCreate(this, entity);
	Game.events().publish(event);
	return entity;
}
 
Example #11
Source File: QCraftProxyClient.java    From qcraft-mod with Apache License 2.0 5 votes vote down vote up
@Override
public void spawnQuantumDustFX( World world, double x, double y, double z )
{
    Minecraft mc = Minecraft.getMinecraft();
    double dx = mc.renderViewEntity.posX - x;
    double dy = mc.renderViewEntity.posY - y;
    double dz = mc.renderViewEntity.posZ - z;
    if( dx * dx + dy * dy + dz * dz < 16.0 * 16.0 )
    {
        EntityFX fx = new EntityQuantumDustFX( world, x, y, z, 1.0f );
        mc.effectRenderer.addEffect( fx );
    }
}
 
Example #12
Source File: WaterDropParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.WATER_DROP.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.WATER_DROP.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #13
Source File: RedstoneParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.REDSTONE.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.REDSTONE.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #14
Source File: CloudParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.CLOUD.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.CLOUD.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #15
Source File: VillagerAngryParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.VILLAGER_ANGRY.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.VILLAGER_ANGRY.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #16
Source File: SnowballParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SNOWBALL.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SNOWBALL.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #17
Source File: FireworkSparkParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.FIREWORKS_SPARK.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.FIREWORKS_SPARK.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #18
Source File: SpellInstantParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SPELL_INSTANT.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SPELL_INSTANT.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #19
Source File: SpellParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SPELL.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SPELL.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #20
Source File: SpellMobAmbientParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SPELL_MOB_AMBIENT.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SPELL_MOB_AMBIENT.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #21
Source File: SpellWitchParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SPELL_WITCH.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SPELL_WITCH.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #22
Source File: SpellMobParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SPELL_MOB.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SPELL_MOB.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #23
Source File: BlockCrackParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.BLOCK_CRACK.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.BLOCK_CRACK.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #24
Source File: FootstepParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.FOOTSTEP.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.FOOTSTEP.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #25
Source File: ParticleAuraHandler.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@InvokeEvent
public void renderPlayer(RenderPlayerEvent event) {
    if (Minecraft.getMinecraft().isGamePaused()) return;
    if (event.getEntity().isInvisible()) return;
    if (Minecraft.getMinecraft().currentScreen instanceof GuiHyperiumScreenIngameMenu) return;
    if (Minecraft.getMinecraft().theWorld == null || Minecraft.getMinecraft().thePlayer == null) return;
    if (!Settings.SHOW_PARTICLES) return;

    AbstractClientPlayer entity = event.getEntity();
    if (!entity.equals(Minecraft.getMinecraft().thePlayer) && (entity.posX != entity.prevPosZ || entity.posY != entity.prevPosY || entity.posZ != entity.prevPosZ)) {
        return;
    }

    ParticleAura particleAura = auras.get(entity.getUniqueID());
    if (particleAura != null && !entity.isInvisible()) {
        double x = entity.prevPosX + (entity.posX - entity.prevPosX) * event.getPartialTicks();
        double y = entity.posY + (entity.posY - entity.prevPosY) * event.getPartialTicks();
        double z = entity.posZ + (entity.posZ - entity.prevPosZ) * event.getPartialTicks();
        List<Vec3> render = particleAura.render(entity, x, y, z);

        render.forEach(vec3 -> {
            IParticle type = particleAura.getType();

            if (type != null) {
                EntityFX entityFX = type.spawn(entity.worldObj, vec3.xCoord, vec3.yCoord, vec3.zCoord);
                int particleMaxAge = particleAura.getParticleMaxAge();
                IMixinEntityFX e = (IMixinEntityFX) entityFX;

                if (particleAura.isChroma()) {
                    int i = Color.HSBtoRGB(System.currentTimeMillis() % 1000L / 1000.0f, 0.8f, 0.8f);
                    Color color = new Color(i);
                    entityFX.setRBGColorF(color.getRed() / 255F, color.getGreen() / 255F, color.getBlue() / 255F);
                } else if (particleAura.isRgb()) {
                    entityFX.setRBGColorF(particleAura.getRed() / 255F, particleAura.getBlue() / 255F, particleAura.getBlue() / 255F);
                }

                e.setParticleGravity(10);
                e.setParticleMaxAge(particleMaxAge);
                Minecraft.getMinecraft().effectRenderer.addEffect(entityFX);
            }
        });
    }
}
 
Example #26
Source File: ItemCrackParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.ITEM_CRACK.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.ITEM_CRACK.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #27
Source File: SmokeNormalParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.SMOKE_NORMAL.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.SMOKE_NORMAL.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #28
Source File: CritParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.CRIT.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.CRIT.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #29
Source File: WaterBubbleParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.WATER_BUBBLE.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.WATER_BUBBLE.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}
 
Example #30
Source File: VillagerHappyParticle.java    From Hyperium with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EntityFX spawn(World world, double x, double y, double z) {
    Map<Integer, IParticleFactory> particleMap = ((IMixinEffectRenderer) Minecraft.getMinecraft().effectRenderer).getParticleMap();
    IParticleFactory iParticleFactory = particleMap.get(EnumParticleTypes.VILLAGER_HAPPY.getParticleID());
    return iParticleFactory.getEntityFX(EnumParticleTypes.VILLAGER_HAPPY.getParticleID(), world, x, y, z, 0.0F, -0.1F, 0.0F, 0);
}