
memcallen
Members-
Posts
343 -
Joined
-
Last visited
Everything posted by memcallen
-
Ok sorry, I'm using the latest version of forge (Minecraft 1.8 ). Just realized you can't have an eight and a bracket beside each other without it turning into an emoji.
-
I'm looking through the block and item methods and I don't see anything thats hinting towards a texture. How do I texture a block or item?
-
How to run minecraft with username/password
memcallen replied to memcallen's topic in Modder Support
Thanks -
How do you run minecraft with your username and password. I tried going into the run arguments and adding the username and password flags(with my username/password) but I get and error saying could not create java virtual machine. Any help? EDIT:also are .lang files still a thing?(and where can I find out how to use them) EDIT 2:Figured out what I was doing wrong with the .lang file- I forgot to put it in the correct path
-
Thanks! this helps a lot.
-
I've modded in the past and recently I've wanted to start again. Looking back at my old mod it is 1.7.2 and I can't find any tutorials about 1.6.4 or up. Could someone give me a link to a good starting tutorial? (I mean setting up the files and everything)
-
using an item to extend the players inventory
memcallen replied to memcallen's topic in Modder Support
Is there any way to add extra slots to the player's inventory? If there is, could I just make the slots off screen, instead of in the middle like they're supposed to be? (kind of like adding 9 slots just off screen to the right, so the player can't access them) -
using an item to extend the players inventory
memcallen replied to memcallen's topic in Modder Support
Yeah I realize that, but even if it is extremely difficult as long as it doesn't use reflection I'll probably still use it. -
I have a concept of an item, it basically extends the player's inventory. (this item links to a chest) as an example, if the player used a bow but didn't have any arrows, although there were some in the item's linked chest the bow would work and shoot an arrow while using the arrow in the chest. I don't need to constantly access the chest, as in storage wise, but the player.hasItem functions would return true if the chest had the item.
-
Keep in mind that my mod is still in 1.7.2-I have no idea how to update, and I'm not sure if obj files work in 1.7.2
-
is it ok to put that in the onupdate or would that cause too much lag?
-
I've made an item that I want to use to increase the players reach. It's basically a block teleporter, but that's not relevant. I want it to increase the range if it's in a player's inventory, but only if it's in the hotbar. I know how to make it detect if it's in the hotbar or not, I just don't know how to increase the player's range when they have it.
-
[SOLVED]Does minecraft have a JSON library?
memcallen replied to memcallen's topic in Modder Support
Ok thanks. -
[SOLVED]Does minecraft have a JSON library?
memcallen replied to memcallen's topic in Modder Support
Does minecraft already have an instance instantaniated like "Minecraft.getMinecraft().GSON"? -
[SOLVED]Does minecraft have a JSON library?
memcallen replied to memcallen's topic in Modder Support
Object obj = new Object() ^ that -
[SOLVED]Does minecraft have a JSON library?
memcallen replied to memcallen's topic in Modder Support
What's the class name for the getter/setter? -
I was wondering if minecraft had a JSON library already so I didn't have to get one. I want to use a JSON file for simple block creation, and item creation etc.
-
I got it to work but I have to use nbt, thanks
-
I was testing it, before it was just the !world.isRemote and the spawn entity, but it still spawned two items when I shift clicked
-
public void onCreated(ItemStack itemstack,World world,EntityPlayer player){ EntityItem item = new EntityItem(world,player.posX,player.posY,player.posZ,new ItemStack(Drill)); if(!world.isRemote) world.spawnEntityInWorld(item); if(!GuiScreen.isShiftKeyDown()&&!world.isRemote) world.spawnEntityInWorld(item); }
-
In my item's onCreated function it's spawning another item, but when I press shift it spawns two items.
-
I didn't import anything yet actually, which is odd. EDIT: I manually imported net.minecraftforge.common.config.Configuration and it's still using the javax one. EDIT 2:turns out that I was importing the javax one before, I have no idea what I was using it for though.
-
I'm trying to make a config file but when I do "new Configuration(event.getSuggestedConfigurationFile)" it says that Configuration can't be instantiated. I hovered over Configuration (I'm using eclipse) and it was under "javax.security". Do I need the import or am I doing something wrong?
-
Then either the extension is wrong or you put the texture in the wrong place
-
ok, I got it to work now, thanks