Skip to content

Commit

Permalink
Wood Recipes and Boats (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
screret committed Sep 24, 2024
1 parent f5868e8 commit 78b1360
Show file tree
Hide file tree
Showing 18 changed files with 64 additions and 451 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
12 changes: 0 additions & 12 deletions src/main/java/com/gregtechceu/gtceu/client/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.gregtechceu.gtceu.api.worldgen.bedrockfluid.BedrockFluidDefinition;
import com.gregtechceu.gtceu.api.worldgen.bedrockore.BedrockOreDefinition;
import com.gregtechceu.gtceu.client.particle.HazardParticle;
import com.gregtechceu.gtceu.client.renderer.entity.GTBoatRenderer;
import com.gregtechceu.gtceu.client.renderer.entity.GTExplosiveRenderer;
import com.gregtechceu.gtceu.client.renderer.item.GTItemBarRenderer;
import com.gregtechceu.gtceu.data.blockentity.GTBlockEntities;
Expand All @@ -21,8 +20,6 @@
import com.lowdragmc.lowdraglib.gui.compass.CompassManager;
import com.lowdragmc.lowdraglib.gui.compass.component.RecipeComponent;

import net.minecraft.client.model.BoatModel;
import net.minecraft.client.model.ChestBoatModel;
import net.minecraft.client.renderer.blockentity.HangingSignRenderer;
import net.minecraft.client.renderer.blockentity.SignRenderer;
import net.minecraft.client.renderer.entity.ThrownItemRenderer;
Expand Down Expand Up @@ -71,15 +68,6 @@ public static void onRegisterEntityRenderers(EntityRenderersEvent.RegisterRender

event.registerBlockEntityRenderer(GTBlockEntities.GT_SIGN.get(), SignRenderer::new);
event.registerBlockEntityRenderer(GTBlockEntities.GT_HANGING_SIGN.get(), HangingSignRenderer::new);

event.registerEntityRenderer(GTEntityTypes.BOAT.get(), c -> new GTBoatRenderer(c, false));
event.registerEntityRenderer(GTEntityTypes.CHEST_BOAT.get(), c -> new GTBoatRenderer(c, true));

for (var type : GTBoat.BoatType.values()) {
ForgeHooksClient.registerLayerDefinition(GTBoatRenderer.getBoatModelName(type), BoatModel::createBodyModel);
ForgeHooksClient.registerLayerDefinition(GTBoatRenderer.getChestBoatModelName(type),
ChestBoatModel::createBodyModel);
}
}

public static void onRegisterItemDecorations(RegisterItemDecorationsEvent event) {
Expand Down

This file was deleted.

123 changes: 0 additions & 123 deletions src/main/java/com/gregtechceu/gtceu/common/entity/GTBoat.java

This file was deleted.

71 changes: 0 additions & 71 deletions src/main/java/com/gregtechceu/gtceu/common/entity/GTChestBoat.java

This file was deleted.

91 changes: 0 additions & 91 deletions src/main/java/com/gregtechceu/gtceu/common/item/GTBoatItem.java

This file was deleted.

Loading

0 comments on commit 78b1360

Please sign in to comment.