mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 13:30:08 +00:00
Resolution Currency
This commit is contained in:
1 parent
65d4abe5c0
commit
4c462ba78a
38 files changed
+702
-424
No files matched your search
@@ -30,6 +30,40 @@ public interface PlatformBlockState {
|
||||
|
||||
boolean isSolid();
|
||||
|
||||
boolean isFluid();
|
||||
|
||||
boolean isWater();
|
||||
|
||||
boolean isWaterLogged();
|
||||
|
||||
boolean isLit();
|
||||
|
||||
boolean isUpdatable();
|
||||
|
||||
boolean isFoliage();
|
||||
|
||||
boolean isFoliagePlantable();
|
||||
|
||||
boolean isDecorant();
|
||||
|
||||
boolean isStorage();
|
||||
|
||||
boolean isStorageChest();
|
||||
|
||||
boolean isOre();
|
||||
|
||||
boolean isDeepSlate();
|
||||
|
||||
boolean isVineBlock();
|
||||
|
||||
boolean canPlaceOnto(PlatformBlockState onto);
|
||||
|
||||
boolean matches(PlatformBlockState state);
|
||||
|
||||
default boolean isAirOrFluid() {
|
||||
return isAir() || isFluid();
|
||||
}
|
||||
|
||||
boolean hasTileEntity();
|
||||
|
||||
PlatformBlockState withProperty(String name, String value);
|
||||
|
||||
@@ -26,6 +26,14 @@ import java.util.List;
|
||||
public interface PlatformRegistries {
|
||||
PlatformBlockState block(String key);
|
||||
|
||||
PlatformBlockState blockOrNull(String key);
|
||||
|
||||
PlatformBlockState blockOrNull(String key, boolean warn);
|
||||
|
||||
PlatformBlockState air();
|
||||
|
||||
PlatformBlockState deepSlateOre(PlatformBlockState block, PlatformBlockState ore);
|
||||
|
||||
PlatformBiome biome(String key);
|
||||
|
||||
PlatformItem item(String key);
|
||||
|
||||
Reference in new issue
Block a user