Everything posted by Draco18s
-
[1.8]Don't you just love updating?
And this, kids, is why we use a REAL IRC client.
-
[1.7.10] Structure Spawn Problems
Hesus Christie. and tags exist for a reason. Fuckin' use them.
-
[1.7.10] Recipe remover mod also causing strange side-effects
if(recipeResult != null) { recipeResult.stackSize = 1; } Magic.
-
[1.8]Don't you just love updating?
MCPBot is not a channel. MCPBot is a user. You have to open a direct message window or MCPbot won't reply.
-
Player rotation pitch and yaw
If you absolutely positively can't do it on the server, then you need packets. Game set match.
-
[1.8]Mobs wen hit get temporal inmunity ? <SOLVED>
Non-vanilla mobs still have to extend EntityLivingBase. Unless that person is dumb and wants their mod to crash.
-
[1.8]Mobs wen hit get temporal inmunity ? <SOLVED>
They are not temporally immune. They are temporarily immune. And that's handled by the EntityLivingBase class. If you want to ignore it, when your bullet hits an entity, set that entity's hurtResistantTime to 0.
-
Entity that casts light
I made items that did it by creating an invisible, light casting block, above the player's head (then saving that location so it could be removed later).but yeah, it's laggy. I avoided that by only updating the block every five meters or so.
-
smaller pariticles
If you want custom particles, you're going to have to write a custom particle class.
-
[1.7.2] Increase player speed
Also note, that I think the base value is only used once, during entity construction.
-
[1.7.10] Problems with Attributes, collections and arrays
ITS MAGIC. Read: Don't do shit like that in one line and always check for array size and null pointers before you access them.
-
smaller pariticles
Yes. They're rendered with the tesselator. It's very easy to change their size.
-
[1.7.10] Door questions
The link goes to the wiki page, which details what the door's metadata does. In this case, the 4th bit ("8") means "this block is the top half of the door."
-
[1.7.10]Double furnace causes unexpected error
Did you register your GUI handler?
-
[1.7.10] Door questions
No shit. http://minecraft.gamepedia.com/Door#Block_data
-
[1.7.10] onNeighborBlockChange() method question
That should be the door is powered / not powered so open/close the door. The flag is telling it to run another function, so just because you powered that block over there doesn't mean the door will open: that other function may also check for power.
-
[1.7.10] onNeighborBlockChange() method question
Its how the bottom half of the door functions. If the top half doesn't exist ("block above me is not also a door") then it sets itself to air (breaking the door). Secondly, if the block below itself is not solid on top, it also breaks the door.
-
[1.8] Minecraft Forge
Its almost like there's a tutorial for this.
-
Changing Model Texture per Instance of TileEntity instead of all TileEntities
What does your TE class look like?
-
Changing Model Texture per Instance of TileEntity instead of all TileEntities
No, inside your TileEntity.
-
Changing Model Texture per Instance of TileEntity instead of all TileEntities
Sounds like you need a public String getModelTexture(...) { } method! Because it's not a static method, the TE instance has the properties (world, position, etc) already necessary to figure out what its own texture should be.
-
[How-To]Build multiple separate projects with Gradle
Having built a chunk of related but separate mods, I was keeping all the files in the same /src/main directory mostly because of not knowing what else to do, but given that I'd like to build them as separate jar files, I ended up here. Good news: I got it to compile. Bad news: it shoved them all into one jar anyway (which has a clever file name of "Forge 1180.jar") Umm...what didn't I do correctly? Unrelated, I should update Forge at some point, heh.
-
[1.7.10] Getting the lists of recipes for arbitrary machines
Makes since. I was largely working off how the Furnace recipes worked, but yeah, it doesn't make a whole lot of sense that way.
-
MinecraftForge Events for 1.8?
Side note: there are usages of class names where Eclipse can't resolve the identity. The one I know of is if(someobject instanceof SomeClass) { } and it throws "incompatible operand types SuperClass and SomeClass." 99% of the time I have to use another line to do SomeClass qqq; just so I can get the import.
-
[1.7.10] Getting the lists of recipes for arbitrary machines
Oh, it is a HashMap. Heh.
IPS spam blocked by CleanTalk.