reloading chunks is not needed when resetting, fixing entities removed.
This commit is contained in:
1 parent
b8082ba5b8
commit
ca59c8f30a
6 files changed
+36
-3
No files matched your search
@@ -1,7 +1,10 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.world.entity.EntityLookup;
|
||||
import net.minecraft.world.level.ServerWorldProperties;
|
||||
|
||||
public interface ServerWorldInterface {
|
||||
ServerWorldProperties getWorldPropertiesCM();
|
||||
EntityLookup<Entity> getEntityLookupCMPublic();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import net.minecraft.util.math.ChunkPos;
|
||||
import net.minecraft.world.entity.EntityLike;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SimpleEntityLookupInterface<T extends EntityLike>
|
||||
{
|
||||
List<T> getChunkEntities(ChunkPos chpos);
|
||||
}
|
||||
Reference in new issue
Block a user