Everything posted by Draco18s
-
[1.11] Make NBT data for item
if(nbt == null) Duh.
-
[1.11] Make NBT data for item
What happens if the NBT tag is null there?
-
[SOLVED] set the container item for only select metadata items
...check the stack's metadata and either return a new item stack or not?
-
Why Gradle? (Also is There Any Way to Develop Mods Without it)
I do too. Looking at the HTML it's a "warn_watch" field, so I take it to mean that the moderators are watching his posts closely.
-
[SOLVED] set the container item for only select metadata items
@Override public ItemStack getContainerItem(ItemStack stack) { //do something }
-
Getting activ potion from particle or other.
You're still converting from an EntityLiving to a UUID and back.
-
Getting activ potion from particle or other.
So you get the entity (yay! you have the entity!) then get it's unique ID, so you can pass that to getEntityFromUuid , and get the entity. Wha?
-
[1.11] Custom Particle
Try looking at how vanilla blocks do it. Mind, it'll be a few calls down the method chain hierarchy, but it should at least be similar to what modders need to do.
-
Weird Visual Bugs with model
Possibility: Your model's vertices aren't quite lined up with each other, so the front face and the side face are ever so slightly offset in one direction from each other (ie. their edges are not congruent) so floating point math makes you see between them sometimes.
-
[Solved]Custom Recipes with meta
You mean about 32,000? Feed The Beast runs up against that limit all the time.
-
Getting activ potion from particle or other.
No.
-
[1.11.2 Solved] GuiButton over an other GuiButton + question aboute Note Blocks
I would make a custom button class for the large keys (1,3,5,7 in your image) that only check the lower portion of their bounds for mouse-inside. You wouldn't be able to click inside the narrow bits between the black keys, but it would prevent the double-press.
-
[1.11]Getting active potion from entity
You've hit the age old question of "how do I send data from one computer to another?" Packets.
-
[1.10.2] Make player not eat
This @SubscribeEvent public void InteractItem( PlayerInteractEvent.RightClickItem event) { if (ConfigHandler.noEating) event.setCanceled(true); } In no way knows if the player's died recently. All it does is say "is the config option to disable eating after death enabled? yes? ok, no eating." public EnumAction getItemUseAction(ItemStack stack) { return EnumAction.EAT; } And this doesn't go there. This is an ItemStack method you've thrown into your event handler because....why?
-
[1.11] Small item render glitch
Check to make sure that the pixel adjacent to that one in your texture is actually 100% transparent.
-
[1.11.2] [SOLVED] Textures problem
No, it just treats them as identical. To change x.JSON to x.json you first have to change it to x.notjson so that it thinks that it actually changed.
-
[1.11] Trouble creating TileEntity with inventory.
Yes. That said, these: ItemStack.stackSize and ItemStack.loadItemStackFromNBT() Got tweaked a bit. StackSize is now modified through getter and setter methods and loadItemStackFromNBT was renamed.
-
[1.11] Gui crashes if I click outside of Gui with NullPointerException
Looks like a crash in pure vanilla code. I don't see anything in your code that could do that either. Could be a vanilla or Forge bug.
-
[1.11.2 - Solved] rayTrace never returns an Entity
It does, but that doesn't mean that method that returns a RayTraceResult checks against entities (or vice versa).
-
Renamed: Figured out most of villagers, need help ironing out bugs
- [1.8] Can't launch my mod
While that may be, you're still not going to get help here, as help here is offered for Forge, not Bukkit, not raw MCP, and not coremodding.- [1.8] Can't launch my mod
Then why are you here? These are the Forge forums, not the MCP forums.- Forge mods do not generate whenever I use Multiverse-Core
What?- How to run minecraft from Eclipse?
You have to import it.- [1.11] How figure out if an entity is entity part?
Maybe you should check for instanceof before casting. - [1.8] Can't launch my mod
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.