mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Terrible class name is still terrible
This commit is contained in:
parent
7878f280e3
commit
b1aef9160d
4 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
package com.minelittlepony.unicopia.entity;
|
||||
|
||||
import com.minelittlepony.unicopia.util.Copieable;
|
||||
import com.minelittlepony.unicopia.util.Copyable;
|
||||
import com.minelittlepony.unicopia.util.Tickable;
|
||||
|
||||
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.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;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.*;
|
|||
import java.util.function.Predicate;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import com.minelittlepony.unicopia.util.Copieable;
|
||||
import com.minelittlepony.unicopia.util.Copyable;
|
||||
import com.minelittlepony.unicopia.util.NbtSerialisable;
|
||||
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
|
@ -15,7 +15,7 @@ import net.minecraft.nbt.NbtCompound;
|
|||
import net.minecraft.util.Identifier;
|
||||
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 SECONDS = 20 * TICKS;
|
||||
public static final long HOURS = 1000 * TICKS;
|
||||
|
|
|
@ -59,7 +59,7 @@ import net.minecraft.util.Hand;
|
|||
import net.minecraft.util.math.*;
|
||||
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);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package com.minelittlepony.unicopia.util;
|
||||
|
||||
public interface Copieable<T extends Copieable<T>> {
|
||||
public interface Copyable<T extends Copyable<T>> {
|
||||
void copyFrom(T other);
|
||||
}
|
Loading…
Reference in a new issue