Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed May 9, 2024
1 parent 24f31ff commit 85719be
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
import java.util.function.BiConsumer;
import java.util.function.Supplier;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.itemgroup.ItemGroup;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;

public class FabricItemGroup extends ItemGroup {
private final Supplier<ItemStack> itemSupplier;
private final BiConsumer<List<ItemStack>, ItemGroup> stacksForDisplay;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
/*
* Copyright (c) 2020 - 2024 Legacy Fabric
* Copyright (c) 2016 - 2022 FabricMC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package net.legacyfabric.fabric.mixin.item.group.client;

import net.legacyfabric.fabric.impl.item.group.ScreenAccessor;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

import net.minecraft.client.gui.screen.ingame.HandledScreen;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import net.legacyfabric.fabric.impl.item.group.ScreenAccessor;

@Mixin(HandledScreen.class)
public abstract class HandledScreenMixin implements ScreenAccessor {
Expand Down

0 comments on commit 85719be

Please sign in to comment.