This commit is contained in:
parent
73d90bb2ff
commit
484429ed23
|
@ -8,11 +8,14 @@ import io.github.prospector.modmenu.api.ConfigScreenFactory;
|
|||
import io.github.prospector.modmenu.api.ModMenuApi;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
|
||||
import net.fabricmc.api.ClientModInitializer;
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry;
|
||||
import net.minecraft.client.gui.screen.Screen;
|
||||
import net.minecraft.client.render.entity.FlyingItemEntityRenderer;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@Environment(EnvType.CLIENT)
|
||||
public class SlightlyVanillaClient implements ClientModInitializer, ModMenuApi {
|
||||
@Override
|
||||
public void onInitializeClient() {
|
||||
|
|
|
@ -15,6 +15,7 @@ import net.minecraft.particle.ParticleTypes;
|
|||
import net.minecraft.util.hit.HitResult;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class SlimeballEntity extends ThrownItemEntity {
|
||||
public SlimeballEntity(EntityType<SlimeballEntity> entityType, World world) {
|
||||
super(entityType, world);
|
||||
|
@ -28,6 +29,10 @@ public class SlimeballEntity extends ThrownItemEntity {
|
|||
super(SlightlyVanilla.SLIMEBALL_ENTITY, x, y, z, world);
|
||||
}
|
||||
|
||||
public SlimeballEntity(World world) {
|
||||
super(SlightlyVanilla.SLIMEBALL_ENTITY, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Item getDefaultItem() {
|
||||
return Items.SLIME_BALL;
|
||||
|
|
|
@ -18,6 +18,7 @@ import net.minecraft.particle.ParticleTypes;
|
|||
import net.minecraft.util.hit.HitResult;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class SpawnEggEntity extends ThrownItemEntity {
|
||||
public SpawnEggEntity(EntityType<SpawnEggEntity> entityType, World world) {
|
||||
super(entityType, world);
|
||||
|
@ -31,6 +32,10 @@ public class SpawnEggEntity extends ThrownItemEntity {
|
|||
super(SlightlyVanilla.SPAWN_EGG_ENTITY, x, y, z, world);
|
||||
}
|
||||
|
||||
public SpawnEggEntity(World world) {
|
||||
super(SlightlyVanilla.SPAWN_EGG_ENTITY, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Item getDefaultItem() {
|
||||
return Items.PIG_SPAWN_EGG;
|
||||
|
|
Reference in New Issue
Block a user