Terrible class name is still terrible

This commit is contained in:
Sollace 2022-12-10 00:22:24 +00:00
parent 7878f280e3
commit b1aef9160d
4 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
package com.minelittlepony.unicopia.entity; package com.minelittlepony.unicopia.entity;
import com.minelittlepony.unicopia.util.Copieable; import com.minelittlepony.unicopia.util.Copyable;
import com.minelittlepony.unicopia.util.Tickable; import com.minelittlepony.unicopia.util.Tickable;
import net.minecraft.block.BlockRenderType; import net.minecraft.block.BlockRenderType;
@ -19,7 +19,7 @@ import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3d; import net.minecraft.util.math.Vec3d;
public class EntityPhysics<T extends Entity> implements Physics, Copieable<EntityPhysics<T>>, Tickable { public class EntityPhysics<T extends Entity> implements Physics, Copyable<EntityPhysics<T>>, Tickable {
private final TrackedData<Float> gravity; private final TrackedData<Float> gravity;

View file

@ -4,7 +4,7 @@ import java.util.*;
import java.util.function.Predicate; import java.util.function.Predicate;
import java.util.stream.Stream; import java.util.stream.Stream;
import com.minelittlepony.unicopia.util.Copieable; import com.minelittlepony.unicopia.util.Copyable;
import com.minelittlepony.unicopia.util.NbtSerialisable; import com.minelittlepony.unicopia.util.NbtSerialisable;
import net.minecraft.entity.LivingEntity; import net.minecraft.entity.LivingEntity;
@ -15,7 +15,7 @@ import net.minecraft.nbt.NbtCompound;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
public class ItemTracker implements NbtSerialisable, Copieable<ItemTracker> { public class ItemTracker implements NbtSerialisable, Copyable<ItemTracker> {
public static final long TICKS = 1; public static final long TICKS = 1;
public static final long SECONDS = 20 * TICKS; public static final long SECONDS = 20 * TICKS;
public static final long HOURS = 1000 * TICKS; public static final long HOURS = 1000 * TICKS;

View file

@ -59,7 +59,7 @@ import net.minecraft.util.Hand;
import net.minecraft.util.math.*; import net.minecraft.util.math.*;
import net.minecraft.world.GameMode; import net.minecraft.world.GameMode;
public class Pony extends Living<PlayerEntity> implements Copieable<Pony>, UpdateCallback { public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, UpdateCallback {
private static final TrackedData<String> RACE = DataTracker.registerData(PlayerEntity.class, TrackedDataHandlerRegistry.STRING); private static final TrackedData<String> RACE = DataTracker.registerData(PlayerEntity.class, TrackedDataHandlerRegistry.STRING);

View file

@ -1,5 +1,5 @@
package com.minelittlepony.unicopia.util; package com.minelittlepony.unicopia.util;
public interface Copieable<T extends Copieable<T>> { public interface Copyable<T extends Copyable<T>> {
void copyFrom(T other); void copyFrom(T other);
} }