-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
612730b
commit e2ef8dc
Showing
56 changed files
with
1,487 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 16 additions & 19 deletions
35
src/main/java/com/mmodding/echoes_of_gravity/client/EchoesOfGravityClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,41 @@ | ||
package com.mmodding.echoes_of_gravity.client; | ||
|
||
import com.mmodding.echoes_of_gravity.client.entities.renderers.OldDragonLightningRenderer; | ||
import com.mmodding.echoes_of_gravity.client.init.ClientPacketReceivers; | ||
import com.mmodding.echoes_of_gravity.client.init.SkyRenderers; | ||
import com.mmodding.echoes_of_gravity.client.init.EOGClientPacketReceivers; | ||
import com.mmodding.echoes_of_gravity.client.init.EOGEntityRenderers; | ||
import com.mmodding.echoes_of_gravity.client.init.EOGModelEntityLayers; | ||
import com.mmodding.echoes_of_gravity.client.init.EOGSkyRenderers; | ||
import com.mmodding.echoes_of_gravity.init.EOGBlocks; | ||
import com.mmodding.echoes_of_gravity.init.EOGEntities; | ||
import com.mmodding.mmodding_lib.library.base.AdvancedModContainer; | ||
import com.mmodding.mmodding_lib.library.base.MModdingClientModInitializer; | ||
import com.mmodding.mmodding_lib.library.config.Config; | ||
import com.mmodding.mmodding_lib.library.initializers.ClientElementsInitializer; | ||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry; | ||
import org.jetbrains.annotations.Nullable; | ||
import org.quiltmc.loader.api.ModContainer; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Environment(EnvType.CLIENT) | ||
public class EchoesOfGravityClient implements MModdingClientModInitializer { | ||
|
||
@Override | ||
public List<ClientElementsInitializer> getClientElementsInitializers() { | ||
List<ClientElementsInitializer> clientInitializers = new ArrayList<>(); | ||
clientInitializers.add(new EOGBlocks()); | ||
clientInitializers.add(new ClientPacketReceivers()); | ||
clientInitializers.add(new SkyRenderers()); | ||
return clientInitializers; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public Config getClientConfig() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public void onInitializeClient(ModContainer modContainer) { | ||
MModdingClientModInitializer.super.onInitializeClient(modContainer); | ||
|
||
EntityRendererRegistry.register(EOGEntities.OLD_DRAGON_LIGHTNING, OldDragonLightningRenderer::new); | ||
public List<ClientElementsInitializer> getClientElementsInitializers() { | ||
List<ClientElementsInitializer> clientInitializers = new ArrayList<>(); | ||
clientInitializers.add(new EOGBlocks()); | ||
clientInitializers.add(new EOGClientPacketReceivers()); | ||
clientInitializers.add(new EOGModelEntityLayers()); | ||
clientInitializers.add(new EOGEntityRenderers()); | ||
clientInitializers.add(new EOGSkyRenderers()); | ||
return clientInitializers; | ||
} | ||
|
||
@Override | ||
public void onInitializeClient(AdvancedModContainer mod) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.