Skip to content

Commit

Permalink
some reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Dec 28, 2023
1 parent d337fa7 commit 5ba9c03
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

public class DisplayCaseBlockEntity extends BCBlockEntity {
/**
* @param pos The position of this BE.
* @param state The state of this BE.
* @param pos The position of this BE.
* @param state The state of this BE.
*/
public DisplayCaseBlockEntity(BlockPos pos, BlockState state) {
super(BCBlockEntities.DISPLAY_CASE.get(), 1, pos, state);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class SwordPedestalBlockEntity extends BCBlockEntity {
private int color = -1;

/**
* @param pos The position of this BE.
* @param state The state of this BE.
* @param pos The position of this BE.
* @param state The state of this BE.
*/
public SwordPedestalBlockEntity(BlockPos pos, BlockState state) {
super(BCBlockEntities.SWORD_PEDESTAL.get(), 1, pos, state);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.math.Axis;
import net.minecraft.client.Minecraft;
import net.minecraft.world.item.ItemStack;

/**
* Utility class holding various helper methods. Kept separate from {@link BCUtil} for classloading reasons.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public ShapedNBTRecipeBuilder showNotification(boolean showNotification) {

@Override
public Item getResult() {
return stack.getItem();
return stack.getItem();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class BCMenuBlockEntity extends BCBlockEntity implements MenuPro
/**
* @param type The {@link BlockEntityType} to use.
* @param containerSize The size of the container.
* @param defaultName The title of the title, shown in GUIs.
* @param defaultName The title of the title, shown in GUIs.
* @param pos The position of this BE.
* @param state The state of this BE.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ColoredDeferredHolder<R, T> element(WoodType type) {
}

/**
* @param type The {@link WoodType} to get the {@link DeferredHolder} for.
* @param type The {@link WoodType} to get the {@link DeferredHolder} for.
* @param color The {@link DyeColor} to get the {@link DeferredHolder} for.
* @return The {@link DeferredHolder} for the given {@link WoodType}.
*/
Expand All @@ -57,7 +57,7 @@ public DeferredHolder<R, T> holder(WoodType type, DyeColor color) {
}

/**
* @param type The {@link WoodType} to get the value of the {@link DeferredHolder} for.
* @param type The {@link WoodType} to get the value of the {@link DeferredHolder} for.
* @param color The {@link DyeColor} to get the value of the {@link DeferredHolder} for.
* @return The value of the {@link DeferredHolder} for the given {@link WoodType}. This is equivalent to calling {@code holder(type).get()}.
*/
Expand All @@ -66,7 +66,7 @@ public T get(WoodType type, DyeColor color) {
}

/**
* @param type The {@link WoodType} to get the id of the {@link DeferredHolder} for.
* @param type The {@link WoodType} to get the id of the {@link DeferredHolder} for.
* @param color The {@link DyeColor} to get the id of the {@link DeferredHolder} for.
* @return The id of the {@link DeferredHolder} for the given {@link WoodType}. This is equivalent to calling {@code holder(type).getId()}.
*/
Expand Down

0 comments on commit 5ba9c03

Please sign in to comment.