fix imports

This commit is contained in:
QuImUfu 2023-06-27 23:48:33 +02:00
parent 82007f627f
commit 265d71ae67
4 changed files with 5 additions and 10 deletions

View File

@ -8,7 +8,7 @@ import de.siphalor.tweed4.config.ConfigEnvironment;
import de.siphalor.tweed4.config.ConfigScope; import de.siphalor.tweed4.config.ConfigScope;
//import de.siphalor.tweed4.tailor.cloth.ClothData; //import de.siphalor.tweed4.tailor.cloth.ClothData;
import net.minecraft.util.DyeColor; import net.minecraft.util.DyeColor;
import quimufu.colourful_portals.ColourfulPortalsMod; //import quimufu.colourful_portals.ColourfulPortalsMod;
import java.util.Map; import java.util.Map;

View File

@ -9,7 +9,6 @@ import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import quimufu.colourful_portals.ColourfulPortalsMod;
import quimufu.colourful_portals.portal.PortalManager; import quimufu.colourful_portals.portal.PortalManager;
import static quimufu.colourful_portals.ColourfulPortalsMod.LOGGER; import static quimufu.colourful_portals.ColourfulPortalsMod.LOGGER;

View File

@ -2,11 +2,9 @@ package quimufu.colourful_portals.portal_fluid;
import net.minecraft.block.*; import net.minecraft.block.*;
import net.minecraft.entity.ai.pathing.NavigationType; import net.minecraft.entity.ai.pathing.NavigationType;
import net.minecraft.fluid.Fluid;
import net.minecraft.fluid.FluidState; import net.minecraft.fluid.FluidState;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.item.Items; import net.minecraft.item.Items;
import net.minecraft.loot.context.LootContext;
import net.minecraft.loot.context.LootContextParameterSet; import net.minecraft.loot.context.LootContextParameterSet;
import net.minecraft.server.world.ServerWorld; import net.minecraft.server.world.ServerWorld;
import net.minecraft.sound.SoundEvent; import net.minecraft.sound.SoundEvent;
@ -20,7 +18,6 @@ import net.minecraft.util.shape.VoxelShapes;
import net.minecraft.world.BlockView; import net.minecraft.world.BlockView;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraft.world.WorldAccess; import net.minecraft.world.WorldAccess;
import quimufu.colourful_portals.ColourfulPortalsMod;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;

View File

@ -1,18 +1,17 @@
package quimufu.colourful_portals.util; package quimufu.colourful_portals.util;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.Objects; import java.util.Objects;
public class Pair<A, B> { public class Pair<A, B> {
public final A first; public final A first;
public final B second; public final B second;
public Pair(A first, B second) { public Pair(A first, B second) {
this.first = first; this.first = first;
this.second = second; this.second = second;
} }
public static <A, B> Pair<A, B> of(A first, B second) { public static <A, B> Pair<A, B> of(A first, B second) {
return new Pair<>(first, second); return new Pair<>(first, second);
} }