17 lines
831 B
Java
17 lines
831 B
Java
package net.minecraft.client.renderer.entity.state;
|
|
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
import net.minecraft.resources.ResourceLocation;
|
|
import net.minecraft.world.entity.AnimationState;
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
public class FrogRenderState extends LivingEntityRenderState {
|
|
private static final ResourceLocation DEFAULT_TEXTURE = ResourceLocation.withDefaultNamespace("textures/entity/frog/temperate_frog.png");
|
|
public boolean isSwimming;
|
|
public final AnimationState jumpAnimationState = new AnimationState();
|
|
public final AnimationState croakAnimationState = new AnimationState();
|
|
public final AnimationState tongueAnimationState = new AnimationState();
|
|
public final AnimationState swimIdleAnimationState = new AnimationState();
|
|
public ResourceLocation texture = DEFAULT_TEXTURE;
|
|
}
|