Jump to content

Minor help needed. [Solved and fixed code given]


xXRoboJackXx

Recommended Posts

If anyone can help there's a few things I need to know what a function changed to and what editingblocks changed to:

  • func_94575_c
  • this.field_85192_a.editingBlocks = true; (not the function the editingblocks)
     

 

And that's it so, if anyone knows what the first function is and the editingblocks is please help me. Thanks in advance.

Link to comment
Share on other sites

We have no idea what or where these things are. What class are they in and what is the method being called from? What are the method's arguments? Return type? The fields' types?

If you know those, all you do is search for another method or field in the location with the same return type and arguments, there can't be a ton. Same with the field, but you're more likely to find more than one field with that field's type.

Link to comment
Share on other sites

We have no idea what or where these things are. What class are they in and what is the method being called from? What are the method's arguments? Return type? The fields' types?

If you know those, all you do is search for another method or field in the location with the same return type and arguments, there can't be a ton. Same with the field, but you're more likely to find more than one field with that field's type.

Oh sorry here's examples:

 

EarthWand:

 

package mods.blueeagle.common.items;

 

import mods.blueeagle.common.mod.mod_TheGodMod;

import net.minecraft.block.Block;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraft.util.EnumMovingObjectType;

import net.minecraft.util.MathHelper;

import net.minecraft.util.MovingObjectPosition;

import net.minecraft.util.Vec3;

import net.minecraft.world.World;

 

public class EarthWand extends Item {

 

        public EarthWand(int id) {

                super(id);

             

                // Constructor Configuration

                maxStackSize = 64;

                setCreativeTab(mod_TheGodMod.tabWands);

                setUnlocalizedName("DemonicCore");

        }

        public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)

        {

      float f = 1.0F;

            float f1 = par3EntityPlayer.prevRotationPitch + (par3EntityPlayer.rotationPitch - par3EntityPlayer.prevRotationPitch) * f;

            float f2 = par3EntityPlayer.prevRotationYaw + (par3EntityPlayer.rotationYaw - par3EntityPlayer.prevRotationYaw) * f;

            double d = par3EntityPlayer.prevPosX + (par3EntityPlayer.posX - par3EntityPlayer.prevPosX) * (double)f;

            double d1 = (par3EntityPlayer.prevPosY + (par3EntityPlayer.posY - par3EntityPlayer.prevPosY) * (double)f + 1.6200000000000001D) - (double)par3EntityPlayer.yOffset;

            double d2 = par3EntityPlayer.prevPosZ + (par3EntityPlayer.posZ - par3EntityPlayer.prevPosZ) * (double)f;

            Vec3 vec3d = Vec3.createVectorHelper(d, d1, d2);

            float f3 = MathHelper.cos(-f2 * 0.01745329F - 3.141593F);

            float f4 = MathHelper.sin(-f2 * 0.01745329F - 3.141593F);

            float f5 = -MathHelper.cos(-f1 * 0.01745329F);

            float f6 = MathHelper.sin(-f1 * 0.01745329F);

            float f7 = f4 * f5;

            float f8 = f6;

            float f9 = f3 * f5;

            double d3 = 5000D;

            Vec3 vec3d1 = vec3d.addVector((double)f7 * d3, (double)f8 * d3, (double)f9 * d3);

            MovingObjectPosition movingobjectposition = par2World.rayTraceBlocks_do_do(vec3d, vec3d1, false, true);

            if (movingobjectposition == null)

            {

            return par1ItemStack;

            }

            if (movingobjectposition.typeOfHit == EnumMovingObjectType.TILE)

            {

            int i = movingobjectposition.blockX;

                int j = movingobjectposition.blockY;

                int k = movingobjectposition.blockZ;

        par2World.[glow=red,2,300]func_94575_c[/glow](i, j+1, k, Block.dirt.blockID);

                par1ItemStack.damageItem(1, par3EntityPlayer);

            }

            return par1ItemStack;

        }

       

 

        @Override

        public void updateIcons(IconRegister reg)

        {

                this.iconIndex = reg.registerIcon("blueeagle:EarthWand");

        }

}

 

 

BlockPortalHeaven

 

 

package mods.blueeagle.common.blocks;

 

import java.util.Random;

 

import net.minecraft.block.Block;

import net.minecraft.block.BlockPortal;

import net.minecraft.block.material.Material;

import net.minecraft.client.entity.EntityPlayerSP;

import net.minecraft.entity.Entity;

import net.minecraft.entity.player.EntityPlayerMP;

import net.minecraft.server.MinecraftServer;

import net.minecraft.src.ModLoader;

import net.minecraft.world.World;

import mods.blueeagle.common.mod.mod_TheGodMod;

 

public class BlockPortalHeaven extends BlockPortal

{

public BlockPortalHeaven(int id)

{

        super(id);

        this.setCreativeTab(mod_TheGodMod.tabAllThingsGod);

}

 

 

 

public String getTextureFile()

{

return "/Textures/Blocks.png";

}

public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)

    {

        super.updateTick(par1World, par2, par3, par4, par5Random);

       

    }

  public boolean tryToCreatePortal(World par1World, int par2, int par3, int par4)

    {

        byte var5 = 0;

        byte var6 = 0;

 

        if (par1World.getBlockId(par2 - 1, par3, par4) == Block.sandStone.blockID || par1World.getBlockId(par2 + 1, par3, par4) == Block.sandStone.blockID)

        {

            var5 = 1;

        }

 

        if (par1World.getBlockId(par2, par3, par4 - 1) == Block.sandStone.blockID || par1World.getBlockId(par2, par3, par4 + 1) == Block.sandStone.blockID)

        {

            var6 = 1;

        }

 

        if (var5 == var6)

        {

            return false;

        }

        else

        {

            if (par1World.getBlockId(par2 - var5, par3, par4 - var6) == 0)

            {

                par2 -= var5;

                par4 -= var6;

            }

 

            int var7;

            int var8;

 

            for (var7 = -1; var7 <= 2; ++var7)

            {

                for (var8 = -1; var8 <= 3; ++var8)

                {

                    boolean var9 = var7 == -1 || var7 == 2 || var8 == -1 || var8 == 3;

 

                    if (var7 != -1 && var7 != 2 || var8 != -1 && var8 != 3)

                    {

                        int var10 = par1World.getBlockId(par2 + var5 * var7, par3 + var8, par4 + var6 * var7);

 

                        if (var9)

                        {

                            if (var10 != Block.sandStone.blockID)

                            {

                                return false;

                            }

                        }

                        else if (var10 != 0 && var10 != Block.fire.blockID)

                        {

                            return false;

                        }

                    }

                }

            }

 

            par1World.[glow=red,2,300]editingBlocks [/glow]= true;

 

            for (var7 = 0; var7 < 2; ++var7)

            {

                for (var8 = 0; var8 < 3; ++var8)

                {

                    par1World.func_94575_c(par2 + var5 * var7, par3 + var8, par4 + var6 * var7, mod_TheGodMod.portal.blockID);

                }

            }

 

            par1World.[glow=red,2,300]editingBlocks [/glow]= false;

            return true;

        }

    }

 

    /**

    * Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are

    * their own) Args: x, y, z, neighbor blockID

    */

    public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)

    {

        byte var6 = 0;

        byte var7 = 1;

 

        if (par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID)

        {

            var6 = 1;

            var7 = 0;

        }

 

        int var8;

 

        for (var8 = par3; par1World.getBlockId(par2, var8 - 1, par4) == this.blockID; --var8)

        {

            ;

        }

 

        if (par1World.getBlockId(par2, var8 - 1, par4) != Block.sandStone.blockID)

        {

            par1World.func_94575_c(par2, par3, par4, 0);

        }

        else

        {

            int var9;

 

            for (var9 = 1; var9 < 4 && par1World.getBlockId(par2, var8 + var9, par4) == this.blockID; ++var9)

            {

                ;

            }

 

            if (var9 == 3 && par1World.getBlockId(par2, var8 + var9, par4) == Block.sandStone.blockID)

            {

                boolean var10 = par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID;

                boolean var11 = par1World.getBlockId(par2, par3, par4 - 1) == this.blockID || par1World.getBlockId(par2, par3, par4 + 1) == this.blockID;

 

                if (var10 && var11)

                {

                    par1World.func_94575_c(par2, par3, par4, 0);

                }

                else

                {

                    if ((par1World.getBlockId(par2 + var6, par3, par4 + var7) != Block.sandStone.blockID || par1World.getBlockId(par2 - var6, par3, par4 - var7) != this.blockID) && (par1World.getBlockId(par2 - var6, par3, par4 - var7) != Block.sandStone.blockID || par1World.getBlockId(par2 + var6, par3, par4 + var7) != this.blockID))

                    {

                        par1World.func_94575_c(par2, par3, par4, 0);

                    }

                }

            }

            else

            {

                par1World.func_94575_c(par2, par3, par4, 0);

            }

        }

    }

    public void onEntityCollidedWithBlock(World var1, int var2, int var3, int var4, Entity var5)

        {

                if ((var5.ridingEntity == null) && (var5.riddenByEntity == null) && ((var5 instanceof EntityPlayerMP)))

                {

                        EntityPlayerMP var6 = (EntityPlayerMP)var5;

                        ModLoader.getMinecraftServerInstance(); MinecraftServer mServer = MinecraftServer.getServer();

 

                        if (var6.timeUntilPortal > 0)

                        {

                                var6.timeUntilPortal = 10;

                        } else if (var6.dimension != 20)

                        {

                                var6.timeUntilPortal = 10;

 

                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 20, new TeleporterHeaven(mServer.worldServerForDimension(20)));

                        }

                        else {

                                var6.timeUntilPortal = 10;

                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 0, new TeleporterHeaven(mServer.worldServerForDimension(1)));

                        }

                }

        }

}

 

 

 

 

What's glowing in red is the problem. Thanks :)

 

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है!

width=289 height=100http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

 

Thanks but the    par1World.editingBlocks = true;  Is still not working. Thanks for the function one though, if anyone knows what I'm doing wrong on ^^ please tell me.

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

 

Thanks but the    par1World.editingBlocks = true;  Is still not working. Thanks for the function one though, if anyone knows what I'm doing wrong on ^^ please tell me.

 

Fixed it I was being a complete idiot sorry. Thanks everyone :)

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

 

Thanks but the    par1World.editingBlocks = true;  Is still not working. Thanks for the function one though, if anyone knows what I'm doing wrong on ^^ please tell me.

 

Fixed it I was being a complete idiot sorry. Thanks everyone :)

 

and how?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

 

Thanks but the    par1World.editingBlocks = true;  Is still not working. Thanks for the function one though, if anyone knows what I'm doing wrong on ^^ please tell me.

 

Fixed it I was being a complete idiot sorry. Thanks everyone :)

 

and how?

Instead of explaining it here's the code

Block Portal:

 

package mods.blueeagle.common.blocks;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.material.Material;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.src.ModLoader;
import net.minecraft.world.World;
import mods.blueeagle.common.mod.mod_TheGodMod;

public class BlockPortalHeaven extends BlockPortal
{
public BlockPortalHeaven(int id)
{
        super(id);
        this.setCreativeTab(mod_TheGodMod.tabAllThingsGod);
}



public String getTextureFile()
{
	return "/Textures/Blocks.png";
}
 public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
    {
        super.updateTick(par1World, par2, par3, par4, par5Random);
        
    }
   public boolean tryToCreatePortal(World par1World, int par2, int par3, int par4)
    {
        byte b0 = 0;
        byte b1 = 0;

        if (par1World.getBlockId(par2 - 1, par3, par4) == Block.obsidian.blockID || par1World.getBlockId(par2 + 1, par3, par4) == Block.obsidian.blockID)
        {
            b0 = 1;
        }

        if (par1World.getBlockId(par2, par3, par4 - 1) == Block.obsidian.blockID || par1World.getBlockId(par2, par3, par4 + 1) == Block.obsidian.blockID)
        {
            b1 = 1;
        }

        if (b0 == b1)
        {
            return false;
        }
        else
        {
            if (par1World.getBlockId(par2 - b0, par3, par4 - b1) == 0)
            {
                par2 -= b0;
                par4 -= b1;
            }

            int l;
            int i1;

            for (l = -1; l <= 2; ++l)
            {
                for (i1 = -1; i1 <= 3; ++i1)
                {
                    boolean flag = l == -1 || l == 2 || i1 == -1 || i1 == 3;

                    if (l != -1 && l != 2 || i1 != -1 && i1 != 3)
                    {
                        int j1 = par1World.getBlockId(par2 + b0 * l, par3 + i1, par4 + b1 * l);

                        if (flag)
                        {
                            if (j1 != Block.obsidian.blockID)
                            {
                                return false;
                            }
                        }
                        else if (j1 != 0 && j1 != Block.fire.blockID)
                        {
                            return false;
                        }
                    }
                }
            }

            for (l = 0; l < 2; ++l)
            {
                for (i1 = 0; i1 < 3; ++i1)
                {
                    par1World.setBlock(par2 + b0 * l, par3 + i1, par4 + b1 * l, Block.portal.blockID, 0, 2);
                }
            }

            return true;
        }
    }
    /**
     * Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are
     * their own) Args: x, y, z, neighbor blockID
     */
    public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
    {
        byte var6 = 0;
        byte var7 = 1;

        if (par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID)
        {
            var6 = 1;
            var7 = 0;
        }

        int var8;

        for (var8 = par3; par1World.getBlockId(par2, var8 - 1, par4) == this.blockID; --var8)
        {
            ;
        }

        if (par1World.getBlockId(par2, var8 - 1, par4) != Block.sandStone.blockID)
        {
            par1World.setBlock(par2, par3, par4, 0);
        }
        else
        {
            int var9;

            for (var9 = 1; var9 < 4 && par1World.getBlockId(par2, var8 + var9, par4) == this.blockID; ++var9)
            {
                ;
            }

            if (var9 == 3 && par1World.getBlockId(par2, var8 + var9, par4) == Block.sandStone.blockID)
            {
                boolean var10 = par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID;
                boolean var11 = par1World.getBlockId(par2, par3, par4 - 1) == this.blockID || par1World.getBlockId(par2, par3, par4 + 1) == this.blockID;

                if (var10 && var11)
                {
                    par1World.setBlock(par2, par3, par4, 0);
                }
                else
                {
                    if ((par1World.getBlockId(par2 + var6, par3, par4 + var7) != Block.sandStone.blockID || par1World.getBlockId(par2 - var6, par3, par4 - var7) != this.blockID) && (par1World.getBlockId(par2 - var6, par3, par4 - var7) != Block.sandStone.blockID || par1World.getBlockId(par2 + var6, par3, par4 + var7) != this.blockID))
                    {
                        par1World.setBlock(par2, par3, par4, 0);
                    }
                }
            }
            else
            {
                par1World.setBlock(par2, par3, par4, 0);
            }
        }
    }
    public void onEntityCollidedWithBlock(World var1, int var2, int var3, int var4, Entity var5)
        {
                if ((var5.ridingEntity == null) && (var5.riddenByEntity == null) && ((var5 instanceof EntityPlayerMP)))
                {
                        EntityPlayerMP var6 = (EntityPlayerMP)var5;
                        ModLoader.getMinecraftServerInstance(); MinecraftServer mServer = MinecraftServer.getServer();

                        if (var6.timeUntilPortal > 0)
                        {
                                var6.timeUntilPortal = 10;
                        } else if (var6.dimension != 20)
                        {
                                var6.timeUntilPortal = 10;

                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 20, new TeleporterHeaven(mServer.worldServerForDimension(20)));
                        }
                        else {
                                var6.timeUntilPortal = 10;
                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 0, new TeleporterHeaven(mServer.worldServerForDimension(1)));
                        }
                }
        }
}

 

Teleporter:

 

package mods.blueeagle.common.blocks;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;

import mods.blueeagle.common.mod.mod_TheGodMod;

import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.util.Direction;
import net.minecraft.util.LongHashMap;
import net.minecraft.util.MathHelper;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.PortalPosition;
import net.minecraft.world.Teleporter;
import net.minecraft.world.WorldServer;

public class TeleporterHeaven extends Teleporter
{
    private final WorldServer field_85192_a;

    /** A private Random() function in Teleporter */
    private final Random random;
    private final LongHashMap field_85191_c = new LongHashMap();
    private final List field_85190_d = new ArrayList();

    public TeleporterHeaven(WorldServer par1WorldServer)
    {
    	super(par1WorldServer);
        this.field_85192_a = par1WorldServer;
        this.random = new Random(par1WorldServer.getSeed());
    }

    /**
     * Place an entity in a nearby portal, creating one if necessary.
     */
    public void placeInPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
    {
        if (this.field_85192_a.provider.dimensionId != 1)
        {
            if (!this.placeInExistingPortal(par1Entity, par2, par4, par6, par8))
            {
                this.func_85188_a(par1Entity);
                this.placeInExistingPortal(par1Entity, par2, par4, par6, par8);
            }
        }
        else
        {
            int var9 = MathHelper.floor_double(par1Entity.posX);
            int var10 = MathHelper.floor_double(par1Entity.posY) - 1;
            int var11 = MathHelper.floor_double(par1Entity.posZ);
            byte var12 = 1;
            byte var13 = 0;

            for (int var14 = -2; var14 <= 2; ++var14)
            {
                for (int var15 = -2; var15 <= 2; ++var15)
                {
                    for (int var16 = -1; var16 < 3; ++var16)
                    {
                        int var17 = var9 + var15 * var12 + var14 * var13;
                        int var18 = var10 + var16;
                        int var19 = var11 + var15 * var13 - var14 * var12;
                        boolean var20 = var16 < 0;
                        this.field_85192_a.setBlock(var17, var18, var19, var20 ? Block.sandStone.blockID : 0);
                    }
                }
            }

            par1Entity.setLocationAndAngles((double)var9, (double)var10, (double)var11, par1Entity.rotationYaw, 0.0F);
            par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
        }
    }

    /**
     * Place an entity in a nearby portal which already exists.
     */
    public boolean placeInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
    {
        short var9 = 128;
        double var10 = -1.0D;
        int var12 = 0;
        int var13 = 0;
        int var14 = 0;
        int var15 = MathHelper.floor_double(par1Entity.posX);
        int var16 = MathHelper.floor_double(par1Entity.posZ);
        long var17 = ChunkCoordIntPair.chunkXZ2Int(var15, var16);
        boolean var19 = true;
        double var27;
        int var48;

        if (this.field_85191_c.containsItem(var17))
        {
            PortalPosition var20 = (PortalPosition)this.field_85191_c.getValueByKey(var17);
            var10 = 0.0D;
            var12 = var20.posX;
            var13 = var20.posY;
            var14 = var20.posZ;
            var20.field_85087_d = this.field_85192_a.getTotalWorldTime();
            var19 = false;
        }
        else
        {
            for (var48 = var15 - var9; var48 <= var15 + var9; ++var48)
            {
                double var21 = (double)var48 + 0.5D - par1Entity.posX;

                for (int var23 = var16 - var9; var23 <= var16 + var9; ++var23)
                {
                    double var24 = (double)var23 + 0.5D - par1Entity.posZ;

                    for (int var26 = this.field_85192_a.getActualHeight() - 1; var26 >= 0; --var26)
                    {
                        if (this.field_85192_a.getBlockId(var48, var26, var23) == mod_TheGodMod.portal.blockID)
                        {
                            while (this.field_85192_a.getBlockId(var48, var26 - 1, var23) == mod_TheGodMod.portal.blockID)
                            {
                                --var26;
                            }

                            var27 = (double)var26 + 0.5D - par1Entity.posY;
                            double var29 = var21 * var21 + var27 * var27 + var24 * var24;

                            if (var10 < 0.0D || var29 < var10)
                            {
                                var10 = var29;
                                var12 = var48;
                                var13 = var26;
                                var14 = var23;
                            }
                        }
                    }
                }
            }
        }

        if (var10 >= 0.0D)
        {
            if (var19)
            {
                this.field_85191_c.add(var17, new PortalPosition(this, var12, var13, var14, this.field_85192_a.getTotalWorldTime()));
                this.field_85190_d.add(Long.valueOf(var17));
            }

            double var49 = (double)var12 + 0.5D;
            double var25 = (double)var13 + 0.5D;
            var27 = (double)var14 + 0.5D;
            int var50 = -1;

            if (this.field_85192_a.getBlockId(var12 - 1, var13, var14) == mod_TheGodMod.portal.blockID)
            {
                var50 = 2;
            }

            if (this.field_85192_a.getBlockId(var12 + 1, var13, var14) == mod_TheGodMod.portal.blockID)
            {
                var50 = 0;
            }

            if (this.field_85192_a.getBlockId(var12, var13, var14 - 1) == mod_TheGodMod.portal.blockID)
            {
                var50 = 3;
            }

            if (this.field_85192_a.getBlockId(var12, var13, var14 + 1) == mod_TheGodMod.portal.blockID)
            {
                var50 = 1;
            }

            int var30 = par1Entity.func_82148_at();

            if (var50 > -1)
            {
                int var31 = Direction.field_71578_g[var50];
                int var32 = Direction.offsetX[var50];
                int var33 = Direction.offsetZ[var50];
                int var34 = Direction.offsetX[var31];
                int var35 = Direction.offsetZ[var31];
                boolean var36 = !this.field_85192_a.isAirBlock(var12 + var32 + var34, var13, var14 + var33 + var35) || !this.field_85192_a.isAirBlock(var12 + var32 + var34, var13 + 1, var14 + var33 + var35);
                boolean var37 = !this.field_85192_a.isAirBlock(var12 + var32, var13, var14 + var33) || !this.field_85192_a.isAirBlock(var12 + var32, var13 + 1, var14 + var33);

                if (var36 && var37)
                {
                    var50 = Direction.footInvisibleFaceRemap[var50];
                    var31 = Direction.footInvisibleFaceRemap[var31];
                    var32 = Direction.offsetX[var50];
                    var33 = Direction.offsetZ[var50];
                    var34 = Direction.offsetX[var31];
                    var35 = Direction.offsetZ[var31];
                    var48 = var12 - var34;
                    var49 -= (double)var34;
                    int var22 = var14 - var35;
                    var27 -= (double)var35;
                    var36 = !this.field_85192_a.isAirBlock(var48 + var32 + var34, var13, var22 + var33 + var35) || !this.field_85192_a.isAirBlock(var48 + var32 + var34, var13 + 1, var22 + var33 + var35);
                    var37 = !this.field_85192_a.isAirBlock(var48 + var32, var13, var22 + var33) || !this.field_85192_a.isAirBlock(var48 + var32, var13 + 1, var22 + var33);
                }

                float var38 = 0.5F;
                float var39 = 0.5F;

                if (!var36 && var37)
                {
                    var38 = 1.0F;
                }
                else if (var36 && !var37)
                {
                    var38 = 0.0F;
                }
                else if (var36 && var37)
                {
                    var39 = 0.0F;
                }

                var49 += (double)((float)var34 * var38 + var39 * (float)var32);
                var27 += (double)((float)var35 * var38 + var39 * (float)var33);
                float var40 = 0.0F;
                float var41 = 0.0F;
                float var42 = 0.0F;
                float var43 = 0.0F;

                if (var50 == var30)
                {
                    var40 = 1.0F;
                    var41 = 1.0F;
                }
                else if (var50 == Direction.footInvisibleFaceRemap[var30])
                {
                    var40 = -1.0F;
                    var41 = -1.0F;
                }
                else if (var50 == Direction.enderEyeMetaToDirection[var30])
                {
                    var42 = 1.0F;
                    var43 = -1.0F;
                }
                else
                {
                    var42 = -1.0F;
                    var43 = 1.0F;
                }

                double var44 = par1Entity.motionX;
                double var46 = par1Entity.motionZ;
                par1Entity.motionX = var44 * (double)var40 + var46 * (double)var43;
                par1Entity.motionZ = var44 * (double)var42 + var46 * (double)var41;
                par1Entity.rotationYaw = par8 - (float)(var30 * 90) + (float)(var50 * 90);
            }
            else
            {
                par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
            }

            par1Entity.setLocationAndAngles(var49, var25, var27, par1Entity.rotationYaw, par1Entity.rotationPitch);
            return true;
        }
        else
        {
            return false;
        }
    }

    public boolean func_85188_a(Entity par1Entity)
    {
        byte var2 = 16;
        double var3 = -1.0D;
        int var5 = MathHelper.floor_double(par1Entity.posX);
        int var6 = MathHelper.floor_double(par1Entity.posY);
        int var7 = MathHelper.floor_double(par1Entity.posZ);
        int var8 = var5;
        int var9 = var6;
        int var10 = var7;
        int var11 = 0;
        int var12 = this.random.nextInt(4);
        int var13;
        double var14;
        double var17;
        int var16;
        int var19;
        int var21;
        int var20;
        int var23;
        int var22;
        int var25;
        int var24;
        int var27;
        int var26;
        double var31;
        double var32;

        for (var13 = var5 - var2; var13 <= var5 + var2; ++var13)
        {
            var14 = (double)var13 + 0.5D - par1Entity.posX;

            for (var16 = var7 - var2; var16 <= var7 + var2; ++var16)
            {
                var17 = (double)var16 + 0.5D - par1Entity.posZ;
                label274:

                for (var19 = this.field_85192_a.getActualHeight() - 1; var19 >= 0; --var19)
                {
                    if (this.field_85192_a.isAirBlock(var13, var19, var16))
                    {
                        while (var19 > 0 && this.field_85192_a.isAirBlock(var13, var19 - 1, var16))
                        {
                            --var19;
                        }

                        for (var20 = var12; var20 < var12 + 4; ++var20)
                        {
                            var21 = var20 % 2;
                            var22 = 1 - var21;

                            if (var20 % 4 >= 2)
                            {
                                var21 = -var21;
                                var22 = -var22;
                            }

                            for (var23 = 0; var23 < 3; ++var23)
                            {
                                for (var24 = 0; var24 < 4; ++var24)
                                {
                                    for (var25 = -1; var25 < 4; ++var25)
                                    {
                                        var26 = var13 + (var24 - 1) * var21 + var23 * var22;
                                        var27 = var19 + var25;
                                        int var28 = var16 + (var24 - 1) * var22 - var23 * var21;

                                        if (var25 < 0 && !this.field_85192_a.getBlockMaterial(var26, var27, var28).isSolid() || var25 >= 0 && !this.field_85192_a.isAirBlock(var26, var27, var28))
                                        {
                                            continue label274;
                                        }
                                    }
                                }
                            }

                            var32 = (double)var19 + 0.5D - par1Entity.posY;
                            var31 = var14 * var14 + var32 * var32 + var17 * var17;

                            if (var3 < 0.0D || var31 < var3)
                            {
                                var3 = var31;
                                var8 = var13;
                                var9 = var19;
                                var10 = var16;
                                var11 = var20 % 4;
                            }
                        }
                    }
                }
            }
        }

        if (var3 < 0.0D)
        {
            for (var13 = var5 - var2; var13 <= var5 + var2; ++var13)
            {
                var14 = (double)var13 + 0.5D - par1Entity.posX;

                for (var16 = var7 - var2; var16 <= var7 + var2; ++var16)
                {
                    var17 = (double)var16 + 0.5D - par1Entity.posZ;
                    label222:

                    for (var19 = this.field_85192_a.getActualHeight() - 1; var19 >= 0; --var19)
                    {
                        if (this.field_85192_a.isAirBlock(var13, var19, var16))
                        {
                            while (var19 > 0 && this.field_85192_a.isAirBlock(var13, var19 - 1, var16))
                            {
                                --var19;
                            }

                            for (var20 = var12; var20 < var12 + 2; ++var20)
                            {
                                var21 = var20 % 2;
                                var22 = 1 - var21;

                                for (var23 = 0; var23 < 4; ++var23)
                                {
                                    for (var24 = -1; var24 < 4; ++var24)
                                    {
                                        var25 = var13 + (var23 - 1) * var21;
                                        var26 = var19 + var24;
                                        var27 = var16 + (var23 - 1) * var22;

                                        if (var24 < 0 && !this.field_85192_a.getBlockMaterial(var25, var26, var27).isSolid() || var24 >= 0 && !this.field_85192_a.isAirBlock(var25, var26, var27))
                                        {
                                            continue label222;
                                        }
                                    }
                                }

                                var32 = (double)var19 + 0.5D - par1Entity.posY;
                                var31 = var14 * var14 + var32 * var32 + var17 * var17;

                                if (var3 < 0.0D || var31 < var3)
                                {
                                    var3 = var31;
                                    var8 = var13;
                                    var9 = var19;
                                    var10 = var16;
                                    var11 = var20 % 2;
                                }
                            }
                        }
                    }
                }
            }
        }

        int var29 = var8;
        int var15 = var9;
        var16 = var10;
        int var30 = var11 % 2;
        int var18 = 1 - var30;

        if (var11 % 4 >= 2)
        {
            var30 = -var30;
            var18 = -var18;
        }

        boolean var33;

        if (var3 < 0.0D)
        {
            if (var9 < 70)
            {
                var9 = 70;
            }

            if (var9 > this.field_85192_a.getActualHeight() - 10)
            {
                var9 = this.field_85192_a.getActualHeight() - 10;
            }

            var15 = var9;

            for (var19 = -1; var19 <= 1; ++var19)
            {
                for (var20 = 1; var20 < 3; ++var20)
                {
                    for (var21 = -1; var21 < 3; ++var21)
                    {
                        var22 = var29 + (var20 - 1) * var30 + var19 * var18;
                        var23 = var15 + var21;
                        var24 = var16 + (var20 - 1) * var18 - var19 * var30;
                        var33 = var21 < 0;
                        this.field_85192_a.setBlock(var22, var23, var24, var33 ? Block.sandStone.blockID : 0);
                    }
                }
            }
        }

        for (var19 = 0; var19 < 4; ++var19)
        {
       //     this.field_85192_a.editingBlocks = true;

            for (var20 = 0; var20 < 4; ++var20)
            {
                for (var21 = -1; var21 < 4; ++var21)
                {
                    var22 = var29 + (var20 - 1) * var30;
                    var23 = var15 + var21;
                    var24 = var16 + (var20 - 1) * var18;
                    var33 = var20 == 0 || var20 == 3 || var21 == -1 || var21 == 3;
                    this.field_85192_a.setBlock(var22, var23, var24, var33 ? Block.sandStone.blockID : mod_TheGodMod.portal.blockID);
                }
            }

            //this.field_85192_a.editingBlocks = false;

            for (var20 = 0; var20 < 4; ++var20)
            {
                for (var21 = -1; var21 < 4; ++var21)
                {
                    var22 = var29 + (var20 - 1) * var30;
                    var23 = var15 + var21;
                    var24 = var16 + (var20 - 1) * var18;
                    this.field_85192_a.notifyBlocksOfNeighborChange(var22, var23, var24, this.field_85192_a.getBlockId(var22, var23, var24));
                }
            }
        }

        return true;
    }

    public void func_85189_a(long par1)
    {
        if (par1 % 100L == 0L)
        {
            Iterator var3 = this.field_85190_d.iterator();
            long var4 = par1 - 600L;

            while (var3.hasNext())
            {
                Long var6 = (Long)var3.next();
                PortalPosition var7 = (PortalPosition)this.field_85191_c.getValueByKey(var6.longValue());

                if (var7 == null || var7.field_85087_d < var4)
                {
                    var3.remove();
                    this.field_85191_c.remove(var6.longValue());
                }
            }
        }
    }
}

 

Link to comment
Share on other sites

do a search in the methods.csv file:

func_94575_c,setBlock,2,"Sets a block and notifies relevant systems with the block change  Args: x, y, z, blockID"

and the fields.csv file:

field_85192_a,worldServerInstance,2,

 

Thanks but the    par1World.editingBlocks = true;  Is still not working. Thanks for the function one though, if anyone knows what I'm doing wrong on ^^ please tell me.

 

Fixed it I was being a complete idiot sorry. Thanks everyone :)

 

and how?

Instead of explaining it here's the code

Block Portal:

 

package mods.blueeagle.common.blocks;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.material.Material;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.src.ModLoader;
import net.minecraft.world.World;
import mods.blueeagle.common.mod.mod_TheGodMod;

public class BlockPortalHeaven extends BlockPortal
{
public BlockPortalHeaven(int id)
{
        super(id);
        this.setCreativeTab(mod_TheGodMod.tabAllThingsGod);
}



public String getTextureFile()
{
	return "/Textures/Blocks.png";
}
 public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
    {
        super.updateTick(par1World, par2, par3, par4, par5Random);
        
    }
   public boolean tryToCreatePortal(World par1World, int par2, int par3, int par4)
    {
        byte b0 = 0;
        byte b1 = 0;

        if (par1World.getBlockId(par2 - 1, par3, par4) == Block.obsidian.blockID || par1World.getBlockId(par2 + 1, par3, par4) == Block.obsidian.blockID)
        {
            b0 = 1;
        }

        if (par1World.getBlockId(par2, par3, par4 - 1) == Block.obsidian.blockID || par1World.getBlockId(par2, par3, par4 + 1) == Block.obsidian.blockID)
        {
            b1 = 1;
        }

        if (b0 == b1)
        {
            return false;
        }
        else
        {
            if (par1World.getBlockId(par2 - b0, par3, par4 - b1) == 0)
            {
                par2 -= b0;
                par4 -= b1;
            }

            int l;
            int i1;

            for (l = -1; l <= 2; ++l)
            {
                for (i1 = -1; i1 <= 3; ++i1)
                {
                    boolean flag = l == -1 || l == 2 || i1 == -1 || i1 == 3;

                    if (l != -1 && l != 2 || i1 != -1 && i1 != 3)
                    {
                        int j1 = par1World.getBlockId(par2 + b0 * l, par3 + i1, par4 + b1 * l);

                        if (flag)
                        {
                            if (j1 != Block.obsidian.blockID)
                            {
                                return false;
                            }
                        }
                        else if (j1 != 0 && j1 != Block.fire.blockID)
                        {
                            return false;
                        }
                    }
                }
            }

            for (l = 0; l < 2; ++l)
            {
                for (i1 = 0; i1 < 3; ++i1)
                {
                    par1World.setBlock(par2 + b0 * l, par3 + i1, par4 + b1 * l, Block.portal.blockID, 0, 2);
                }
            }

            return true;
        }
    }
    /**
     * Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are
     * their own) Args: x, y, z, neighbor blockID
     */
    public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
    {
        byte var6 = 0;
        byte var7 = 1;

        if (par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID)
        {
            var6 = 1;
            var7 = 0;
        }

        int var8;

        for (var8 = par3; par1World.getBlockId(par2, var8 - 1, par4) == this.blockID; --var8)
        {
            ;
        }

        if (par1World.getBlockId(par2, var8 - 1, par4) != Block.sandStone.blockID)
        {
            par1World.setBlock(par2, par3, par4, 0);
        }
        else
        {
            int var9;

            for (var9 = 1; var9 < 4 && par1World.getBlockId(par2, var8 + var9, par4) == this.blockID; ++var9)
            {
                ;
            }

            if (var9 == 3 && par1World.getBlockId(par2, var8 + var9, par4) == Block.sandStone.blockID)
            {
                boolean var10 = par1World.getBlockId(par2 - 1, par3, par4) == this.blockID || par1World.getBlockId(par2 + 1, par3, par4) == this.blockID;
                boolean var11 = par1World.getBlockId(par2, par3, par4 - 1) == this.blockID || par1World.getBlockId(par2, par3, par4 + 1) == this.blockID;

                if (var10 && var11)
                {
                    par1World.setBlock(par2, par3, par4, 0);
                }
                else
                {
                    if ((par1World.getBlockId(par2 + var6, par3, par4 + var7) != Block.sandStone.blockID || par1World.getBlockId(par2 - var6, par3, par4 - var7) != this.blockID) && (par1World.getBlockId(par2 - var6, par3, par4 - var7) != Block.sandStone.blockID || par1World.getBlockId(par2 + var6, par3, par4 + var7) != this.blockID))
                    {
                        par1World.setBlock(par2, par3, par4, 0);
                    }
                }
            }
            else
            {
                par1World.setBlock(par2, par3, par4, 0);
            }
        }
    }
    public void onEntityCollidedWithBlock(World var1, int var2, int var3, int var4, Entity var5)
        {
                if ((var5.ridingEntity == null) && (var5.riddenByEntity == null) && ((var5 instanceof EntityPlayerMP)))
                {
                        EntityPlayerMP var6 = (EntityPlayerMP)var5;
                        ModLoader.getMinecraftServerInstance(); MinecraftServer mServer = MinecraftServer.getServer();

                        if (var6.timeUntilPortal > 0)
                        {
                                var6.timeUntilPortal = 10;
                        } else if (var6.dimension != 20)
                        {
                                var6.timeUntilPortal = 10;

                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 20, new TeleporterHeaven(mServer.worldServerForDimension(20)));
                        }
                        else {
                                var6.timeUntilPortal = 10;
                                var6.mcServer.getConfigurationManager().transferPlayerToDimension(var6, 0, new TeleporterHeaven(mServer.worldServerForDimension(1)));
                        }
                }
        }
}

 

Teleporter:

 

package mods.blueeagle.common.blocks;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;

import mods.blueeagle.common.mod.mod_TheGodMod;

import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.util.Direction;
import net.minecraft.util.LongHashMap;
import net.minecraft.util.MathHelper;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.PortalPosition;
import net.minecraft.world.Teleporter;
import net.minecraft.world.WorldServer;

public class TeleporterHeaven extends Teleporter
{
    private final WorldServer field_85192_a;

    /** A private Random() function in Teleporter */
    private final Random random;
    private final LongHashMap field_85191_c = new LongHashMap();
    private final List field_85190_d = new ArrayList();

    public TeleporterHeaven(WorldServer par1WorldServer)
    {
    	super(par1WorldServer);
        this.field_85192_a = par1WorldServer;
        this.random = new Random(par1WorldServer.getSeed());
    }

    /**
     * Place an entity in a nearby portal, creating one if necessary.
     */
    public void placeInPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
    {
        if (this.field_85192_a.provider.dimensionId != 1)
        {
            if (!this.placeInExistingPortal(par1Entity, par2, par4, par6, par8))
            {
                this.func_85188_a(par1Entity);
                this.placeInExistingPortal(par1Entity, par2, par4, par6, par8);
            }
        }
        else
        {
            int var9 = MathHelper.floor_double(par1Entity.posX);
            int var10 = MathHelper.floor_double(par1Entity.posY) - 1;
            int var11 = MathHelper.floor_double(par1Entity.posZ);
            byte var12 = 1;
            byte var13 = 0;

            for (int var14 = -2; var14 <= 2; ++var14)
            {
                for (int var15 = -2; var15 <= 2; ++var15)
                {
                    for (int var16 = -1; var16 < 3; ++var16)
                    {
                        int var17 = var9 + var15 * var12 + var14 * var13;
                        int var18 = var10 + var16;
                        int var19 = var11 + var15 * var13 - var14 * var12;
                        boolean var20 = var16 < 0;
                        this.field_85192_a.setBlock(var17, var18, var19, var20 ? Block.sandStone.blockID : 0);
                    }
                }
            }

            par1Entity.setLocationAndAngles((double)var9, (double)var10, (double)var11, par1Entity.rotationYaw, 0.0F);
            par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
        }
    }

    /**
     * Place an entity in a nearby portal which already exists.
     */
    public boolean placeInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
    {
        short var9 = 128;
        double var10 = -1.0D;
        int var12 = 0;
        int var13 = 0;
        int var14 = 0;
        int var15 = MathHelper.floor_double(par1Entity.posX);
        int var16 = MathHelper.floor_double(par1Entity.posZ);
        long var17 = ChunkCoordIntPair.chunkXZ2Int(var15, var16);
        boolean var19 = true;
        double var27;
        int var48;

        if (this.field_85191_c.containsItem(var17))
        {
            PortalPosition var20 = (PortalPosition)this.field_85191_c.getValueByKey(var17);
            var10 = 0.0D;
            var12 = var20.posX;
            var13 = var20.posY;
            var14 = var20.posZ;
            var20.field_85087_d = this.field_85192_a.getTotalWorldTime();
            var19 = false;
        }
        else
        {
            for (var48 = var15 - var9; var48 <= var15 + var9; ++var48)
            {
                double var21 = (double)var48 + 0.5D - par1Entity.posX;

                for (int var23 = var16 - var9; var23 <= var16 + var9; ++var23)
                {
                    double var24 = (double)var23 + 0.5D - par1Entity.posZ;

                    for (int var26 = this.field_85192_a.getActualHeight() - 1; var26 >= 0; --var26)
                    {
                        if (this.field_85192_a.getBlockId(var48, var26, var23) == mod_TheGodMod.portal.blockID)
                        {
                            while (this.field_85192_a.getBlockId(var48, var26 - 1, var23) == mod_TheGodMod.portal.blockID)
                            {
                                --var26;
                            }

                            var27 = (double)var26 + 0.5D - par1Entity.posY;
                            double var29 = var21 * var21 + var27 * var27 + var24 * var24;

                            if (var10 < 0.0D || var29 < var10)
                            {
                                var10 = var29;
                                var12 = var48;
                                var13 = var26;
                                var14 = var23;
                            }
                        }
                    }
                }
            }
        }

        if (var10 >= 0.0D)
        {
            if (var19)
            {
                this.field_85191_c.add(var17, new PortalPosition(this, var12, var13, var14, this.field_85192_a.getTotalWorldTime()));
                this.field_85190_d.add(Long.valueOf(var17));
            }

            double var49 = (double)var12 + 0.5D;
            double var25 = (double)var13 + 0.5D;
            var27 = (double)var14 + 0.5D;
            int var50 = -1;

            if (this.field_85192_a.getBlockId(var12 - 1, var13, var14) == mod_TheGodMod.portal.blockID)
            {
                var50 = 2;
            }

            if (this.field_85192_a.getBlockId(var12 + 1, var13, var14) == mod_TheGodMod.portal.blockID)
            {
                var50 = 0;
            }

            if (this.field_85192_a.getBlockId(var12, var13, var14 - 1) == mod_TheGodMod.portal.blockID)
            {
                var50 = 3;
            }

            if (this.field_85192_a.getBlockId(var12, var13, var14 + 1) == mod_TheGodMod.portal.blockID)
            {
                var50 = 1;
            }

            int var30 = par1Entity.func_82148_at();

            if (var50 > -1)
            {
                int var31 = Direction.field_71578_g[var50];
                int var32 = Direction.offsetX[var50];
                int var33 = Direction.offsetZ[var50];
                int var34 = Direction.offsetX[var31];
                int var35 = Direction.offsetZ[var31];
                boolean var36 = !this.field_85192_a.isAirBlock(var12 + var32 + var34, var13, var14 + var33 + var35) || !this.field_85192_a.isAirBlock(var12 + var32 + var34, var13 + 1, var14 + var33 + var35);
                boolean var37 = !this.field_85192_a.isAirBlock(var12 + var32, var13, var14 + var33) || !this.field_85192_a.isAirBlock(var12 + var32, var13 + 1, var14 + var33);

                if (var36 && var37)
                {
                    var50 = Direction.footInvisibleFaceRemap[var50];
                    var31 = Direction.footInvisibleFaceRemap[var31];
                    var32 = Direction.offsetX[var50];
                    var33 = Direction.offsetZ[var50];
                    var34 = Direction.offsetX[var31];
                    var35 = Direction.offsetZ[var31];
                    var48 = var12 - var34;
                    var49 -= (double)var34;
                    int var22 = var14 - var35;
                    var27 -= (double)var35;
                    var36 = !this.field_85192_a.isAirBlock(var48 + var32 + var34, var13, var22 + var33 + var35) || !this.field_85192_a.isAirBlock(var48 + var32 + var34, var13 + 1, var22 + var33 + var35);
                    var37 = !this.field_85192_a.isAirBlock(var48 + var32, var13, var22 + var33) || !this.field_85192_a.isAirBlock(var48 + var32, var13 + 1, var22 + var33);
                }

                float var38 = 0.5F;
                float var39 = 0.5F;

                if (!var36 && var37)
                {
                    var38 = 1.0F;
                }
                else if (var36 && !var37)
                {
                    var38 = 0.0F;
                }
                else if (var36 && var37)
                {
                    var39 = 0.0F;
                }

                var49 += (double)((float)var34 * var38 + var39 * (float)var32);
                var27 += (double)((float)var35 * var38 + var39 * (float)var33);
                float var40 = 0.0F;
                float var41 = 0.0F;
                float var42 = 0.0F;
                float var43 = 0.0F;

                if (var50 == var30)
                {
                    var40 = 1.0F;
                    var41 = 1.0F;
                }
                else if (var50 == Direction.footInvisibleFaceRemap[var30])
                {
                    var40 = -1.0F;
                    var41 = -1.0F;
                }
                else if (var50 == Direction.enderEyeMetaToDirection[var30])
                {
                    var42 = 1.0F;
                    var43 = -1.0F;
                }
                else
                {
                    var42 = -1.0F;
                    var43 = 1.0F;
                }

                double var44 = par1Entity.motionX;
                double var46 = par1Entity.motionZ;
                par1Entity.motionX = var44 * (double)var40 + var46 * (double)var43;
                par1Entity.motionZ = var44 * (double)var42 + var46 * (double)var41;
                par1Entity.rotationYaw = par8 - (float)(var30 * 90) + (float)(var50 * 90);
            }
            else
            {
                par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
            }

            par1Entity.setLocationAndAngles(var49, var25, var27, par1Entity.rotationYaw, par1Entity.rotationPitch);
            return true;
        }
        else
        {
            return false;
        }
    }

    public boolean func_85188_a(Entity par1Entity)
    {
        byte var2 = 16;
        double var3 = -1.0D;
        int var5 = MathHelper.floor_double(par1Entity.posX);
        int var6 = MathHelper.floor_double(par1Entity.posY);
        int var7 = MathHelper.floor_double(par1Entity.posZ);
        int var8 = var5;
        int var9 = var6;
        int var10 = var7;
        int var11 = 0;
        int var12 = this.random.nextInt(4);
        int var13;
        double var14;
        double var17;
        int var16;
        int var19;
        int var21;
        int var20;
        int var23;
        int var22;
        int var25;
        int var24;
        int var27;
        int var26;
        double var31;
        double var32;

        for (var13 = var5 - var2; var13 <= var5 + var2; ++var13)
        {
            var14 = (double)var13 + 0.5D - par1Entity.posX;

            for (var16 = var7 - var2; var16 <= var7 + var2; ++var16)
            {
                var17 = (double)var16 + 0.5D - par1Entity.posZ;
                label274:

                for (var19 = this.field_85192_a.getActualHeight() - 1; var19 >= 0; --var19)
                {
                    if (this.field_85192_a.isAirBlock(var13, var19, var16))
                    {
                        while (var19 > 0 && this.field_85192_a.isAirBlock(var13, var19 - 1, var16))
                        {
                            --var19;
                        }

                        for (var20 = var12; var20 < var12 + 4; ++var20)
                        {
                            var21 = var20 % 2;
                            var22 = 1 - var21;

                            if (var20 % 4 >= 2)
                            {
                                var21 = -var21;
                                var22 = -var22;
                            }

                            for (var23 = 0; var23 < 3; ++var23)
                            {
                                for (var24 = 0; var24 < 4; ++var24)
                                {
                                    for (var25 = -1; var25 < 4; ++var25)
                                    {
                                        var26 = var13 + (var24 - 1) * var21 + var23 * var22;
                                        var27 = var19 + var25;
                                        int var28 = var16 + (var24 - 1) * var22 - var23 * var21;

                                        if (var25 < 0 && !this.field_85192_a.getBlockMaterial(var26, var27, var28).isSolid() || var25 >= 0 && !this.field_85192_a.isAirBlock(var26, var27, var28))
                                        {
                                            continue label274;
                                        }
                                    }
                                }
                            }

                            var32 = (double)var19 + 0.5D - par1Entity.posY;
                            var31 = var14 * var14 + var32 * var32 + var17 * var17;

                            if (var3 < 0.0D || var31 < var3)
                            {
                                var3 = var31;
                                var8 = var13;
                                var9 = var19;
                                var10 = var16;
                                var11 = var20 % 4;
                            }
                        }
                    }
                }
            }
        }

        if (var3 < 0.0D)
        {
            for (var13 = var5 - var2; var13 <= var5 + var2; ++var13)
            {
                var14 = (double)var13 + 0.5D - par1Entity.posX;

                for (var16 = var7 - var2; var16 <= var7 + var2; ++var16)
                {
                    var17 = (double)var16 + 0.5D - par1Entity.posZ;
                    label222:

                    for (var19 = this.field_85192_a.getActualHeight() - 1; var19 >= 0; --var19)
                    {
                        if (this.field_85192_a.isAirBlock(var13, var19, var16))
                        {
                            while (var19 > 0 && this.field_85192_a.isAirBlock(var13, var19 - 1, var16))
                            {
                                --var19;
                            }

                            for (var20 = var12; var20 < var12 + 2; ++var20)
                            {
                                var21 = var20 % 2;
                                var22 = 1 - var21;

                                for (var23 = 0; var23 < 4; ++var23)
                                {
                                    for (var24 = -1; var24 < 4; ++var24)
                                    {
                                        var25 = var13 + (var23 - 1) * var21;
                                        var26 = var19 + var24;
                                        var27 = var16 + (var23 - 1) * var22;

                                        if (var24 < 0 && !this.field_85192_a.getBlockMaterial(var25, var26, var27).isSolid() || var24 >= 0 && !this.field_85192_a.isAirBlock(var25, var26, var27))
                                        {
                                            continue label222;
                                        }
                                    }
                                }

                                var32 = (double)var19 + 0.5D - par1Entity.posY;
                                var31 = var14 * var14 + var32 * var32 + var17 * var17;

                                if (var3 < 0.0D || var31 < var3)
                                {
                                    var3 = var31;
                                    var8 = var13;
                                    var9 = var19;
                                    var10 = var16;
                                    var11 = var20 % 2;
                                }
                            }
                        }
                    }
                }
            }
        }

        int var29 = var8;
        int var15 = var9;
        var16 = var10;
        int var30 = var11 % 2;
        int var18 = 1 - var30;

        if (var11 % 4 >= 2)
        {
            var30 = -var30;
            var18 = -var18;
        }

        boolean var33;

        if (var3 < 0.0D)
        {
            if (var9 < 70)
            {
                var9 = 70;
            }

            if (var9 > this.field_85192_a.getActualHeight() - 10)
            {
                var9 = this.field_85192_a.getActualHeight() - 10;
            }

            var15 = var9;

            for (var19 = -1; var19 <= 1; ++var19)
            {
                for (var20 = 1; var20 < 3; ++var20)
                {
                    for (var21 = -1; var21 < 3; ++var21)
                    {
                        var22 = var29 + (var20 - 1) * var30 + var19 * var18;
                        var23 = var15 + var21;
                        var24 = var16 + (var20 - 1) * var18 - var19 * var30;
                        var33 = var21 < 0;
                        this.field_85192_a.setBlock(var22, var23, var24, var33 ? Block.sandStone.blockID : 0);
                    }
                }
            }
        }

        for (var19 = 0; var19 < 4; ++var19)
        {
       //     this.field_85192_a.editingBlocks = true;

            for (var20 = 0; var20 < 4; ++var20)
            {
                for (var21 = -1; var21 < 4; ++var21)
                {
                    var22 = var29 + (var20 - 1) * var30;
                    var23 = var15 + var21;
                    var24 = var16 + (var20 - 1) * var18;
                    var33 = var20 == 0 || var20 == 3 || var21 == -1 || var21 == 3;
                    this.field_85192_a.setBlock(var22, var23, var24, var33 ? Block.sandStone.blockID : mod_TheGodMod.portal.blockID);
                }
            }

            //this.field_85192_a.editingBlocks = false;

            for (var20 = 0; var20 < 4; ++var20)
            {
                for (var21 = -1; var21 < 4; ++var21)
                {
                    var22 = var29 + (var20 - 1) * var30;
                    var23 = var15 + var21;
                    var24 = var16 + (var20 - 1) * var18;
                    this.field_85192_a.notifyBlocksOfNeighborChange(var22, var23, var24, this.field_85192_a.getBlockId(var22, var23, var24));
                }
            }
        }

        return true;
    }

    public void func_85189_a(long par1)
    {
        if (par1 % 100L == 0L)
        {
            Iterator var3 = this.field_85190_d.iterator();
            long var4 = par1 - 600L;

            while (var3.hasNext())
            {
                Long var6 = (Long)var3.next();
                PortalPosition var7 = (PortalPosition)this.field_85191_c.getValueByKey(var6.longValue());

                if (var7 == null || var7.field_85087_d < var4)
                {
                    var3.remove();
                    this.field_85191_c.remove(var6.longValue());
                }
            }
        }
    }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Make a test with deleting the config of tempad-forge (config folder) If there is no change, remove this mod
    • There is an invalid entry in your level.dat   Create a copy of this world and open it in singleplayer - if this works, upload this world to the server If not, add the latest.log from the singleplayer test
    • Looking for the best Temu coupon code to save on your purchases? The ACQ783769 coupon code offers a 50% discount, making it an excellent option for both new and existing users. Here’s everything you need to know about using this fantastic Temu 50% off code, including its validity and answers to common questions. What is the Temu 50% Off Code? The ACQ783769 coupon code provides users with a 50% discount on eligible purchases made through the Temu platform. Whether you’re a new or existing user, this code can help you save significantly. 50% Off Code for New Users If you’re a new user, this 50% off code is perfect for your first purchase. Simply sign up for a Temu account, add your items to the cart, and apply the code ACQ783769 at checkout to enjoy the discount. 50% Off Code for Existing Users Existing users can also benefit from the ACQ783769 code. If you've shopped on Temu before, you can still take advantage of this offer for additional savings on your next purchase. Validity of the Code The ACQ783769 coupon code is valid until December 2024. Be sure to use it before it expires to maximize your savings on Temu. FAQs Q: Can I use the ACQ783769 code more than once? A: Typically, the code is valid for one-time use per user. However, check the terms during checkout for confirmation. Q: Are there any exclusions for the 50% off code? A: Some products may be excluded from the offer. It’s always good to review the coupon’s terms and conditions before applying it. Q: Can I combine the 50% off code with other promotions? A: Generally, Temu allows one coupon per order. Combining multiple offers is usually not permitted. Q: Is the code valid for all products? A: Most products are eligible for the discount, but some categories or items may be excluded based on ongoing promotions. Conclusion Don’t miss out on the chance to save 50% on your next purchase at Temu with the ACQ783769 coupon code. Whether you're a new or existing user, this code is valid until December 2024, so take advantage of this offer while it lasts!
    • If you're looking to save big on your next Temu purchase, you're in luck! The Legit Temu Coupon Code (acq783769]) or (acq783769) offers an incredible $100 off and free shipping for both new and existing users. Temu, known for its wide range of products at competitive prices, is making shopping even more affordable with this amazing discount. In this article, we'll dive into the details of how you can use this Legit Temu Coupon Code (acq783769]) or (acq783769) to maximize your savings, explore other discount opportunities, and answer some frequently asked questions about Temu discount codes. Whether you're a first-time buyer or a loyal customer, these insights will help you make the most of your Temu shopping experience. What is the Temu $100 Discount Code? The Temu $100 discount code is a special promotional offer that provides a significant price reduction on your purchase. By using the Legit Temu Coupon Code (acq783769]) or (acq783769), shoppers can enjoy a flat $100 off their order, making it an excellent opportunity to save on a variety of products. This discount code is valid for both new and existing users, ensuring that everyone can benefit from this fantastic deal. How to Get Discounts on Temu Getting discounts on Temu is straightforward and easy. Here are some steps to ensure you make the most of the Legit Temu Coupon Code (acq783769]) or (acq783769): Visit the Temu Website: Start by browsing the Temu website to find the products you want to purchase. Add Items to Your Cart: Select your desired items and add them to your shopping cart. Apply the Coupon Code: During checkout, enter the Legit Temu Coupon Code (acq783769]) or (acq783769) in the designated promo code box. Enjoy Your Savings: Once the code is applied, you will see the $100 discount reflected in your total. Complete your purchase and enjoy your savings. Temu Promo Codes for Existing Customers Temu values its loyal customers and offers various promo codes, including the Legit Temu Coupon Code (acq783769]) or (acq783769), which existing users can use. This ensures that repeat shoppers can also benefit from significant discounts on their purchases. Keep an eye out for special promotions and offers that are periodically available to enhance your shopping experience. Discount Code for Temu Discount codes for Temu are a great way to save money on your orders. The Legit Temu Coupon Code (acq783769]) or (acq783769) is one of the best options available, offering a substantial $100 off and free shipping. Always check the Temu website or subscribe to their newsletter to stay updated on the latest discount codes and promotions. Temu New User Discount Code For new users, Temu provides exclusive discount codes to make their first shopping experience more enjoyable. By using the Legit Temu Coupon Code (acq783769]) or (acq783769), new customers can take advantage of a flat $100 discount and free shipping on their first order. This generous offer makes it easier for new shoppers to explore Temu's diverse product range without breaking the bank. Free Temu Discount Codes Temu frequently offers free discount codes to help customers save on their purchases. These codes can be found on the Temu website, social media pages, or through promotional emails. The Legit Temu Coupon Code (acq783769]) or (acq783769) is one such code that offers substantial savings and free shipping, making it a valuable find for any shopper. Temu Discount Code $100 Off The Temu discount code for $100 off is a remarkable offer that significantly reduces the cost of your purchase. By entering the Legit Temu Coupon Code (acq783769]) or (acq783769) at checkout, you can instantly save $100 on your order. This code is perfect for those looking to buy higher-priced items or make bulk purchases, providing substantial savings. Best Temu Discount Codes When it comes to finding the best Temu discount codes, the Legit Temu Coupon Code (acq783769]) or (acq783769) stands out due to its high value and ease of use. It offers a flat $100 discount along with free shipping, making it one of the top choices for savvy shoppers. Always look for verified and legitimate codes to ensure you get the best deals. Temu Discount Bundle Code Temu also offers discount bundle codes that provide savings on multiple items purchased together. These codes are perfect for shoppers looking to buy several products at once. The Legit Temu Coupon Code (acq783769]) or (acq783769) can be used in conjunction with other promotions, ensuring you get the maximum discount on your bundled purchases. Temu $100 Discount Bundle Reddit Reddit is a great resource for finding discount codes and deals shared by other users. The Legit Temu Coupon Code (acq783769]) or (acq783769) often appears in threads discussing Temu discounts, allowing users to benefit from verified and legitimate offers. Reddit communities can be a valuable source of information and help you find the best deals available. Temu 100 Discount Reddit Users on Reddit frequently share their experiences and discount codes for Temu. The Legit Temu Coupon Code (acq783769]) or (acq783769) is a popular topic, with many users confirming its validity and the substantial savings it offers. Join Reddit discussions to stay updated on the latest Temu discount codes and promotional offers. Temu Discount $100 Off Reddit Reddit is a platform where users can find and share Temu discount codes, including the Legit Temu Coupon Code (acq783769]) or (acq783769). This code provides a significant $100 off, making it a hot topic among Reddit shoppers. Engage with the community to discover more discount opportunities and tips for saving on Temu. Here's the updated version of the article with the required code changes: Temu Discount Code for Existing Customers Existing customers can continue to save on their purchases with the Legit Temu Coupon Code (acq783769]) or (acq783769). This code is not just for new users but also rewards loyal customers with a flat $100 discount and free shipping. It's a great way to keep enjoying Temu's offers with a Temu Discount $100 Off for Existing Customers. Temu Discount Code $100 Off The Legit Temu Coupon Code (acq783769]) or (acq783769) is an excellent offer for existing customers, providing a $100 discount on their orders. This code helps long-term users save on their purchases, making it easier to continue shopping at Temu without worrying about high costs. Temu Discount Code First Order For first-time shoppers, using the Legit Temu Coupon Code (acq783769]) or (acq783769) on their first order is a smart move. This code provides a flat $100 off and free shipping, making the initial shopping experience both enjoyable and affordable. Take advantage of this offer to explore Temu's wide range of products. Temu 90% Off Code First Order While the Legit Temu Coupon Code (acq783769]) or (acq783769) offers a substantial $100 off, Temu also provides other discount codes, such as 90% off for first orders. These codes ensure that new customers can start their shopping journey with significant savings. Always check for the latest offers to get the best deal. Temu 90% Off Code for Existing Users Existing users can also benefit from significant discounts, such as 90% off codes, in addition to the Legit Temu Coupon Code (acq783769]) or (acq783769). Temu frequently updates its promotional offers, ensuring that loyal customers can continue to enjoy great savings on their purchases. Is Temu $100 Percent Off Legit? Many shoppers wonder if the $100 discount on Temu is legitimate. Rest assured, the Legit Temu Coupon Code (acq783769]) or (acq783769) is a verified and authentic offer, providing a flat $100 off and free shipping. Always use trusted sources to find valid discount codes to ensure a safe and rewarding shopping experience. Where Can I Get a Temu Discount Code $100 Off? You can find the Temu discount code for $100 off on the Temu website, through promotional emails, or on forums like Reddit. The Legit Temu Coupon Code (acq783769]) or (acq783769) is widely shared and verified, making it easy to access and use for significant savings. Is the Temu $100 Discount Legit? Yes, the Temu $100 discount is legitimate. The Legit Temu Coupon Code (acq783769]) or (acq783769) has been confirmed by many users to provide a real $100 off and free shipping. Ensure you use the correct and verified code to enjoy these benefits. How Can I Redeem the Temu $100 Discount? Redeeming the Temu $100 discount is simple: Shop on the Temu Website: Add your desired items to the shopping cart. Enter the Coupon Code: During checkout, enter the Legit Temu Coupon Code (acq783769]) or (acq783769) in the promo code box. Apply the Discount: The $100 discount and free shipping will be applied to your order. Complete Your Purchase: Finish the checkout process and enjoy your savings. How to Use a $100 Dollar Discount on Temu Using a $100 discount on Temu is straightforward. By applying the Legit Temu Coupon Code (acq783769]) or (acq783769) at checkout, the discount will be automatically applied to your total. This allows you to save significantly on a wide range of products available on the Temu website. Temu Discount $50 Off In addition to the $100 off code, Temu also offers $50 off discounts. These codes can be found on the Temu website or through promotional emails. Using the Legit Temu Coupon Code (acq783769]) or (acq783769) ensures you get the best available discount. Temu Discount $30 Off Temu provides various discount options, including $30 off codes. While the Legit Temu Coupon Code (acq783769]) or (acq783769) offers a more substantial $100 discount, always check for additional offers to maximize your savings. Temu Discount Code $200 Off For larger purchases, Temu occasionally offers $200 off discount codes. While these are less common, they provide significant savings for bulk orders. Keep an eye out for such promotions in addition to using the Legit Temu Coupon Code (acq783769]) or (acq783769). Temu Discount Code $300 Off High-value discount codes, such as $300 off, are occasionally available for large orders. These codes can be combined with the Legit Temu Coupon Code (acq783769]) or (acq783769) for even greater savings. Always check the latest promotions to find the best deals. Temu Discount Code $500 Off For substantial purchases, Temu sometimes offers $500 off discount codes. These high-value codes are perfect for large orders and can be used alongside the Legit Temu Coupon Code (acq783769]) or (acq783769) to maximize your savings. 30% Off Temu Coupons, Promo Codes + 25% Cash Back (acq783769]) Redeem Temu Coupon Code (acq783769]) TEMU COUPON $100 OFF (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS (acq783769]) TEMU COUPON $100 OFF FIRST ORDER (acq783769]) TEMU COUPON $100 OFF REDDIT (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS REDDIT (acq783769]) TEMU COUPON $100 OFF NEW USER (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS 2024 (acq783769]) TEMU COUPON $100 OFF CODE (acq783769]) TEMU COUPON $100 OFF FIRST ORDER FREE SHIPPING (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FREE SHIPPING USA (acq783769]) TEMU COUPON $100 OFF HOW DOES IT WORK (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS CANADA (acq783769]) TEMU COUPON $100 OFF 2024 (acq783769]) TEMU COUPON $100 OFF FOR NEW CUSTOMERS (acq783769]) TEMU COUPON $100 OFF CANADA (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FIRST ORDER (acq783769]) TEMU $100 OFF COUPON BUNDLE (acq783769]) 100 COUPON CODES (acq783769]) 1 BUCKS TO PHP (acq783769]) IS THERE A COUPON IN THE PHILIPPINES (acq783769]) 100 BUCKS TO PHP (acq783769]) TEMU $100 OFF COUPON (acq783769]) TEMU $100 OFF CODE (acq783769]) TEMU 100 VALUE COUPON BUNDLE (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FREE SHIPPING (acq783769]) TEMU 100 OFF COUPON CODE LEGIT (acq783769]) TEMU 100 OFF COUPON CODE REDDIT (acq783769]) TEMU 100 OFF COUPON CODE FOR EXISTING USERS (acq783769]) TEMU 100 OFF COUPON CODE UK (acq783769]) TEMU COUPON CODE $100 OFF FREE SHIPPING (acq783769]) TEMU COUPON CODES 100 PERCENT OFF (acq783769]) WHAT IS A HIGH COUPON RATE (acq783769]) HOW TO CALCULATE COUPON RATE WITHOUT COUPON PAYMENT (acq783769]) WHAT IS THE COUPON RATE (acq783769]) HOW TO CALCULATE COUPON VALUE (acq783769]) USING COUPONS AND REBATES TO LOWER THE PRICE OF AN ITEM IS AN EXAMPLE OF (acq783769]) TEMU 100 DOLLAR OFF COUPON (acq783769]) DOMINOS COUPON CODE 100 OFF (acq783769]) DOMINO'S 100 RS OFF COUPON CODE (acq783769]) TEMU COUPON $100 OFF EXISTING CUSTOMERS (acq783769]) WHAT IS 10 OFF 100 DOLLARS (acq783769]) 100 OFF PROMO CODE (acq783769]) 1 CASHBACK ON 100 DOLLARS (acq783769]) IS TEMU 100 OFF COUPON LEGIT (acq783769]) TEMU COUPON $100 OFF (acq783769]) TEMU COUPON $100 OFF LEGIT (acq783769]) WHAT IS A GOOD COUPON RATE (acq783769]) TEMU 100 VALUE COUPON (acq783769]) 100 DOLLAR OFF SHEIN CODE (acq783769]) WHAT IS A ZERO COUPON NOTE (acq783769]) TEMU 100 PERCENT OFF COUPON REDDIT (acq783769]) TEMU 100 OFF COUPON REAL (acq783769]) TEMU 100 OFF COUPON CODE (acq783769]) TEMU COUPON $100 OFF SOUTH AFRICA (acq783769]) TEMU COUPON $100 OFF FREE SHIPPING (acq783769]) TEMU COUPON $100 OFF FIRST TIME USER (acq783769]) TEMU COUPON CODE $100 OFF FIRST TIME USER (acq783769]) IS THE TEMU 100 OFF COUPON LEGIT (acq783769]) TEMU COUPON $100 OFF UK (acq783769]) TEMU COUPON CODE 100 OFF UK (acq783769]) HOW MUCH IS 20 OF 100 DOLLARS (acq783769]) TEMU COUPON CODE 100 OFF (acq783769]) Conclusion In conclusion, the Legit Temu Coupon Code (acq783769]) is an excellent opportunity to save $100 on your next Temu purchase, with the added benefit of free shipping. Whether you're a new user or a loyal customer, this code ensures you get the best deal possible. Always stay updated on the latest discount codes and promotions to make the most of your Temu shopping experience. Happy shopping. All About the Latest Temu Promotions, Coupon Codes, and How to Get a $100 Coupon Bundle What is the $100 Temu Coupon? The $100 Temu coupon is promoted as a major discount available on the Temu website or app. It promises shoppers substantial savings, but there are key details you should know. Is the Temu $100 Coupon Legit? (acq783769]) or (acq783769) The legitimacy of the $100 Temu coupon largely depends on where it comes from and the conditions attached. Here’s what to consider: Source of the Coupon: If the coupon originates from Temu's official website, app, or verified social media accounts, it is likely to be real. However, coupons from third-party sites might not be trustworthy. Terms and Conditions: A legitimate coupon will always have clear terms, including spending requirements, applicable products, and expiry dates. If any of these are unclear, the coupon might not be valid. Too Good to Be True? A $100 discount sounds amazing, but if the offer seems too generous, it may not be legitimate. Scammers often use big discounts to lure customers. What Should You Do? (acq783769]) or (acq783769) If you come across a Temu $100 coupon, follow these steps to ensure it's valid: Verify the Source: Check that the coupon is from an official Temu source. Read the Details: Look over the coupon's terms and conditions carefully. Be Cautious: Avoid using coupons from unfamiliar or suspicious sources to protect yourself from scams. The Legitimacy of the Temu $100 Coupon (acq783769]) or (acq783769) The Temu $100 coupon is, indeed, legitimate when offered by Temu through official promotions. Temu provides these coupons to attract new shoppers and reward loyal customers. However, they are often part of a welcome package or require participation in certain promotions. Always read the fine print to understand the terms. Is the Temu $300 Coupon Code Legit? (acq783769]) or (acq783769) A $300 Temu coupon code (acq783769]) or (acq783769) may be legitimate if it is promoted directly by Temu. Be sure to verify its authenticity through official channels before using it. Is the Temu $750 Coupon Code Legit? (acq783769]) or (acq783769) A $750 Temu coupon code (acq783769]) or (acq783769) is highly unlikely to be legitimate. Always be cautious of such large discounts and verify them before using. Conclusion In conclusion, the $100 Temu coupon can be legitimate if it meets the right conditions, such as coming from a trusted source and having clear terms. Always stay cautious, and happy shopping—but remember to shop smart! FAQs On Temu $100 Coupon (acq783769]) or (acq783769) What is the $100 coupon bundle on Temu? The $100 coupon bundle on Temu (acq783769]) or (acq783769) includes multiple discounts that could save you up to $100 on your purchases. Is a $15,000 coupon on Temu legit? A $15,000 coupon on Temu (acq783769]) or (acq783769) is extremely unlikely to be legitimate and should be treated with caution. How does Temu’s 100% rebate work? Temu (acq783769]) or (acq783769) sometimes offers promotions with 100% rebates on specific purchases. These offers typically have conditions such as minimum purchase amounts. Does Temu really give you $200? While Temu may offer generous discounts, it’s rare for them to simply give $200 without terms attached. Always verify the offer. Is a 100% discount truly free? Yes, a 100% discount on Temu (acq783769]) or (acq783769) means the product is free, but check the terms to avoid any hidden costs
    • If you're looking to save big on your next Temu purchase, you're in luck! The Legit Temu Coupon Code (acq783769]) or (acq783769) offers an incredible $100 off and free shipping for both new and existing users. Temu, known for its wide range of products at competitive prices, is making shopping even more affordable with this amazing discount. In this article, we'll dive into the details of how you can use this Legit Temu Coupon Code (acq783769]) or (acq783769) to maximize your savings, explore other discount opportunities, and answer some frequently asked questions about Temu discount codes. Whether you're a first-time buyer or a loyal customer, these insights will help you make the most of your Temu shopping experience. What is the Temu $100 Discount Code? The Temu $100 discount code is a special promotional offer that provides a significant price reduction on your purchase. By using the Legit Temu Coupon Code (acq783769]) or (acq783769), shoppers can enjoy a flat $100 off their order, making it an excellent opportunity to save on a variety of products. This discount code is valid for both new and existing users, ensuring that everyone can benefit from this fantastic deal. How to Get Discounts on Temu Getting discounts on Temu is straightforward and easy. Here are some steps to ensure you make the most of the Legit Temu Coupon Code (acq783769]) or (acq783769): Visit the Temu Website: Start by browsing the Temu website to find the products you want to purchase. Add Items to Your Cart: Select your desired items and add them to your shopping cart. Apply the Coupon Code: During checkout, enter the Legit Temu Coupon Code (acq783769]) or (acq783769) in the designated promo code box. Enjoy Your Savings: Once the code is applied, you will see the $100 discount reflected in your total. Complete your purchase and enjoy your savings. Temu Promo Codes for Existing Customers Temu values its loyal customers and offers various promo codes, including the Legit Temu Coupon Code (acq783769]) or (acq783769), which existing users can use. This ensures that repeat shoppers can also benefit from significant discounts on their purchases. Keep an eye out for special promotions and offers that are periodically available to enhance your shopping experience. Discount Code for Temu Discount codes for Temu are a great way to save money on your orders. The Legit Temu Coupon Code (acq783769]) or (acq783769) is one of the best options available, offering a substantial $100 off and free shipping. Always check the Temu website or subscribe to their newsletter to stay updated on the latest discount codes and promotions. Temu New User Discount Code For new users, Temu provides exclusive discount codes to make their first shopping experience more enjoyable. By using the Legit Temu Coupon Code (acq783769]) or (acq783769), new customers can take advantage of a flat $100 discount and free shipping on their first order. This generous offer makes it easier for new shoppers to explore Temu's diverse product range without breaking the bank. Free Temu Discount Codes Temu frequently offers free discount codes to help customers save on their purchases. These codes can be found on the Temu website, social media pages, or through promotional emails. The Legit Temu Coupon Code (acq783769]) or (acq783769) is one such code that offers substantial savings and free shipping, making it a valuable find for any shopper. Temu Discount Code $100 Off The Temu discount code for $100 off is a remarkable offer that significantly reduces the cost of your purchase. By entering the Legit Temu Coupon Code (acq783769]) or (acq783769) at checkout, you can instantly save $100 on your order. This code is perfect for those looking to buy higher-priced items or make bulk purchases, providing substantial savings. Best Temu Discount Codes When it comes to finding the best Temu discount codes, the Legit Temu Coupon Code (acq783769]) or (acq783769) stands out due to its high value and ease of use. It offers a flat $100 discount along with free shipping, making it one of the top choices for savvy shoppers. Always look for verified and legitimate codes to ensure you get the best deals. Temu Discount Bundle Code Temu also offers discount bundle codes that provide savings on multiple items purchased together. These codes are perfect for shoppers looking to buy several products at once. The Legit Temu Coupon Code (acq783769]) or (acq783769) can be used in conjunction with other promotions, ensuring you get the maximum discount on your bundled purchases. Temu $100 Discount Bundle Reddit Reddit is a great resource for finding discount codes and deals shared by other users. The Legit Temu Coupon Code (acq783769]) or (acq783769) often appears in threads discussing Temu discounts, allowing users to benefit from verified and legitimate offers. Reddit communities can be a valuable source of information and help you find the best deals available. Temu 100 Discount Reddit Users on Reddit frequently share their experiences and discount codes for Temu. The Legit Temu Coupon Code (acq783769]) or (acq783769) is a popular topic, with many users confirming its validity and the substantial savings it offers. Join Reddit discussions to stay updated on the latest Temu discount codes and promotional offers. Temu Discount $100 Off Reddit Reddit is a platform where users can find and share Temu discount codes, including the Legit Temu Coupon Code (acq783769]) or (acq783769). This code provides a significant $100 off, making it a hot topic among Reddit shoppers. Engage with the community to discover more discount opportunities and tips for saving on Temu. Here's the updated version of the article with the required code changes: Temu Discount Code for Existing Customers Existing customers can continue to save on their purchases with the Legit Temu Coupon Code (acq783769]) or (acq783769). This code is not just for new users but also rewards loyal customers with a flat $100 discount and free shipping. It's a great way to keep enjoying Temu's offers with a Temu Discount $100 Off for Existing Customers. Temu Discount Code $100 Off The Legit Temu Coupon Code (acq783769]) or (acq783769) is an excellent offer for existing customers, providing a $100 discount on their orders. This code helps long-term users save on their purchases, making it easier to continue shopping at Temu without worrying about high costs. Temu Discount Code First Order For first-time shoppers, using the Legit Temu Coupon Code (acq783769]) or (acq783769) on their first order is a smart move. This code provides a flat $100 off and free shipping, making the initial shopping experience both enjoyable and affordable. Take advantage of this offer to explore Temu's wide range of products. Temu 90% Off Code First Order While the Legit Temu Coupon Code (acq783769]) or (acq783769) offers a substantial $100 off, Temu also provides other discount codes, such as 90% off for first orders. These codes ensure that new customers can start their shopping journey with significant savings. Always check for the latest offers to get the best deal. Temu 90% Off Code for Existing Users Existing users can also benefit from significant discounts, such as 90% off codes, in addition to the Legit Temu Coupon Code (acq783769]) or (acq783769). Temu frequently updates its promotional offers, ensuring that loyal customers can continue to enjoy great savings on their purchases. Is Temu $100 Percent Off Legit? Many shoppers wonder if the $100 discount on Temu is legitimate. Rest assured, the Legit Temu Coupon Code (acq783769]) or (acq783769) is a verified and authentic offer, providing a flat $100 off and free shipping. Always use trusted sources to find valid discount codes to ensure a safe and rewarding shopping experience. Where Can I Get a Temu Discount Code $100 Off? You can find the Temu discount code for $100 off on the Temu website, through promotional emails, or on forums like Reddit. The Legit Temu Coupon Code (acq783769]) or (acq783769) is widely shared and verified, making it easy to access and use for significant savings. Is the Temu $100 Discount Legit? Yes, the Temu $100 discount is legitimate. The Legit Temu Coupon Code (acq783769]) or (acq783769) has been confirmed by many users to provide a real $100 off and free shipping. Ensure you use the correct and verified code to enjoy these benefits. How Can I Redeem the Temu $100 Discount? Redeeming the Temu $100 discount is simple: Shop on the Temu Website: Add your desired items to the shopping cart. Enter the Coupon Code: During checkout, enter the Legit Temu Coupon Code (acq783769]) or (acq783769) in the promo code box. Apply the Discount: The $100 discount and free shipping will be applied to your order. Complete Your Purchase: Finish the checkout process and enjoy your savings. How to Use a $100 Dollar Discount on Temu Using a $100 discount on Temu is straightforward. By applying the Legit Temu Coupon Code (acq783769]) or (acq783769) at checkout, the discount will be automatically applied to your total. This allows you to save significantly on a wide range of products available on the Temu website. Temu Discount $50 Off In addition to the $100 off code, Temu also offers $50 off discounts. These codes can be found on the Temu website or through promotional emails. Using the Legit Temu Coupon Code (acq783769]) or (acq783769) ensures you get the best available discount. Temu Discount $30 Off Temu provides various discount options, including $30 off codes. While the Legit Temu Coupon Code (acq783769]) or (acq783769) offers a more substantial $100 discount, always check for additional offers to maximize your savings. Temu Discount Code $200 Off For larger purchases, Temu occasionally offers $200 off discount codes. While these are less common, they provide significant savings for bulk orders. Keep an eye out for such promotions in addition to using the Legit Temu Coupon Code (acq783769]) or (acq783769). Temu Discount Code $300 Off High-value discount codes, such as $300 off, are occasionally available for large orders. These codes can be combined with the Legit Temu Coupon Code (acq783769]) or (acq783769) for even greater savings. Always check the latest promotions to find the best deals. Temu Discount Code $500 Off For substantial purchases, Temu sometimes offers $500 off discount codes. These high-value codes are perfect for large orders and can be used alongside the Legit Temu Coupon Code (acq783769]) or (acq783769) to maximize your savings. 30% Off Temu Coupons, Promo Codes + 25% Cash Back (acq783769]) Redeem Temu Coupon Code (acq783769]) TEMU COUPON $100 OFF (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS (acq783769]) TEMU COUPON $100 OFF FIRST ORDER (acq783769]) TEMU COUPON $100 OFF REDDIT (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS REDDIT (acq783769]) TEMU COUPON $100 OFF NEW USER (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS 2024 (acq783769]) TEMU COUPON $100 OFF CODE (acq783769]) TEMU COUPON $100 OFF FIRST ORDER FREE SHIPPING (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FREE SHIPPING USA (acq783769]) TEMU COUPON $100 OFF HOW DOES IT WORK (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS CANADA (acq783769]) TEMU COUPON $100 OFF 2024 (acq783769]) TEMU COUPON $100 OFF FOR NEW CUSTOMERS (acq783769]) TEMU COUPON $100 OFF CANADA (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FIRST ORDER (acq783769]) TEMU $100 OFF COUPON BUNDLE (acq783769]) 100 COUPON CODES (acq783769]) 1 BUCKS TO PHP (acq783769]) IS THERE A COUPON IN THE PHILIPPINES (acq783769]) 100 BUCKS TO PHP (acq783769]) TEMU $100 OFF COUPON (acq783769]) TEMU $100 OFF CODE (acq783769]) TEMU 100 VALUE COUPON BUNDLE (acq783769]) TEMU COUPON $100 OFF FOR EXISTING CUSTOMERS FREE SHIPPING (acq783769]) TEMU 100 OFF COUPON CODE LEGIT (acq783769]) TEMU 100 OFF COUPON CODE REDDIT (acq783769]) TEMU 100 OFF COUPON CODE FOR EXISTING USERS (acq783769]) TEMU 100 OFF COUPON CODE UK (acq783769]) TEMU COUPON CODE $100 OFF FREE SHIPPING (acq783769]) TEMU COUPON CODES 100 PERCENT OFF (acq783769]) WHAT IS A HIGH COUPON RATE (acq783769]) HOW TO CALCULATE COUPON RATE WITHOUT COUPON PAYMENT (acq783769]) WHAT IS THE COUPON RATE (acq783769]) HOW TO CALCULATE COUPON VALUE (acq783769]) USING COUPONS AND REBATES TO LOWER THE PRICE OF AN ITEM IS AN EXAMPLE OF (acq783769]) TEMU 100 DOLLAR OFF COUPON (acq783769]) DOMINOS COUPON CODE 100 OFF (acq783769]) DOMINO'S 100 RS OFF COUPON CODE (acq783769]) TEMU COUPON $100 OFF EXISTING CUSTOMERS (acq783769]) WHAT IS 10 OFF 100 DOLLARS (acq783769]) 100 OFF PROMO CODE (acq783769]) 1 CASHBACK ON 100 DOLLARS (acq783769]) IS TEMU 100 OFF COUPON LEGIT (acq783769]) TEMU COUPON $100 OFF (acq783769]) TEMU COUPON $100 OFF LEGIT (acq783769]) WHAT IS A GOOD COUPON RATE (acq783769]) TEMU 100 VALUE COUPON (acq783769]) 100 DOLLAR OFF SHEIN CODE (acq783769]) WHAT IS A ZERO COUPON NOTE (acq783769]) TEMU 100 PERCENT OFF COUPON REDDIT (acq783769]) TEMU 100 OFF COUPON REAL (acq783769]) TEMU 100 OFF COUPON CODE (acq783769]) TEMU COUPON $100 OFF SOUTH AFRICA (acq783769]) TEMU COUPON $100 OFF FREE SHIPPING (acq783769]) TEMU COUPON $100 OFF FIRST TIME USER (acq783769]) TEMU COUPON CODE $100 OFF FIRST TIME USER (acq783769]) IS THE TEMU 100 OFF COUPON LEGIT (acq783769]) TEMU COUPON $100 OFF UK (acq783769]) TEMU COUPON CODE 100 OFF UK (acq783769]) HOW MUCH IS 20 OF 100 DOLLARS (acq783769]) TEMU COUPON CODE 100 OFF (acq783769]) Conclusion In conclusion, the Legit Temu Coupon Code (acq783769]) is an excellent opportunity to save $100 on your next Temu purchase, with the added benefit of free shipping. Whether you're a new user or a loyal customer, this code ensures you get the best deal possible. Always stay updated on the latest discount codes and promotions to make the most of your Temu shopping experience. Happy shopping. All About the Latest Temu Promotions, Coupon Codes, and How to Get a $100 Coupon Bundle What is the $100 Temu Coupon? The $100 Temu coupon is promoted as a major discount available on the Temu website or app. It promises shoppers substantial savings, but there are key details you should know. Is the Temu $100 Coupon Legit? (acq783769]) or (acq783769) The legitimacy of the $100 Temu coupon largely depends on where it comes from and the conditions attached. Here’s what to consider: Source of the Coupon: If the coupon originates from Temu's official website, app, or verified social media accounts, it is likely to be real. However, coupons from third-party sites might not be trustworthy. Terms and Conditions: A legitimate coupon will always have clear terms, including spending requirements, applicable products, and expiry dates. If any of these are unclear, the coupon might not be valid. Too Good to Be True? A $100 discount sounds amazing, but if the offer seems too generous, it may not be legitimate. Scammers often use big discounts to lure customers. What Should You Do? (acq783769]) or (acq783769) If you come across a Temu $100 coupon, follow these steps to ensure it's valid: Verify the Source: Check that the coupon is from an official Temu source. Read the Details: Look over the coupon's terms and conditions carefully. Be Cautious: Avoid using coupons from unfamiliar or suspicious sources to protect yourself from scams. The Legitimacy of the Temu $100 Coupon (acq783769]) or (acq783769) The Temu $100 coupon is, indeed, legitimate when offered by Temu through official promotions. Temu provides these coupons to attract new shoppers and reward loyal customers. However, they are often part of a welcome package or require participation in certain promotions. Always read the fine print to understand the terms. Is the Temu $300 Coupon Code Legit? (acq783769]) or (acq783769) A $300 Temu coupon code (acq783769]) or (acq783769) may be legitimate if it is promoted directly by Temu. Be sure to verify its authenticity through official channels before using it. Is the Temu $750 Coupon Code Legit? (acq783769]) or (acq783769) A $750 Temu coupon code (acq783769]) or (acq783769) is highly unlikely to be legitimate. Always be cautious of such large discounts and verify them before using. Conclusion In conclusion, the $100 Temu coupon can be legitimate if it meets the right conditions, such as coming from a trusted source and having clear terms. Always stay cautious, and happy shopping—but remember to shop smart! FAQs On Temu $100 Coupon (acq783769]) or (acq783769) What is the $100 coupon bundle on Temu? The $100 coupon bundle on Temu (acq783769]) or (acq783769) includes multiple discounts that could save you up to $100 on your purchases. Is a $15,000 coupon on Temu legit? A $15,000 coupon on Temu (acq783769]) or (acq783769) is extremely unlikely to be legitimate and should be treated with caution. How does Temu’s 100% rebate work? Temu (acq783769]) or (acq783769) sometimes offers promotions with 100% rebates on specific purchases. These offers typically have conditions such as minimum purchase amounts. Does Temu really give you $200? While Temu may offer generous discounts, it’s rare for them to simply give $200 without terms attached. Always verify the offer. Is a 100% discount truly free? Yes, a 100% discount on Temu (acq783769]) or (acq783769) means the product is free, but check the terms to avoid any hidden costs.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.