mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
Batch 6 part 1: one bottom-Y name, no silently-wrong defaults, geometry package, blocks
Finding 43: PackWorld.minHeight(), PlatformStart.bottomY() and StructureFit.bottomY() become minWorldY(), the name TerrainSampler already used, and none of them has a default. FeatureSettings.declaredBy, TerrainSampler.surfaceBlock/upperDimension and BlockRegistry.oreFor lose defaults that answered wrong for a host that forgot them. BlockBox, BlockPosition and BlockFace move to com.volmit.geometry. Finding 44: BlockRegistry keeps resolve(BlockSpec) and adds find(key), which is empty for a block the platform lacks; resolve(String) and resolve(BlockState) go. BlockTrait drops INVENTORY, BLOCK_ENTITY and NEEDS_UPDATE, which nothing asked; BlockAccess.is answers every trait. GenerationContext.hunk(Class) becomes blocks().
This commit is contained in:
1 parent
9473c827fe
commit
05f621d82d
63 files changed
+187
-143
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package com.volmit.object;
|
||||
|
||||
import com.volmit.mantle.BlockBox;
|
||||
import com.volmit.world.BlockPosition;
|
||||
import com.volmit.geometry.BlockBox;
|
||||
import com.volmit.geometry.BlockPosition;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.volmit.object;
|
||||
|
||||
import com.volmit.block.BlockState;
|
||||
import com.volmit.world.BlockPosition;
|
||||
import com.volmit.geometry.BlockPosition;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.volmit.object;
|
||||
|
||||
import com.volmit.resource.ResourceId;
|
||||
import com.volmit.world.BlockPosition;
|
||||
import com.volmit.geometry.BlockPosition;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
|
||||
Reference in new issue
Block a user