-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not booting yet, required record related updates from modlauncher
- Loading branch information
Showing
115 changed files
with
741 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...ght-common/src/main/java/io/izzel/arclight/common/bridge/core/world/TeleporterBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
package io.izzel.arclight.common.bridge.core.world; | ||
|
||
import java.util.Optional; | ||
import net.minecraft.BlockUtil; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.core.Direction; | ||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.level.border.WorldBorder; | ||
|
||
import java.util.Optional; | ||
|
||
public interface TeleporterBridge { | ||
|
||
Optional<BlockUtil.FoundRectangle> bridge$findPortal(BlockPos pos, int searchRadius); | ||
Optional<BlockUtil.FoundRectangle> bridge$findPortal(BlockPos pos, WorldBorder worldborder, int searchRadius); | ||
|
||
Optional<BlockUtil.FoundRectangle> bridge$createPortal(BlockPos pos, Direction.Axis axis, Entity entity, int createRadius); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...mon/src/main/java/io/izzel/arclight/common/bridge/core/world/chunk/ChunkAccessBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.izzel.arclight.common.bridge.core.world.chunk; | ||
|
||
import org.bukkit.persistence.PersistentDataContainer; | ||
|
||
public interface ChunkAccessBridge { | ||
|
||
PersistentDataContainer bridge$getPersistentDataContainer(); | ||
} |
8 changes: 8 additions & 0 deletions
8
...c/main/java/io/izzel/arclight/common/bridge/core/world/chunk/LevelChunkSectionBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.izzel.arclight.common.bridge.core.world.chunk; | ||
|
||
import net.minecraft.world.level.biome.Biome; | ||
|
||
public interface LevelChunkSectionBridge { | ||
|
||
void bridge$setBiome(int x, int y, int z, Biome biome); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../main/java/io/izzel/arclight/common/bridge/core/world/storage/DerivedWorldInfoBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package io.izzel.arclight.common.bridge.core.world.storage; | ||
|
||
import net.minecraft.resources.ResourceKey; | ||
import net.minecraft.world.level.dimension.DimensionType; | ||
import net.minecraft.world.level.dimension.LevelStem; | ||
import net.minecraft.world.level.storage.ServerLevelData; | ||
|
||
public interface DerivedWorldInfoBridge { | ||
|
||
ServerLevelData bridge$getDelegate(); | ||
|
||
void bridge$setDimType(ResourceKey<DimensionType> typeKey); | ||
void bridge$setDimType(ResourceKey<LevelStem> typeKey); | ||
} |
9 changes: 6 additions & 3 deletions
9
.../core/world/storage/SaveFormatBridge.java → ...rld/storage/LevelStorageSourceBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
package io.izzel.arclight.common.bridge.core.world.storage; | ||
|
||
import java.io.IOException; | ||
import net.minecraft.resources.ResourceKey; | ||
import net.minecraft.world.level.dimension.LevelStem; | ||
import net.minecraft.world.level.storage.LevelStorageSource; | ||
|
||
public interface SaveFormatBridge { | ||
import java.io.IOException; | ||
|
||
public interface LevelStorageSourceBridge { | ||
|
||
LevelStorageSource.LevelStorageAccess bridge$getLevelSave(String saveName, ResourceKey<LevelStem> world) throws IOException; | ||
|
||
interface LevelSaveBridge { | ||
interface LevelStorageAccessBridge { | ||
|
||
void bridge$setDimType(ResourceKey<LevelStem> typeKey); | ||
|
||
ResourceKey<LevelStem> bridge$getTypeKey(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.