MinecraftModDevelopmentMods / MoarTinkers

3 stars 8 forks source link

Tungstensteel Not Added as a Material #6

Open OmegaPaladin opened 4 years ago

OmegaPaladin commented 4 years ago

I have Hammer Metals installed, which adds Tungsten and Tungstensteel. However, Tungstensteel is not showing up as a tool material. I figured I would look into the code: ModMaterials.java lines 394-405:

        new MaterialRegistration.MaterialRegistrationBuilder()
                .setIdentifier("tungsten").setColor(0x464659).setTemp(1800)
                .setHead(680, 8.42f, 11.52f, HarvestLevels.COBALT)
                .setHandle(1.73f, 220).setExtra(115)
                .setBow(0.98f, 5.17f, 9.5f)
                .build(),
        new MaterialRegistration.MaterialRegistrationBuilder()
                .setIdentifier("tungsten").setColor(0x464659).setTemp(2100)
                .setHead(1120, 8.97f, 14.53f, HarvestLevels.COBALT)
                .setHandle(2.42f, 320).setExtra(200)
                .setBow(0.65f, 4.12f, 13f)

.build(),

Now, you can see there is are two entries labeled "tungsten" with different stats. I am guessing the one with the higher stats is supposed to be tungstensteel. I would imagine it could work if you changed the identifier. I also changed the color to match Hammer Metals Tungstensteel.

MaterialRegistration.MaterialRegistrationBuilder() .setIdentifier("tungstensteel").setColor(0x214280).setTemp(2100) .setHead(1120, 8.97f, 14.53f, HarvestLevels.COBALT) .setHandle(2.42f, 320).setExtra(200) .setBow(0.65f, 4.12f, 13f) .build(),