Everything posted by Draco18s
-
[1.7.10] adding a potion effect before entity is killed
You know you can check for the player's active weapon in the EntityDeadEvent, right? As well as any other property active on the player.
-
[1.7.10] adding a potion effect before entity is killed
Any reason you don't check to see if the entity was killed by the player?
-
HELP PLEASE! FORGE DOWNLOAD ERROR THING.
Are you sure you are not clicking on an advertisement?
-
[1.8.9] Crop doesnt work correctly
pos.up(), btw, is much more efficient than new BlockPos(pos.getX(), pos.getY()+1, pos.getZ()
-
[1.8.9] Add tint to block in world?
When you gaze into the abyss that is ASM, the abyss gazes back.
-
[1.8.9] Multiblocks structures and OBJ models: is it possible?
The invisible blocks are every real block in your multiblock structure.
-
[1.7.10]problem with server won'y run , infinity 2.3.0
Mod at fault is Witchery.
-
[1.7.10] Player moved Wrongly
Do you know how to examine an object to locate properties?
-
[1.8.9] Add tint to block in world?
"That one cube right there" cannot be achieved via TintIndex or any other Block method.
-
[1.7.10] Player moved Wrongly
Packet handlers have a message context that includes the player the packet came from. Done.
-
[SOLVED]Block removal tool(help please)
You know what imports do, too, right?
-
[1.8] Custom Item Inventory, don't save the Items. (SOLVED)
I still do not understand that mark dirty function. CoolAlias might have to hop in and help you, because from here it looks like that method is erasing the inventory contents, not saving them. Similarly, it isn't calling super().
-
[1.8.9] Add tint to block in world?
Because I am intimately familiar with the Twilight Forest...mind explaining?
-
[1.8.9] Add tint to block in world?
By "block " do you mean "all stone everywhere" or "that one cube right there"?
-
[1.7.10] Can you work in layers for per-biome colors?
Look for multipass rendered blocks.
-
[1.7.10] Can you work in layers for per-biome colors?
Should be able to render the overlay with a different color multiplier, but it might not be the most straight forward thing.
-
[1.8.9] Add tint to block in world?
It would be easier to draw a transparent quad manually.
-
[1.7.10] Potion effect isn't working on armor
A couple other potions have a "waver" or transition period at certain values (night vision kind of blinks at less than 20-40 ticks, I forget the exact value). I actually utilize that for a smoke block, forcing the player's remaining blindness amount to be 18 ticks. Gives a vision radius of about 8-12 blocks rather than the typical 4.
-
[SOLVED] [1.8] Rotate Entity
How about you use Jump to Declaration and look at their implementation?
-
-deleted-
This will never be true: if (playerIn.inventory.getStackInSlot(i) == new ItemStack(checking, OreDictionary.WILDCARD_VALUE)) You can't compare itemstacks that way.
-
Tile Entity GUI Not working
That is indeed the function you want to change. I don't know what it is you want the function to do, but yep, that's the function.
-
[1.7.10] Trying to understand how colormultiplier works
https://www.opengl.org/wiki/Blending#Blend_Color
-
[1.7.10] Potion effect isn't working on armor
That's because you are applying the potion effect every tick. If you knew how Regeneration worked, you would see the problem immediately. Regeneration heals the player when the time remaining % 10 equals 0.
-
Tile Entity GUI Not working
Welll...what does SlotSCTile have to say about it?
-
[1.8] Custom Item Inventory, don't save the Items. (SOLVED)
1) That is not what Mark Dirty is supposed to be doing. 2) That function utterly deletes the entire contained inventory. Good jorb. 3) Never, ever, EVER call writeToNBT yourself.
IPS spam blocked by CleanTalk.