Jump to content

Recommended Posts

Posted (edited)

Hello so I've been looking around and I haven't yet found anything for the updated version of forge for the fuel values of items and was wondering if anyone would be able to shed some light upon this at all? It's just the basics I'm looking for, something like giving the item the properties of coal yet changing the value to be something custom.

 

I am currently running the latest version of the mdk (by accident) 1.12.2 - 14.23.5.2770

Thanks for any help in advance. :)

~Blood

Edited by BloodshotPico
Adding my name at the end.
  • 2 weeks later...
Posted

Regarding this same issue, how do I make an item last for 8-9 stacks of items along with 81 stacks of items?

 

This is the 81 stacks of items code (Or along 81 stacks or something :') )

package com.bloodshotpico.overwhelmingores.items;

import net.minecraft.item.ItemStack;

public class ItemPristine extends ItemBase
{
	public ItemPristine(String name) 
	{
		super(name);
	}
	
	@Override
	public int getItemBurnTime(ItemStack itemstack)
	{
		return 1036800;
	}
}

 

Any help with this? Thanks in advance. :)

Posted
4 hours ago, BloodshotPico said:

last for 8-9 stacks of items along with 81 stacks of items?

Could you please clarify your question? What is your actual issue? What do you want to acheive?

 

4 hours ago, BloodshotPico said:

return 1036800;

Take note that casts the fuel burn time to a short before saving it to the NBT, meaning that the max burn time you can have persist is 32767. As your number is greater than 32767 it will not persist, instead it will be saved as -21023. There is no fix to this issue as far as I am aware, that's a vanilla oversight.

  • Like 1
Posted
6 hours ago, V0idWa1k3r said:

Could you please clarify your question? What is your actual issue? What do you want to acheive?

 

Take note that casts the fuel burn time to a short before saving it to the NBT, meaning that the max burn time you can have persist is 32767. As your number is greater than 32767 it will not persist, instead it will be saved as -21023. There is no fix to this issue as far as I am aware, that's a vanilla oversight.

That was my issue it wasn't burning to the value I wanted, is there anyway around it being limited to that value at all? Or is that a hard limit? Thanks for the information too. :)

Posted
1 minute ago, V0idWa1k3r said:

Well, yes. But forge for 1.13 isn't out yet.

Yeah I know, I'll just wait for that to come out and hopefully have the correct values there, thanks for the info man, big time thanks for it. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • seguridad seguridad
    • I am creating a server with mods but when i try tostart it it say in the logs:   [29Jan2025 20:36:50.715] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/fmlcore/1.20.1-47.3.27/fmlcore-1.20.1-47.3.27.jar is missing mods.toml file 159[29Jan2025 20:36:50.717] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.3.27/javafmllanguage-1.20.1-47.3.27.jar 160[29Jan2025 20:36:50.717] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.3.27/javafmllanguage-1.20.1-47.3.27.jar is missing mods.toml file 161[29Jan2025 20:36:50.718] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.3.27/lowcodelanguage-1.20.1-47.3.27.jar 162[29Jan2025 20:36:50.718] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.3.27/lowcodelanguage-1.20.1-47.3.27.jar is missing mods.toml file 163[29Jan2025 20:36:50.719] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/mclanguage/1.20.1-47.3.27/mclanguage-1.20.1-47.3.27.jar 164[29Jan2025 20:36:50.719] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/mclanguage/1.20.1-47.3.27/mclanguage-1.20.1-47.3.27.jar is missing mods.toml file
    • How do you configure the entity reach of a custom weapon? Asking for 1.21 Minecraft parchment
    • This topic is over a year old. If you are having an issue, please read the FAQ for the proper way to post logs, and create your own thread.
    • hello i have been trying to put this specific pack for a while now but ive been hit with a new error everytime. no matter if its a previous version or if i change the pack format it will just not work please help latest log:https://mclo.gs/b6Qra5d <----- this is with pack version 1.20 no changes done to it debug log: https://mclo.gs/jczkfRK
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.