Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Make Model Classes Protected and remove a redundant method super call
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Nov 24, 2024
1 parent 2a61593 commit 4029c79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# For 1.20.1 and above Check out Oh The Biomes We've Gone:
# For 1.20.1 and above Check out the Sequel, Oh The Biomes We've Gone:
* CurseForge: https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-weve-gone
* Modrinth: https://modrinth.com/mod/oh-the-biomes-weve-gone

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import software.bernie.geckolib.core.animatable.GeoAnimatable;
import software.bernie.geckolib.model.GeoModel;

public class ManOWarModel<T extends GeoAnimatable> extends GeoModel<T> {
class ManOWarModel<T extends GeoAnimatable> extends GeoModel<T> {

@Override
public ResourceLocation getModelResource(T object) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
import software.bernie.geckolib.constant.DataTickets;
import software.bernie.geckolib.core.animatable.GeoAnimatable;
import software.bernie.geckolib.core.animatable.model.CoreGeoBone;
import software.bernie.geckolib.core.animation.Animation;
import software.bernie.geckolib.core.animation.AnimationState;
import software.bernie.geckolib.model.GeoModel;
import software.bernie.geckolib.model.data.EntityModelData;

public class PumpkinWardenModel<T extends GeoAnimatable> extends GeoModel<T> {
class PumpkinWardenModel<T extends GeoAnimatable> extends GeoModel<T> {

@Override
public ResourceLocation getModelResource(T object) {
Expand All @@ -28,11 +27,6 @@ public ResourceLocation getAnimationResource(T animatable) {
return BYG.createLocation("animations/pumpkinwarden.animation.json");
}

@Override
public Animation getAnimation(T animatable, String name) {
return super.getAnimation(animatable, name);
}

@Override
public void setCustomAnimations(T entity, long uniqueID, AnimationState<T> customPredicate) {
super.setCustomAnimations(entity, uniqueID, customPredicate);
Expand Down

0 comments on commit 4029c79

Please sign in to comment.