Weird facts I want to know
-
- Posts: 1
- Joined: Wed Mar 27, 2024 12:22 pm
Weird facts I want to know
I'm working on a BTW version for Minecraft 1.19.2 (Forge/Fabric), and I wanted to know some weird things. First of all, the wiki doesn't say how much durability the firestarters have. Does anyone know?
Re: Weird facts I want to know
The wiki is getting pretty darn good!
https://wiki.btwce.com/index.php?title=Firestarter
If you need specific data from the code, someone on the discord may be willing to look into that for you.
https://wiki.btwce.com/index.php?title=Firestarter
If you need specific data from the code, someone on the discord may be willing to look into that for you.
Re: Weird facts I want to know
I took a look. Here is the constructor for primitive fire starters:
And here is the bow drill and plow being created. Second int is uses, and then MaxChance and IncreasePerUse determine about how long you have to go before getting a fire going.
Spoiler
Show
Code: Select all
public FCItemFireStarterPrimitive( int iItemID, int iMaxUses, float fExhaustionPerUse, float fBaseChance, float fMaxChance, float fChanceIncreasePerUse )
{
super( iItemID, iMaxUses, fExhaustionPerUse );
m_fBaseChance = fBaseChance;
m_fMaxChance = fMaxChance;
m_fChanceIncreasePerUse = fChanceIncreasePerUse;
SetBuoyant();
SetFurnaceBurnTime( FCEnumFurnaceBurnTime.SHAFT );
}
Spoiler
Show
Code: Select all
fcItemFireStarterSticks = new FCItemFireStarterPrimitive(
parseID("fcItemFireStarterSticksID"), 250, 0.05F, -0.1F, 0.1F, 0.001F).
SetFilterableProperties(Item.m_iFilterable_Narrow).
setUnlocalizedName("fcItemFireStarterSticks");
fcItemFireStarterBow = new FCItemFireStarterPrimitive(parseID("fcItemFireStarterBowID"),
250, 0.025F, -0.1F, 0.1F, 0.004F).setUnlocalizedName("fcItemFireStarterBow");
BTW Community Server Discord: https://discord.gg/arZpuYW
Spoiler
Show