com.parzivail.util.gen.world.WorldGenView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pswg Show documentation
Show all versions of pswg Show documentation
Explore the galaxy with Galaxies: Parzi's Star Wars Mod!
package com.parzivail.util.gen.world;
import net.minecraft.class_1297;
import net.minecraft.class_2338;
import net.minecraft.class_2680;
import net.minecraft.class_2902;
public interface WorldGenView
{
class_2680 getBlockState(class_2338 pos);
int getTopY(class_2902.class_2903 type, int x, int z);
void setBlockState(class_2338 pos, class_2680 state);
void addEntity(class_1297 entity);
default long getSeed() {
return 5000;
}
default boolean isAir(class_2338 pos)
{
return getBlockState(pos).method_26215();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy