mirror of
https://github.com/wisplite/crystalline-sky.git
synced 2026-10-30 05:22:18 -05:00
change sounds to crystal
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
// 1.21.8 -999999999-01-01T00:00:00 Crystalline Sky/Tags for minecraft:block
|
||||
1389c0b812f7a6e4d5dd00edac1dc07beb5f9552 data/crystalline_sky/tags/block/sky_light_emitters.json
|
||||
606477607a09045ff2830cbc036e744d6a728bbd data/minecraft/tags/block/crystal_sound_blocks.json
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"values": [
|
||||
"crystalline_sky:sky",
|
||||
"crystalline_sky:weeping_sky"
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -10,7 +10,7 @@ import net.minecraft.util.math.ColumnPos;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class WeepingSkyBlockItemClient {
|
||||
// todo check if this is server-safe
|
||||
// todone check if this is server-safe
|
||||
@Environment(EnvType.CLIENT)
|
||||
public static void setSelectedColumn(@Nullable ColumnPos column) {
|
||||
MinecraftClient mc = MinecraftClient.getInstance();
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
|
||||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
|
||||
import net.minecraft.registry.RegistryKeys;
|
||||
import net.minecraft.registry.RegistryWrapper;
|
||||
import net.minecraft.registry.tag.BlockTags;
|
||||
import net.minecraft.registry.tag.TagKey;
|
||||
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
@@ -22,5 +23,9 @@ public class CrystallineSkyBlockTagProvider extends FabricTagProvider.BlockTagPr
|
||||
.add(CrystallineBlocks.SKY_LIGHT)
|
||||
.add(CrystallineBlocks.WEEPING_SKY)
|
||||
.add(CrystallineBlocks.WEEPING_SKY_LIGHT);
|
||||
|
||||
valueLookupBuilder(BlockTags.CRYSTAL_SOUND_BLOCKS)
|
||||
.add(CrystallineBlocks.SKY)
|
||||
.add(CrystallineBlocks.WEEPING_SKY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.util.function.Function;
|
||||
public class CrystallineBlocks {
|
||||
public static final Block SKY = register("sky", TransparentBlock::new, Settings.create()
|
||||
.strength(0.3f)
|
||||
.sounds(BlockSoundGroup.GLASS)
|
||||
.sounds(BlockSoundGroup.AMETHYST_BLOCK)
|
||||
.nonOpaque()
|
||||
.allowsSpawning(Blocks::never)
|
||||
.solidBlock(Blocks::never)
|
||||
|
||||
Reference in New Issue
Block a user