Everything posted by Animefan8888
-
[1.12.2] Cannot load .OBJ file [SOLVED]
We can't help without actual information. Post your blockstate and your log that has the exception.
-
[1.12.2] Check if two items are equal [Closed]
This is not true, all Items are singletons(there is only one shears). You are comparing and ItemStack to an Item you need to call ItemStack#getItem on your getItemInMainHand
-
How to register a recipe
Post updated json and path as well as the log.
-
How to register a recipe
Change it back, that was my mistake as noted by me striking out the text.
-
How to register a recipe
Your path is assets/openscripties/recipes not assets/openscriptie/recipes
-
How to register a recipe
- How to register a recipe
Is there an error in the log? Its most likely the ingredients being an array of objects instead of an array of strings.- How to register a recipe
- How to register a recipe
There is no reference to your recipe in the log, where is the json file located, and- How to register a recipe
No, vanilla crafting recipes do not work in this manner.'=' What does the log say? Also did you even take a look at mcjty's tutorial? You're missing the key and pattern tag.- [1.12.2] Cannot load .OBJ file [SOLVED]
Do still need help if so post the exception.- en_us.lang not working
This is probably because you can look at all the other lang files within your Minecraft jar or look in assets.forge.lang within your workspace. The problem you might be having is that you do not have a pack.mcmeta file, if you do not forge will switch to a legacy version that requires your english lang file to be called en_US.lang.- [1.12.2] Persisting Player Capability Inventory Data
When you open the inventory or the inventory is accessed the contents need to be synced, it is not necessarily an event handler you need to use. Note the container class should automatically sync its contents to the client from Container#detectAndSendChanges You very well could, but you shouldn't extend InventoryPlayer or any IInventory, instead just use an IItemHandler implementation. For future reference please read the javadoc above things before you use them.- [1.12.2] Replace block by filter in custom dimension [Closed]
Which blocks? Also post what you have.- [1.12] How can I get the list of dimensions
And the crash for this code.- [1.12] How can I get the list of dimensions
Post your code.- [1.12.2] Adding an Overlay (like the pumpkin)
Use the RenderGameOverlayEvent.Post- [1.12] Recolour Item Texture at Startup
No, there is not a simpler way to do this, though your overall code will look much simpler than forges dynamic bucket because you will only need to have one TextureAtlasSprite that applies the color to the texture. But I do agree with jabelar, it would be fine to just let the texture be generated every frame. And if it were to become a problem you could very easily switch over to the TextureAtlasSprite method.- Modded Item Not Showing Ingame
Raw code please, no one wants to download it.- New modder what went wrong here
Does the server render things? Anything that has @SideOnly can only be referenced on that side. Then anything that doesn't make sense, such as the server registering models.- New modder what went wrong here
Any methods you need to be called on either the Client or the server, IE on the client would be model registry(A method that calls ModelLoader.setCustomModelResourceLocation).- [Solved] [1.12.2] Transparent text with shadow only transparent where both overlap
it seems you need to use RenderGameOverlayEvent.Text to render text. So you may need both RenderGameOverlayEvent.Pre to cancel the item tooltips, and RenderGameOverlayEvent.Text to actually render.- [Solved] [1.12.2] Transparent text with shadow only transparent where both overlap
Take a look at GuiIngame#renderSelectedItem(ScaledResolution) lines 694-699- Why Isn't my texture working?
Problematic Code #14- How Items Are Registered.
Every Item has a registry name that is stored in its instance, since Items, Blocks, etc are singletons there is only one instance. The registry name is then mapped to the instance think Map<RegistryName, Item>. - How to register a recipe
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.