Page 1 of 1
Weird facts I want to know
Posted: Wed Mar 27, 2024 12:30 pm
by SforzandoCF
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
Posted: Wed Mar 27, 2024 11:31 pm
by EpicAaron
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.
Re: Weird facts I want to know
Posted: Wed Mar 27, 2024 11:53 pm
by EpicAaron
I took a look. Here is the constructor for primitive fire starters:
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 );
}
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.
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");