View build.gradle
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
buildscript { | |
repositories { | |
maven { url = 'https://maven.minecraftforge.net' } | |
mavenCentral() | |
} | |
dependencies { | |
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true | |
classpath group: 'gradle.plugin.com.github.johnrengelman', name: 'shadow', version: '7.1.0' // <- Add shadowing plugin into dependencies | |
} | |
} |
View GeoProjectilesRenderer.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
package mod.azure.doom.client; | |
import java.awt.Color; | |
import com.mojang.blaze3d.matrix.MatrixStack; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.IRenderTypeBuffer; | |
import net.minecraft.client.renderer.RenderType; | |
import net.minecraft.client.renderer.entity.EntityRenderer; |
View crash-2020-12-10_22.46.52-client.txt
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
---- Minecraft Crash Report ---- | |
// Daisy, daisy... | |
Time: 12/10/20 10:46 PM | |
Description: Rendering entity in world | |
java.lang.NullPointerException: Rendering entity in world | |
at net.minecraft.client.render.entity.feature.ArmorFeatureRenderer.handler$zdi000$getArmorTexture(ArmorFeatureRenderer.java:594) | |
at net.minecraft.client.render.entity.feature.ArmorFeatureRenderer.getArmorTexture(ArmorFeatureRenderer.java:104) | |
at net.minecraft.client.render.entity.feature.ArmorFeatureRenderer.renderArmorParts(ArmorFeatureRenderer.java:90) |
View render.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
public class DoomProjectilesRender<T extends AbstractArrowEntity & IAnimatable> extends EntityRenderer | |
implements IGeoRenderer { | |
private final AnimatedGeoModel<T> modelProvider; | |
protected DoomProjectilesRender(EntityRendererManager renderManager, AnimatedGeoModel<T> modelProvider) { | |
super(renderManager); | |
this.modelProvider = modelProvider; | |
} |
View Item rendering on model hand bones in Geckolib 3.0.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
private static final ItemStack chaingun = new ItemStack(DoomItems.CHAINGUN.get()); | |
private IRenderTypeBuffer rtb; | |
private ResourceLocation whTexture; | |
@Override | |
public void renderEarly(ChaingunnerEntity animatable, MatrixStack stackIn, float ticks, | |
IRenderTypeBuffer renderTypeBuffer, IVertexBuilder vertexBuilder, int packedLightIn, int packedOverlayIn, | |
float red, float green, float blue, float partialTicks) { | |
this.rtb = renderTypeBuffer; | |
this.whTexture = this.getTextureLocation(animatable); |
View config.json
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
{ | |
"specificMobs": { | |
"mob_id": { | |
"LOOT_MULTI": 1.0, | |
"EXP_MULTI": 1.0, | |
"MIN_RARITY": 0, | |
"MAX_RARITY": 4, | |
"MIN_LEVEL": 0, | |
"MAX_LEVEL": 2147483647, | |
"LEVEL_TO_NEAREST_PLAYER": false, |
View gist:9264c2c6328bfe134b4a5663c0f3d21a
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
public class LayerFlames extends FeatureRenderer<LostSoulEntity, LostSoulModel<LostSoulEntity>> { | |
private static final Identifier[] TEX = { new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_1.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_2.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_3.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_4.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_5.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_6.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_7.png"), | |
new Identifier(DoomMod.MODID, "textures/entity/lost_soul_fire_8.png") }; |
View gist:66ab2ac2a2f3cf12f7fa715c58ba4488
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
---- Minecraft Crash Report ---- | |
// There are four lights! | |
Time: 9/13/20 8:16 AM | |
Description: Initializing game | |
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'roughlyenoughitems-runtime'! | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:33) |
View gist:c29fddf50f22ce6a887b41df09a4dc5c
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
---- Minecraft Crash Report ---- | |
// You should try our sister game, Minceraft! | |
Time: 9/13/20 8:07 AM | |
Description: Initializing game | |
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'roughlyenoughitems-runtime'! | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) | |
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:33) |
View crash-2020-09-09_19.01.47-client.txt
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
---- Minecraft Crash Report ---- | |
// Why did you do that? | |
Time: 9/9/20 7:01 PM | |
Description: Initializing game | |
java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.util.registry.Registry | |
at net.minecraft.item.ItemStack.lambda$static$3(ItemStack.java:77) ~[forge-1.16.2-33.0.58_mapped_snapshot_20200813-1.16.1-recomp.jar:?] {re:classloading} | |
at com.mojang.serialization.codecs.RecordCodecBuilder.create(RecordCodecBuilder.java:72) ~[datafixerupper-4.0.26.jar:?] {re:classloading} | |
at net.minecraft.item.ItemStack.<clinit>(ItemStack.java:76) ~[forge-1.16.2-33.0.58_mapped_snapshot_20200813-1.16.1-recomp.jar:?] {re:classloading} |
NewerOlder