mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Update to 1.17
Update to Official classnames Patchwork Make the game compile and run Merge in the new HUD overlay API Merge in the new render properties API PEEL Use Gradle 7.2 snapshot to fix eclipse integration bug in 7.1, Would use 7.0 but FG needs 7.1 for some reason. New FML installer Update to 1.17.1 Co-authored-by: LexManos <[email protected]> Co-authored-by: SizableShrimp <[email protected]> Co-authored-by: cpw <[email protected]> Co-authored-by: Curle <[email protected]> Co-authored-by: Unnoen <[email protected]> Co-authored-by: covers1624 <[email protected]> Co-authored-by: DaemonUmbra <[email protected]> Co-authored-by: gigaherz <[email protected]> Signed-off-by: SizableShrimp <[email protected]>
This commit is contained in:
1 parent
064ae6961b
commit
be5446b91c
1990 files changed
+35661
-37544
No files matched your search
@@ -22,10 +22,10 @@ package net.minecraftforge.event;
|
||||
import com.google.common.collect.HashMultimap;
|
||||
import com.google.common.collect.Multimaps;
|
||||
import net.minecraftforge.eventbus.api.Event;
|
||||
import net.minecraft.entity.ai.attributes.Attribute;
|
||||
import net.minecraft.entity.ai.attributes.AttributeModifier;
|
||||
import net.minecraft.inventory.EquipmentSlotType;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.entity.ai.attributes.Attribute;
|
||||
import net.minecraft.world.entity.ai.attributes.AttributeModifier;
|
||||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import com.google.common.collect.Multimap;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
@@ -44,13 +44,13 @@ import java.util.Collection;
|
||||
public class ItemAttributeModifierEvent extends Event
|
||||
{
|
||||
private final ItemStack stack;
|
||||
private final EquipmentSlotType slotType;
|
||||
private final EquipmentSlot slotType;
|
||||
private final Multimap<Attribute, AttributeModifier> originalModifiers;
|
||||
private Multimap<Attribute, AttributeModifier> unmodifiableModifiers;
|
||||
@Nullable
|
||||
private Multimap<Attribute, AttributeModifier> modifiableModifiers;
|
||||
|
||||
public ItemAttributeModifierEvent(ItemStack stack, EquipmentSlotType slotType, Multimap<Attribute, AttributeModifier> modifiers)
|
||||
public ItemAttributeModifierEvent(ItemStack stack, EquipmentSlot slotType, Multimap<Attribute, AttributeModifier> modifiers)
|
||||
{
|
||||
this.stack = stack;
|
||||
this.slotType = slotType;
|
||||
@@ -131,7 +131,7 @@ public class ItemAttributeModifierEvent extends Event
|
||||
}
|
||||
|
||||
/** Gets the slot containing this stack */
|
||||
public EquipmentSlotType getSlotType()
|
||||
public EquipmentSlot getSlotType()
|
||||
{
|
||||
return this.slotType;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user