-
Notifications
You must be signed in to change notification settings - Fork 8
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
4390dcd
commit d1a1619
Showing
183 changed files
with
2,617 additions
and
24,034 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
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
40 changes: 40 additions & 0 deletions
40
src/main/java/net/splatcraft/forge/client/model/TarpSquidModel.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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package net.splatcraft.forge.client.model;// Made with Blockbench 3.5.4 | ||
// Exported for Minecraft version 1.15 | ||
// Paste this class into your mod and generate all required imports | ||
|
||
|
||
import com.mojang.blaze3d.matrix.MatrixStack; | ||
import com.mojang.blaze3d.vertex.IVertexBuilder; | ||
import net.minecraft.client.renderer.entity.model.EntityModel; | ||
import net.minecraft.client.renderer.model.ModelRenderer; | ||
import net.minecraft.entity.LivingEntity; | ||
|
||
public class TarpSquidModel extends EntityModel<LivingEntity> | ||
{ | ||
private final ModelRenderer bb_main; | ||
|
||
public TarpSquidModel() { | ||
texWidth = 64; | ||
texHeight = 64; | ||
|
||
bb_main = new ModelRenderer(this); | ||
bb_main.setPos(0.0F, 24.0F, 0.0F); | ||
bb_main.texOffs(0, 0).addBox(-8.0F, -1.0F, -8.0F, 16.0F, 1.0F, 16.0F, 0.0F, false); | ||
} | ||
|
||
@Override | ||
public void setupAnim(LivingEntity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){ | ||
//previously the render function, render code was moved to a method below | ||
} | ||
|
||
@Override | ||
public void renderToBuffer(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){ | ||
bb_main.render(matrixStack, buffer, packedLight, packedOverlay, red, green, blue, alpha); | ||
} | ||
|
||
public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) { | ||
modelRenderer.xRot = x; | ||
modelRenderer.yRot = y; | ||
modelRenderer.zRot = z; | ||
} | ||
} |
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
138 changes: 21 additions & 117 deletions
138
src/main/java/net/splatcraft/forge/client/model/subs/CurlingBombModel.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
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.