diff --git a/src/main/java/quimufu/colourful_portals/config/ColourfulPortalConfig.java b/src/main/java/quimufu/colourful_portals/config/ColourfulPortalConfig.java index 5157703..8de123d 100644 --- a/src/main/java/quimufu/colourful_portals/config/ColourfulPortalConfig.java +++ b/src/main/java/quimufu/colourful_portals/config/ColourfulPortalConfig.java @@ -8,7 +8,7 @@ import de.siphalor.tweed4.config.ConfigEnvironment; import de.siphalor.tweed4.config.ConfigScope; //import de.siphalor.tweed4.tailor.cloth.ClothData; import net.minecraft.util.DyeColor; -import quimufu.colourful_portals.ColourfulPortalsMod; +//import quimufu.colourful_portals.ColourfulPortalsMod; import java.util.Map; diff --git a/src/main/java/quimufu/colourful_portals/mixin/BlockChangeMixin.java b/src/main/java/quimufu/colourful_portals/mixin/BlockChangeMixin.java index 449b979..32b809c 100644 --- a/src/main/java/quimufu/colourful_portals/mixin/BlockChangeMixin.java +++ b/src/main/java/quimufu/colourful_portals/mixin/BlockChangeMixin.java @@ -9,7 +9,6 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import quimufu.colourful_portals.ColourfulPortalsMod; import quimufu.colourful_portals.portal.PortalManager; import static quimufu.colourful_portals.ColourfulPortalsMod.LOGGER; diff --git a/src/main/java/quimufu/colourful_portals/portal_fluid/PortalFluidBlock.java b/src/main/java/quimufu/colourful_portals/portal_fluid/PortalFluidBlock.java index deff532..fd6586e 100644 --- a/src/main/java/quimufu/colourful_portals/portal_fluid/PortalFluidBlock.java +++ b/src/main/java/quimufu/colourful_portals/portal_fluid/PortalFluidBlock.java @@ -2,11 +2,9 @@ package quimufu.colourful_portals.portal_fluid; import net.minecraft.block.*; import net.minecraft.entity.ai.pathing.NavigationType; -import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; -import net.minecraft.loot.context.LootContext; import net.minecraft.loot.context.LootContextParameterSet; import net.minecraft.server.world.ServerWorld; import net.minecraft.sound.SoundEvent; @@ -20,7 +18,6 @@ import net.minecraft.util.shape.VoxelShapes; import net.minecraft.world.BlockView; import net.minecraft.world.World; import net.minecraft.world.WorldAccess; -import quimufu.colourful_portals.ColourfulPortalsMod; import java.util.Collections; import java.util.List; diff --git a/src/main/java/quimufu/colourful_portals/util/Pair.java b/src/main/java/quimufu/colourful_portals/util/Pair.java index 90a63d2..40e3a6e 100644 --- a/src/main/java/quimufu/colourful_portals/util/Pair.java +++ b/src/main/java/quimufu/colourful_portals/util/Pair.java @@ -1,20 +1,19 @@ package quimufu.colourful_portals.util; -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - import java.util.Objects; public class Pair { public final A first; public final B second; + public Pair(A first, B second) { this.first = first; this.second = second; } - public static Pair of(A first, B second) { - return new Pair<>(first,second); + + public static Pair of(A first, B second) { + return new Pair<>(first, second); } @Override