Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
fixed crash, fixed plastic storage box texture
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jun 9, 2024
1 parent 4889cbe commit 88c9e7c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
import static io.github.gregtechintergalactical.gtcore.data.GTCoreMaterials.Steeleaf;
import static muramasa.antimatter.data.AntimatterDefaultTools.*;
import static muramasa.antimatter.data.AntimatterMaterialTypes.*;
import static muramasa.antimatter.material.MaterialTags.RUBBERTOOLS;
import static muramasa.antimatter.material.MaterialTags.WOOD;

public class GTCore extends AntimatterMod {
Expand Down Expand Up @@ -100,7 +101,6 @@ public void onRegistrationEvent(RegistrationEvent event, Side side) {
GTCoreMaterials.init();
GTCoreCables.init();
GTCoreTools.init(side);
Guis.init();
RecipeMaps.init();
if (side.isClient()) RecipeMaps.clientMaps();
RubberTree.init();
Expand Down Expand Up @@ -153,6 +153,7 @@ public String getId() {
@Override
public void onMaterialEvent(MaterialEvent event) {
event.setMaterial(GTCoreMaterials.Rubber).asSolid(295, PLATE, RING);
event.setMaterial(Plastic).flags(RUBBERTOOLS);
event.setMaterial(Beeswax).asDust();
event.setMaterial(GTCoreMaterials.FierySteel).asMetal().tool().toolDamage(4).toolSpeed(9).toolDurability(1024).toolQuality(4)
.toolEnchantments(ImmutableMap.of(Enchantments.FIRE_ASPECT, 2)).handleMaterial(AntimatterMaterials.Blaze)
Expand All @@ -176,6 +177,7 @@ public void onMaterialEvent(MaterialEvent event) {
BLOCK.replacement(FierySteel, () -> AntimatterPlatformUtils.getItemFromID("twilightforest", "fiery_block"));
}
GTCoreBlocks.initItemBarrels();
Guis.init();
}

public static void onCrafting(CraftingEvent event){
Expand Down

0 comments on commit 88c9e7c

Please sign in to comment.