Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

yanksrock1019

Members
  • Content Count

    193
  • Joined

  • Last visited

Community Reputation

-2 Poor

About yanksrock1019

  • Rank
    Creeper Killer

Converted

  • Gender
    Male
  • Personal Text
    Creator of Puplet

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. First of all, you dont have to be rude, this is a support forum where you go to figure out how to do things that you don't know. Second, I did not copy paste vanilla code, I wrote that code in my Teleporter class. Third, yes, I do just want to create a custom fire. Here is the code: public boolean tryToCreatePortal(World world, int x, int y, int z){ byte b = 0; byte b1 = 0; if(world.getBlock(x-1, y, z) == PupletBlocks.pupletOre || world.getBlock(x+1, y, z) == PupletBlocks.pupletOre){ b = 1; } if(world.getBlock(x, y, z-1) == PupletBlocks.pupletOre || world.getBlock(x, y, z+1)
  2. This? public boolean makePortal(Entity p_85188_1_) { byte b0 = 16; double d0 = -1.0D; int i = MathHelper.floor_double(p_85188_1_.posX); int j = MathHelper.floor_double(p_85188_1_.posY); int k = MathHelper.floor_double(p_85188_1_.posZ); int l = i; int i1 = j; int j1 = k; int k1 = 0; int l1 = this.random.nextInt(4); int i2; double d1; int k2; double d2; int i3; int j3; int k3; int l3; int i4; int j4; int k4; in
  3. I am trying to create a flame that lights a portal. It lights the portal in the other dimension it leads to but not the overworld. Can't figure out why package com.puplet.blocks; import static net.minecraftforge.common.util.ForgeDirection.DOWN; import static net.minecraftforge.common.util.ForgeDirection.EAST; import static net.minecraftforge.common.util.ForgeDirection.NORTH; import static net.minecraftforge.common.util.ForgeDirection.SOUTH; import static net.minecraftforge.common.util.ForgeDirection.UP; import static net.minecraftforge.common.util.ForgeDirection.WEST; import com.pupl
  4. I am trying to create a portal into my custom dimension, however I am getting this error. I have looked around and can't see anything wrong. Error: TeleporterBlock: Teleporter:
  5. You're right, what I really wanted to do was to just make it into a potion
  6. So why when I use this.setCreativeTabs it adds all vanilla potions to my tab
  7. I think I may be missing something here, because I see no answer in getSubItems. Please point out what you are talking about
  8. Sorry, here, this is the actual ItemPotion class I made for the splash potion. And what I mean by the creative tab is, I have my own creative tab, and whenever I add this to that creative tab, it adds all potions that actually exist in vanilla, to my tab package com.puplet.items; import com.puplet.blocks.PupletBlocks; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumAction; import net.minecraft.item.Item; import net.minecraft.item.ItemPotion; import net.minecraft.item.ItemStack; public class InstaPotion extends ItemPotion{ public InstaPotion(){ } public
  9. I'm also having a hard time creating the actual potion item itself. When I try to set its creative tab, it adds all the potions to my creative tab
  10. Not working. Not sure if it's because I'm applying the effect via command. If so, how do I create the physical splash potion. Is it just an Item @Override public boolean isInstant() { return true; } public void affectEntity(EntityLivingBase entity1, EntityLivingBase entity2, int par3, double par4){ entity2.setDead(); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.