mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
1.20.6 Initial Update
New Decompiler Runtime Official mappings ItemStacks arnt Capability providers anymore, use Vanilla's system. Co-authored-by: RealMangoRage <[email protected]> Co-authored-by: Paint_Ninja <[email protected]>
This commit is contained in:
1114 files changed
+24245
-28536
No files matched your search
@@ -19,24 +19,20 @@ import net.minecraftforge.eventbus.api.Event;
|
||||
* <br>
|
||||
* This event is fired on the {@link MinecraftForge#EVENT_BUS}.
|
||||
**/
|
||||
public class DifficultyChangeEvent extends Event
|
||||
{
|
||||
public class DifficultyChangeEvent extends Event {
|
||||
private final Difficulty difficulty;
|
||||
private final Difficulty oldDifficulty;
|
||||
|
||||
public DifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty)
|
||||
{
|
||||
public DifficultyChangeEvent(Difficulty difficulty, Difficulty oldDifficulty) {
|
||||
this.difficulty = difficulty;
|
||||
this.oldDifficulty = oldDifficulty;
|
||||
}
|
||||
|
||||
public Difficulty getDifficulty()
|
||||
{
|
||||
public Difficulty getDifficulty() {
|
||||
return difficulty;
|
||||
}
|
||||
|
||||
public Difficulty getOldDifficulty()
|
||||
{
|
||||
public Difficulty getOldDifficulty() {
|
||||
return oldDifficulty;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user