I made an item, so it's just like any other item class.
in it is a method
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer){
run()
}
Then I want it to start this new thread that takes in the same parameters as OnItemRightClick so it can kinda do the same thing, but from a seperate thread.
The run method is currently like this, but obv wont work
public void run() {
ExecutorService es = Executors.newFixedThreadPool(3);
@SuppressWarnings("rawtypes")
final Future future = es.submit(new Callable() {
public Object call() throws Exception {
new threadX(ItemStack itemstack, World world, EntityPlayer entityplayer);
return null;
}
});
}
Although I might have just seen that its public *ItemStack* onItemRightClick so maybe Items dont have access to World but ItemStack does....
Basically I have class that uses World and EntityPlayer in its methods just fine.
but from it I'm trying to call a new thread to do (something). But it won't let me give these are params
I had another class extending entity which let me pass worldObj just fine and I just don't know what I have to do here...
any ideas?
I want it to let me do this...
new threadX(World world, EntityPlayer entityplayer);
except for example over "World" it says: cannot be resolved to a variable
over "world": syntax error on token 'world', delete this token
Well, there is simply no way you are going to survive heavy fighting now that the eat over time feature has been implemented. This is especially true on the pvp servers. Stand still and let them hit you? No ty. Bad idea. The only option would be to jump on top of 1x1 towers and keep building so you can heal in time, then you have the issue of getting back down. Lol.
Suggestion for how to survive:
Armor, topped off food, dodge, kill faster, use arrows, don't get hit as much. Try using "skill" instead of spamming to see who had stored the most porkchops.
srsly??
& this work's wonders for PVP to not suck as it did.
Chest look out of the ****ing place. Many people that used chest combinations to make floors, have their floors ruined, bunch of storage rooms look like crap and Workbench/Furnace/Chest combination looks like a huge **** you to players. I wanted to know, is this a glitch or a feature ?
it was designed to be the worst thing to ever happen in your sad life
this system with the food, health regen, and ways the food bar de-generates was all totally brilliant
beats the crap out of balancing the game around people having a full inventory of pork to restore a total of 4235 HP in a minute.
the design is perfect. for a million reasons and im sure more people will recognize this and why.
Because these new features are GOOD! Every update has added some awesome stuff. But think about it: back then he added tons of awesome, game changing stuff in 2 days all by himself. Now it takes 2 months with a full team?
But every update is buggy and/or unfinished. Example: Nether. One of the most anticipated updates ever, ended up being one incredibly underused feature. Who actually uses the Nether now?
People also got excited for pistons. Took him a whole month I believe to get that update out. Played with pistons for 1 day, never touched them again.
Bottom line: Keep innovating the game, but please do it at a believable rate. I would understand if Notch had a job, but this IS his job.
No I'm sorry but the bottom line is you're just have this delusional entitlement problem
& I'll win this argument because no matter how much you cry or scream minecraft won't do what You want because You say.
You'll wait and have no control over notch because you don't. Night
Nobody has the right to boss Notch around. You bought an alpha/beta of a game he works on for fun. You didn't buy slave Notch to code a game for you.
If he wants to quit production of the game or shut down all servers forever he could.
So if all he wants to do is work on this with a small team and do it the way he wants.... I don't think that's so bad now is it?
Why would he want to waste any money paying someone to add content he feels dosnt fit in the game????
If notch wanted to, he could of finished MC by now or have tons more content.
I'm so glad he took the grueling time earlier to work on SMP and server code.
I don't care if there's 10,000 blocks, not being able to play with friends on a stable, bug free server sucks.
I remember when there was no SMP. "content" can flood in after you get the basics working.
look at the bugs on the pre-release 1.8 right now.
would you rather he add more content with MORE bugs and make the game unplayable or smooth out the kinks before adding new stuff
the 'adventure' stuff to me just seems like he's whoring out to a broader audience. minecraft should be a building game at its base, there are tons of other games to go exploring and kill things and whatnot.
.... "minecraft should be"
I wasn't aware you were designing Minecraft, owned the rights to it, invented it or in any other way had a reasonably claim to say what minecraft "should be".
Notch can do whatever he wants with this game, its his. If he wants to slowly turn it into a FPS or playing card game he could.
If you don't like it try some mods. Or deal with it.
I think its because the features they've been adding recently are more necessary and less fun to make
like SMP support, nether working in SMP, better lighting engines to look better and run 1000x smoother.
Its a lot more technical than "add a new block". If you look at the new features they're also extremely complicated.
overhauling terrain generation code, NPCs in villages that won't seem like total Derps.
Notch himself said once that he tries to split things up between "fun programming" and "work programming" because the work stuff that lets the game run at all is a lot less fun than designing a new mob. & it can become tedious
ImageBufferDownload is to do with the mojang splash screen, not textures
explains that lol
lets just say its a very large model drawn in techne
The model itself works fine, except the texturemap it exports only gives me enough room to apply one texture to the whole model, and I need enough room for 2.
Its not as simple as just moving the other parts to be textured down further because if they are not within this 64x32 rectangle in the file then it won't load them anyways.
0
mostly because you asked why the hell I had a run method.
It's worked fine in other places but I basically took the guts of run()
tossed it in the OnItemRightCLick() and it works fine.
and yeah I only had to do (itemstack, world, entityplayer);
which I kinda knew and tried but whatever. +1 internets to you
0
I made an item, so it's just like any other item class.
in it is a method
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer){
run()
}
Then I want it to start this new thread that takes in the same parameters as OnItemRightClick so it can kinda do the same thing, but from a seperate thread.
The run method is currently like this, but obv wont work
public void run() {
ExecutorService es = Executors.newFixedThreadPool(3);
@SuppressWarnings("rawtypes")
final Future future = es.submit(new Callable() {
public Object call() throws Exception {
new threadX(ItemStack itemstack, World world, EntityPlayer entityplayer);
return null;
}
});
}
Although I might have just seen that its public *ItemStack* onItemRightClick so maybe Items dont have access to World but ItemStack does....
still umm
0
but from it I'm trying to call a new thread to do (something). But it won't let me give these are params
I had another class extending entity which let me pass worldObj just fine and I just don't know what I have to do here...
any ideas?
I want it to let me do this...
new threadX(World world, EntityPlayer entityplayer);
except for example over "World" it says: cannot be resolved to a variable
over "world": syntax error on token 'world', delete this token
derp.
0
Suggestion for how to survive:
Armor, topped off food, dodge, kill faster, use arrows, don't get hit as much. Try using "skill" instead of spamming to see who had stored the most porkchops.
srsly??
& this work's wonders for PVP to not suck as it did.
4
it was designed to be the worst thing to ever happen in your sad life
0
and even when its out its not out, its beta.
so if you're playing it now realize most performance things will be fixed. read @jeb twitter to see hes doing a LOT
1
beats the crap out of balancing the game around people having a full inventory of pork to restore a total of 4235 HP in a minute.
the design is perfect. for a million reasons and im sure more people will recognize this and why.
0
No I'm sorry but the bottom line is you're just have this delusional entitlement problem
& I'll win this argument because no matter how much you cry or scream minecraft won't do what You want because You say.
You'll wait and have no control over notch because you don't. Night
0
Nobody has the right to boss Notch around. You bought an alpha/beta of a game he works on for fun. You didn't buy slave Notch to code a game for you.
If he wants to quit production of the game or shut down all servers forever he could.
So if all he wants to do is work on this with a small team and do it the way he wants.... I don't think that's so bad now is it?
Why would he want to waste any money paying someone to add content he feels dosnt fit in the game????
2
I'm so glad he took the grueling time earlier to work on SMP and server code.
I don't care if there's 10,000 blocks, not being able to play with friends on a stable, bug free server sucks.
I remember when there was no SMP. "content" can flood in after you get the basics working.
look at the bugs on the pre-release 1.8 right now.
would you rather he add more content with MORE bugs and make the game unplayable or smooth out the kinks before adding new stuff
1
.... "minecraft should be"
I wasn't aware you were designing Minecraft, owned the rights to it, invented it or in any other way had a reasonably claim to say what minecraft "should be".
Notch can do whatever he wants with this game, its his. If he wants to slowly turn it into a FPS or playing card game he could.
If you don't like it try some mods. Or deal with it.
0
like SMP support, nether working in SMP, better lighting engines to look better and run 1000x smoother.
Its a lot more technical than "add a new block". If you look at the new features they're also extremely complicated.
overhauling terrain generation code, NPCs in villages that won't seem like total Derps.
Notch himself said once that he tries to split things up between "fun programming" and "work programming" because the work stuff that lets the game run at all is a lot less fun than designing a new mob. & it can become tedious
0
explains that lol
lets just say its a very large model drawn in techne
The model itself works fine, except the texturemap it exports only gives me enough room to apply one texture to the whole model, and I need enough room for 2.
Its not as simple as just moving the other parts to be textured down further because if they are not within this 64x32 rectangle in the file then it won't load them anyways.
So I need to find where to alter that limit
0
0
I know its easier, I'd have been done yesterday if that's what I was doing
but that isn't an option. So what I need to do is find out how hard it is to use a picture larger than 64x32 and then make it happen.
The model cannot get any smaller