Everything posted by Draco18s
-
Where are the vanilla models stored?
client-extra.jar in your external dependencies.
-
Prevent FULL AUTO item use
FMLClientSetupEvent
-
[SOLVED] [1.16] Block Item problems, and isOpaque not working
- Prevent FULL AUTO item use
I don't know why you'd need to set glass to be transparent every render frame though.- [SOLVED, BUG FIXED] Harvest Level just straight up NOT working.
Here is a forum. It operates under "forum" rules: threads stay "open" by default. The only reason to close threads (as in, a moderator locks it) is if it has been necro'd or is off topic (asking for help with unsupported versions falls into "off topic"). I don't know why so many people think that this place operates likes Stack Overflow.- [SOLVED] [1.14.4] Register custom arrow in ItemTags
Use JSON. https://github.com/MinecraftForge/MinecraftForge/blob/1.15.x/src/generated/resources/data/forge/tags/items/arrows.json- Prevent FULL AUTO item use
And now your this code will be useless in multiplayer. Good job. Oh also: Having dumped out early in that way does not stop this line from crashing the server.- NoClassDefFoundError
One of your mods is causing a problem. Remove them one by one to figure out which one, then complain to the author.- Help getting started
Oops, yes, you're right. I made that before I had my morning caffeine.- Help getting started
This is where they are in Eclipse, IntelliJ will have a similar window, as will any other IDE. The first one is all of the code and assets provided by Forge, the second one will have loot tables, blockstate files, models, and textures. I happen to have 1.14 open currently, but this is consistent across versions.- [1.16] Damage custom item
Items generally don't take damage if the player is in creative mode.- stuck at decompileMC
Cool. We here at Forge don't care.- stuck at decompileMC
You can, but we can't help you do so. Because we no longer know how. You're either going to have to figure things out for yourself or find help elsewhere. For the same reason Mojang no longer accepts bug reports and issues patches for 1.8.9, Forge no longer maintains a knowledge base for 1.8.9- 1.16.1 Deferred Register
This is 1000% wrong. Don't create your items statically like this, this is why DeferredRegister exists, because you people won't stop doing this.- Json Files For Textures
You can't. Item models are loaded based on a path constructed entirely outside your control. Its the same reason you can't put blockstate files wherever you want. The only reason you can move your block models around is because you actually specify their paths in the blockstate file.- [1.15.2] How to make it save the energy
Jesus H Christ on a crutch and the Holy Mother of God. A NEW SAVE FILE- [1.15.2] How to make it save the energy
If your block was already in a world and you loaded it, the saved data no longer matches the data you're trying to read. Create a new world.- Starting MC on Dedicated server (IntelliJ)
And, IIRC, you need to set the server properties to online-mode = false, otherwise the default account when you run the client in your IDE will get booted from the server for not having been logged in and authenticated with Mojang.- [1.15.2] How to make it save the energy
(Hooray, forum glitches)- [1.15.2] How to make it save the energy
Considering that you did not put any code in the read and write methods dealing with energy, I'm not sure why you thought it would magically work. Also, this: Is completely unnecessary. You already have access to it: Just access that. Also, why so you have this? You have an ItemStackHandler.... Related, you called your LazyOptional for your items, "itemHandler" but the one for energy "energyHolder" Pick a naming convention and stick to it. ...But you're not invalidating your energy's LazyOptional...Also, you know for a fact that it's not null...- [1.14.4] Can't get slot to only accept specific items
Use tags.- [1.15.2] How do I create an item with power?
The forums have been acting oddly, but that's quite an odd result indeed.- [1.15.2] How do I create an item with power?
Define "doesn't work."- [1.15.2] How do I create an item with power?
Dude, seriously. You have access to the underlying storage directly, there's ZERO reason to use getCap and the lazy optional. public IntNBT serializeNBT() { return IntNBT.valueOf(storage.getEnergy()); } and public void deserializeNBT(IntNBT nbt) { storage.setEnergy(nbt.getInt()); }- [1.16.1] Newer mappings file?
Ok, but what if: There isn't a mapping for today? There isn't a new mapping every day, or even most days? Shoving new dates in to "try" makes no sense. At least supply a location where the current mappings can be found. - Prevent FULL AUTO item use
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.