Skip to content

Commit fb9bc8a

Browse files
committed
Reformatted code.
1 parent 8f86dc8 commit fb9bc8a

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

Common/src/main/java/net/darkhax/bookshelf/api/entity/merchant/trade/VillagerSells.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
import net.minecraft.world.entity.Entity;
44
import net.minecraft.world.entity.npc.VillagerTrades;
5-
import net.minecraft.world.item.Item;
65
import net.minecraft.world.item.ItemStack;
76
import net.minecraft.world.item.Items;
87
import net.minecraft.world.item.trading.MerchantOffer;
98
import net.minecraft.world.level.ItemLike;
10-
import net.minecraft.world.level.block.Block;
119

1210
import java.util.Random;
1311
import java.util.function.Supplier;

Common/src/main/java/net/darkhax/bookshelf/api/registry/RegistryDataProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import net.darkhax.bookshelf.api.commands.ICommandBuilder;
88
import net.darkhax.bookshelf.mixin.item.AccessorItem;
99
import net.minecraft.commands.synchronization.ArgumentSerializer;
10-
import net.minecraft.commands.synchronization.ArgumentTypes;
1110
import net.minecraft.core.Registry;
1211
import net.minecraft.core.particles.ParticleType;
1312
import net.minecraft.sounds.SoundEvent;
@@ -23,7 +22,6 @@
2322
import net.minecraft.world.item.alchemy.Potion;
2423
import net.minecraft.world.item.crafting.RecipeSerializer;
2524
import net.minecraft.world.item.enchantment.Enchantment;
26-
import net.minecraft.world.item.enchantment.EnchantmentHelper;
2725
import net.minecraft.world.level.ItemLike;
2826
import net.minecraft.world.level.block.Block;
2927
import net.minecraft.world.level.block.entity.BlockEntityType;

Common/src/main/java/net/darkhax/bookshelf/api/registry/RegistryEntries.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.mojang.logging.LogUtils;
44
import net.darkhax.bookshelf.api.function.CachedSupplier;
55
import net.darkhax.bookshelf.api.util.MathsHelper;
6-
import net.minecraft.core.Registry;
76
import net.minecraft.resources.ResourceKey;
87
import net.minecraft.resources.ResourceLocation;
98
import org.slf4j.Logger;
@@ -31,7 +30,7 @@ public class RegistryEntries<V> implements IOwnedRegistryEntries<V> {
3130

3231
public RegistryEntries(Supplier<String> idProvider, ResourceKey<?> registryKey) {
3332

34-
this(idProvider, registryKey.registry() + " (" + registryKey.location() + ")") ;
33+
this(idProvider, registryKey.registry() + " (" + registryKey.location() + ")");
3534
}
3635

3736
public RegistryEntries(Supplier<String> idProvider, String name) {

Common/src/main/java/net/darkhax/bookshelf/impl/BookshelfContentProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
package net.darkhax.bookshelf.impl;
22

33
import net.darkhax.bookshelf.Constants;
4-
import net.darkhax.bookshelf.api.entity.merchant.trade.VillagerBuys;
54
import net.darkhax.bookshelf.api.registry.RegistryDataProvider;
65
import net.darkhax.bookshelf.impl.commands.BookshelfCommands;
76
import net.darkhax.bookshelf.impl.commands.args.FontArgument;
8-
import net.minecraft.world.item.Items;
97

108
public class BookshelfContentProvider extends RegistryDataProvider {
119

0 commit comments

Comments
 (0)