-
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.
Start of FlounderFest rewards and fish upgrades
FEAT: Started work on FlounderFest reward system REFACTOR: Increased the size and hitboxes of many fish to make them slightly easier to hit, but also way more scary LOl
- Loading branch information
1 parent
9927efe
commit db68b99
Showing
11 changed files
with
115 additions
and
25 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
15 changes: 15 additions & 0 deletions
15
src/main/java/net/superkat/flutterandflounder/entity/client/cod/ChillCodRenderer.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,11 +1,26 @@ | ||
package net.superkat.flutterandflounder.entity.client.cod; | ||
|
||
import net.minecraft.client.render.entity.EntityRendererFactory; | ||
import net.minecraft.client.util.math.MatrixStack; | ||
import net.superkat.flutterandflounder.entity.custom.cod.ChillCodEntity; | ||
import software.bernie.geckolib.cache.object.BakedGeoModel; | ||
import software.bernie.geckolib.renderer.GeoEntityRenderer; | ||
|
||
public class ChillCodRenderer extends GeoEntityRenderer<ChillCodEntity> { | ||
public ChillCodRenderer(EntityRendererFactory.Context renderManager) { | ||
super(renderManager, new ChillCodModel()); | ||
} | ||
|
||
// @Override | ||
// public void render(ChillCodEntity entity, float entityYaw, float partialTick, MatrixStack poseStack, VertexConsumerProvider bufferSource, int packedLight) { | ||
// poseStack.scale(1.2f, 1.2f, 1.2f); | ||
// super.render(entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); | ||
// } | ||
|
||
|
||
@Override | ||
public void scaleModelForRender(float widthScale, float heightScale, MatrixStack poseStack, ChillCodEntity animatable, BakedGeoModel model, boolean isReRender, float partialTick, int packedLight, int packedOverlay) { | ||
poseStack.scale(1.2f, 1.2f,1.2f); | ||
super.scaleModelForRender(widthScale, heightScale, poseStack, animatable, model, isReRender, partialTick, packedLight, packedOverlay); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/net/superkat/flutterandflounder/entity/client/cod/ClownCodRenderer.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,11 +1,25 @@ | ||
package net.superkat.flutterandflounder.entity.client.cod; | ||
|
||
import net.minecraft.client.render.entity.EntityRendererFactory; | ||
import net.minecraft.client.util.math.MatrixStack; | ||
import net.superkat.flutterandflounder.entity.custom.cod.ClownCodEntity; | ||
import software.bernie.geckolib.cache.object.BakedGeoModel; | ||
import software.bernie.geckolib.renderer.GeoEntityRenderer; | ||
|
||
public class ClownCodRenderer extends GeoEntityRenderer<ClownCodEntity> { | ||
public ClownCodRenderer(EntityRendererFactory.Context renderManager) { | ||
super(renderManager, new ClownCodModel()); | ||
} | ||
// @Override | ||
// public void render(ClownCodEntity entity, float entityYaw, float partialTick, MatrixStack poseStack, VertexConsumerProvider bufferSource, int packedLight) { | ||
// poseStack.scale(2f, 2f, 2f); | ||
// super.render(entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); | ||
// } | ||
|
||
|
||
@Override | ||
public void scaleModelForRender(float widthScale, float heightScale, MatrixStack poseStack, ClownCodEntity animatable, BakedGeoModel model, boolean isReRender, float partialTick, int packedLight, int packedOverlay) { | ||
poseStack.scale(2f, 2f, 2f); | ||
super.scaleModelForRender(widthScale, heightScale, poseStack, animatable, model, isReRender, partialTick, packedLight, packedOverlay); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/net/superkat/flutterandflounder/entity/client/salmon/SalmonSniperRenderer.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,11 +1,25 @@ | ||
package net.superkat.flutterandflounder.entity.client.salmon; | ||
|
||
import net.minecraft.client.render.entity.EntityRendererFactory; | ||
import net.minecraft.client.util.math.MatrixStack; | ||
import net.superkat.flutterandflounder.entity.custom.salmon.SalmonSniperEntity; | ||
import software.bernie.geckolib.cache.object.BakedGeoModel; | ||
import software.bernie.geckolib.renderer.GeoEntityRenderer; | ||
|
||
public class SalmonSniperRenderer extends GeoEntityRenderer<SalmonSniperEntity> { | ||
public SalmonSniperRenderer(EntityRendererFactory.Context renderManager) { | ||
super(renderManager, new SalmonSniperModel()); | ||
} | ||
// @Override | ||
// public void render(SalmonSniperEntity entity, float entityYaw, float partialTick, MatrixStack poseStack, VertexConsumerProvider bufferSource, int packedLight) { | ||
// poseStack.scale(2f, 2f, 2f); | ||
// super.render(entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); | ||
// } | ||
|
||
|
||
@Override | ||
public void scaleModelForRender(float widthScale, float heightScale, MatrixStack poseStack, SalmonSniperEntity animatable, BakedGeoModel model, boolean isReRender, float partialTick, int packedLight, int packedOverlay) { | ||
poseStack.scale(2f, 2f, 2f); | ||
super.scaleModelForRender(widthScale, heightScale, poseStack, animatable, model, isReRender, partialTick, packedLight, packedOverlay); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...main/java/net/superkat/flutterandflounder/entity/client/salmon/WhackerSalmonRenderer.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,11 +1,19 @@ | ||
package net.superkat.flutterandflounder.entity.client.salmon; | ||
|
||
import net.minecraft.client.render.entity.EntityRendererFactory; | ||
import net.minecraft.client.util.math.MatrixStack; | ||
import net.superkat.flutterandflounder.entity.custom.salmon.WhackerSalmonEntity; | ||
import software.bernie.geckolib.cache.object.BakedGeoModel; | ||
import software.bernie.geckolib.renderer.GeoEntityRenderer; | ||
|
||
public class WhackerSalmonRenderer extends GeoEntityRenderer<WhackerSalmonEntity> { | ||
public WhackerSalmonRenderer(EntityRendererFactory.Context renderManager) { | ||
super(renderManager, new WhackerSalmonModel()); | ||
} | ||
|
||
@Override | ||
public void scaleModelForRender(float widthScale, float heightScale, MatrixStack poseStack, WhackerSalmonEntity animatable, BakedGeoModel model, boolean isReRender, float partialTick, int packedLight, int packedOverlay) { | ||
poseStack.scale(2f, 2f, 2f); | ||
super.scaleModelForRender(widthScale, heightScale, poseStack, animatable, model, isReRender, partialTick, packedLight, packedOverlay); | ||
} | ||
} |
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
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