mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
* Fix shift-merging tools voiding items fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392> * Change 0-sized ItemStacks into null stacks in crafting station attached slots Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425> * Update buildscript * spotlessApply
40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
package tconstruct.library.tools;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class BowstringMaterial extends CustomMaterial {
|
|
public final float durabilityModifier;
|
|
public final float drawspeedModifier;
|
|
public final float flightSpeedModifier;
|
|
|
|
public BowstringMaterial(
|
|
int materialID,
|
|
int value,
|
|
ItemStack input,
|
|
ItemStack craftingItem,
|
|
float durability,
|
|
float drawspeed,
|
|
float flightspeed,
|
|
int color) {
|
|
super(materialID, value, input, craftingItem, color);
|
|
this.durabilityModifier = durability;
|
|
this.drawspeedModifier = drawspeed;
|
|
this.flightSpeedModifier = flightspeed;
|
|
}
|
|
|
|
@Deprecated
|
|
public BowstringMaterial(
|
|
int materialID,
|
|
int value,
|
|
ItemStack input,
|
|
ItemStack craftingItem,
|
|
float durability,
|
|
float drawspeed,
|
|
float flightspeed) {
|
|
super(materialID, value, input, craftingItem);
|
|
this.durabilityModifier = durability;
|
|
this.drawspeedModifier = drawspeed;
|
|
this.flightSpeedModifier = flightspeed;
|
|
}
|
|
}
|