All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.parzivail.util.gen.world.WorldGenView Maven / Gradle / Ivy

There is a newer version: 0.0.114+1.20.2
Show newest version
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