recipe adjustment + gen change
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
c9ce7264fa
commit
d29f51c509
@ -61,7 +61,7 @@
|
|||||||
],
|
],
|
||||||
"surfaceGenerationParams": {
|
"surfaceGenerationParams": {
|
||||||
"surfaceGenTag": "plains",
|
"surfaceGenTag": "plains",
|
||||||
"heightOffset": 20,
|
"heightOffset": 30,
|
||||||
"noiseScale" : 0.1,
|
"noiseScale" : 0.1,
|
||||||
"warpScale" : 0.1,
|
"warpScale" : 0.1,
|
||||||
"floorVariants": [
|
"floorVariants": [
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"products": [
|
"products": [
|
||||||
{
|
{
|
||||||
"itemType": "block:refined_wood",
|
"itemType": "block:refined_wood",
|
||||||
"count": 1
|
"count": 16
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -28,8 +28,24 @@
|
|||||||
"products": [
|
"products": [
|
||||||
{
|
{
|
||||||
"itemType": "block:brick_fant",
|
"itemType": "block:brick_fant",
|
||||||
|
"count": 16
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "Fantasy Brick",
|
||||||
|
"craftingTag" : "HAND",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"itemType": "vox:rock_shale",
|
||||||
"count": 1
|
"count": 1
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"products": [
|
||||||
|
{
|
||||||
|
"itemType": "block:brick_fant",
|
||||||
|
"count": 16
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1674,6 +1674,7 @@ Small explore node height offset
|
|||||||
Terrain items
|
Terrain items
|
||||||
Digging produces terrain item form
|
Digging produces terrain item form
|
||||||
Terrain items can be placed to place terrain
|
Terrain items can be placed to place terrain
|
||||||
|
Recipe adjustment + voxel work
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -145,6 +145,9 @@ public class TerrainEditing {
|
|||||||
voxelPos.x >= 0 &&
|
voxelPos.x >= 0 &&
|
||||||
voxelPos.y >= 0 &&
|
voxelPos.y >= 0 &&
|
||||||
voxelPos.z >= 0 &&
|
voxelPos.z >= 0 &&
|
||||||
|
chunkPos.x >= 0 &&
|
||||||
|
chunkPos.y >= 0 &&
|
||||||
|
chunkPos.z >= 0 &&
|
||||||
currentPositionMagnitude > 0 &&
|
currentPositionMagnitude > 0 &&
|
||||||
(data = voxelCellManager.getChunkAtPosition(chunkPos)) != null
|
(data = voxelCellManager.getChunkAtPosition(chunkPos)) != null
|
||||||
){
|
){
|
||||||
|
|||||||
@ -88,7 +88,7 @@ public class NoiseVoxelGen implements VoxelGenerator {
|
|||||||
//below surface, ie generate stone here
|
//below surface, ie generate stone here
|
||||||
double finalSurface = sample;
|
double finalSurface = sample;
|
||||||
voxel.weight = (float)finalSurface;
|
voxel.weight = (float)finalSurface;
|
||||||
voxel.type = 1;
|
voxel.type = 6;
|
||||||
} else if(heightDiff > 0) {
|
} else if(heightDiff > 0) {
|
||||||
//above surface, ie generate air here
|
//above surface, ie generate air here
|
||||||
voxel.weight = -1.0f;
|
voxel.weight = -1.0f;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user