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:
authored and Curle committed 2021-07-22 19:57:02 +01:00
1 parent 064ae6961b
commit be5446b91c
1990 files changed
+35661 -37544

No files matched your search

@@ -19,10 +19,8 @@
package net.minecraftforge.event;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.util.text.ITextComponent;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.network.chat.Component;
import net.minecraftforge.eventbus.api.Cancelable;
/**
@@ -46,9 +44,9 @@ import net.minecraftforge.eventbus.api.Cancelable;
public class ServerChatEvent extends net.minecraftforge.eventbus.api.Event
{
private final String message, username;
private final ServerPlayerEntity player;
private ITextComponent component;
public ServerChatEvent(ServerPlayerEntity player, String message, ITextComponent component)
private final ServerPlayer player;
private Component component;
public ServerChatEvent(ServerPlayer player, String message, Component component)
{
super();
this.message = message;
@@ -57,17 +55,17 @@ public class ServerChatEvent extends net.minecraftforge.eventbus.api.Event
this.component = component;
}
public void setComponent(ITextComponent e)
public void setComponent(Component e)
{
this.component = e;
}
public ITextComponent getComponent()
public Component getComponent()
{
return this.component;
}
public String getMessage() { return this.message; }
public String getUsername() { return this.username; }
public ServerPlayerEntity getPlayer() { return this.player; }
public ServerPlayer getPlayer() { return this.player; }
}