mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
iggy
This commit is contained in:
1 parent
75e8c22268
commit
a8e46e3590
104 files changed
+6002
-2692
No files matched your search
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Iris is a World Generator for Minecraft Bukkit Servers
|
||||
* Copyright (c) 2026 Arcane Arts (Volmit Software)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package art.arcane.iris.spi;
|
||||
|
||||
/**
|
||||
* Hot-path chunk write surface backed by the fastest native section-write mechanism each adapter offers.
|
||||
*/
|
||||
public interface ChunkWriteTarget {
|
||||
void setBlock(int x, int y, int z, PlatformBlockState state);
|
||||
|
||||
void setBiome(int x, int y, int z, PlatformBiome biome);
|
||||
|
||||
int minHeight();
|
||||
|
||||
int maxHeight();
|
||||
}
|
||||
@@ -32,8 +32,6 @@ public interface IrisPlatform {
|
||||
|
||||
PlatformScheduler scheduler();
|
||||
|
||||
PlatformCapabilities capabilities();
|
||||
|
||||
PlatformStructureHooks structureHooks();
|
||||
|
||||
PlatformBiomeWriter biomeWriter();
|
||||
@@ -72,8 +70,6 @@ public interface IrisPlatform {
|
||||
|
||||
boolean spawnEntity(Object world, String entityKey, double x, double y, double z);
|
||||
|
||||
boolean giveItem(Object player, String itemKey, int amount);
|
||||
|
||||
void log(LogLevel level, String message);
|
||||
|
||||
void msg(String message);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Iris is a World Generator for Minecraft Bukkit Servers
|
||||
* Copyright (c) 2026 Arcane Arts (Volmit Software)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package art.arcane.iris.spi;
|
||||
|
||||
/**
|
||||
* Capability flags describing which optional platform features an adapter supports; all default to unsupported.
|
||||
*/
|
||||
public interface PlatformCapabilities {
|
||||
default boolean customBiomes() {
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean dataPacks() {
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean structurePlacement() {
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean regionizedThreading() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user