diff --git a/.gitignore b/.gitignore index d5f737e..2662803 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ atlassian-ide-plugin.xml # Log file *.log +*.gz # BlueJ files *.ctxt diff --git a/build.gradle b/build.gradle index 7fb8173..914b517 100644 --- a/build.gradle +++ b/build.gradle @@ -76,7 +76,7 @@ minecraft { configureEach { workingDirectory project.file('run') - jvmArg "-XX:+AllowEnhancedClassRedefinition" + //jvmArg "-XX:+AllowEnhancedClassRedefinition" <- very bad. making my game crash like crazy // Recommended logging data for a userdev environment // The markers can be added/remove as needed separated by commas. // "SCAN": For mods scan. diff --git a/run-data/config/fml.toml b/run-data/config/fml.toml new file mode 100644 index 0000000..c944240 --- /dev/null +++ b/run-data/config/fml.toml @@ -0,0 +1,29 @@ +#Early window height +earlyWindowHeight = 480 +#Enable forge global version checking +versionCheck = true +#Should we control the window. Disabling this disables new GL features and can be bad for mods that rely on them. +earlyWindowControl = true +#Early window framebuffer scale +earlyWindowFBScale = 1 +#Early window provider +earlyWindowProvider = "fmlearlywindow" +#Early window width +earlyWindowWidth = 854 +#Early window starts maximized +earlyWindowMaximized = false +#Default config path for servers +defaultConfigPath = "defaultconfigs" +#Disables Optimized DFU client-side - already disabled on servers +disableOptimizedDFU = true +#Skip specific GL versions, may help with buggy graphics card drivers +earlyWindowSkipGLVersions = [] +#Whether to log a help message on first attempt, to aid troubleshooting. This setting should automatically disable itself after a successful launch +earlyWindowLogHelpMessage = true +#Max threads for early initialization parallelism, -1 is based on processor count +maxThreads = -1 +#Squir? +earlyWindowSquir = false +#Whether to show CPU usage stats in early window +earlyWindowShowCPU = false + diff --git a/src/generated/resources/assets/sound_of_flesh/blockstates/info.txt b/src/generated/resources/assets/sound_of_flesh/blockstates/info.txt new file mode 100644 index 0000000..63f1bea --- /dev/null +++ b/src/generated/resources/assets/sound_of_flesh/blockstates/info.txt @@ -0,0 +1,4 @@ +I just copy/pasted blockstates from CSOS to get some models in game +because I can't run datagen until they're ALL done + +So please don't forget to delete/make sure these files are overwritten when you run datagen the first time \ No newline at end of file diff --git a/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox.json b/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox.json index 25ba028..7c266b0 100644 --- a/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox.json +++ b/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox.json @@ -1,5 +1,304 @@ { "variants": { + "facing=east,powered=false,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor", + "y": 270 + }, + "facing=east,powered=false,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall", + "y": 270 + }, + "facing=east,powered=false,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor", + "y": 270 + }, + "facing=east,powered=false,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall", + "y": 270 + }, + "facing=east,powered=false,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor", + "y": 270 + }, + "facing=east,powered=false,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall", + "y": 270 + }, + "facing=east,powered=false,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor", + "y": 270 + }, + "facing=east,powered=false,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall", + "y": 270 + }, + "facing=east,powered=false,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor", + "y": 270 + }, + "facing=east,powered=false,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall", + "y": 270 + }, + "facing=east,powered=true,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor_powered", + "y": 270 + }, + "facing=east,powered=true,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall_powered", + "y": 270 + }, + "facing=east,powered=true,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor_powered", + "y": 270 + }, + "facing=east,powered=true,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall_powered", + "y": 270 + }, + "facing=east,powered=true,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor_powered", + "y": 270 + }, + "facing=east,powered=true,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall_powered", + "y": 270 + }, + "facing=east,powered=true,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor_powered", + "y": 270 + }, + "facing=east,powered=true,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall_powered", + "y": 270 + }, + "facing=east,powered=true,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor_powered", + "y": 270 + }, + "facing=east,powered=true,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall_powered", + "y": 270 + }, + "facing=north,powered=false,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor", + "y": 180 + }, + "facing=north,powered=false,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall", + "y": 180 + }, + "facing=north,powered=false,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor", + "y": 180 + }, + "facing=north,powered=false,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall", + "y": 180 + }, + "facing=north,powered=false,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor", + "y": 180 + }, + "facing=north,powered=false,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall", + "y": 180 + }, + "facing=north,powered=false,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor", + "y": 180 + }, + "facing=north,powered=false,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall", + "y": 180 + }, + "facing=north,powered=false,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor", + "y": 180 + }, + "facing=north,powered=false,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall", + "y": 180 + }, + "facing=north,powered=true,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor_powered", + "y": 180 + }, + "facing=north,powered=true,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall_powered", + "y": 180 + }, + "facing=north,powered=true,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor_powered", + "y": 180 + }, + "facing=north,powered=true,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall_powered", + "y": 180 + }, + "facing=north,powered=true,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor_powered", + "y": 180 + }, + "facing=north,powered=true,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall_powered", + "y": 180 + }, + "facing=north,powered=true,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor_powered", + "y": 180 + }, + "facing=north,powered=true,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall_powered", + "y": 180 + }, + "facing=north,powered=true,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor_powered", + "y": 180 + }, + "facing=north,powered=true,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall_powered", + "y": 180 + }, + "facing=south,powered=false,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor" + }, + "facing=south,powered=false,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall" + }, + "facing=south,powered=false,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor" + }, + "facing=south,powered=false,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall" + }, + "facing=south,powered=false,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor" + }, + "facing=south,powered=false,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall" + }, + "facing=south,powered=false,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor" + }, + "facing=south,powered=false,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall" + }, + "facing=south,powered=false,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor" + }, + "facing=south,powered=false,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall" + }, + "facing=south,powered=true,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor_powered" + }, + "facing=south,powered=true,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall_powered" + }, + "facing=south,powered=true,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor_powered" + }, + "facing=south,powered=true,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall_powered" + }, + "facing=south,powered=true,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor_powered" + }, + "facing=south,powered=true,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall_powered" + }, + "facing=south,powered=true,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor_powered" + }, + "facing=south,powered=true,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall_powered" + }, + "facing=south,powered=true,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor_powered" + }, + "facing=south,powered=true,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall_powered" + }, + "facing=west,powered=false,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor", + "y": 90 + }, + "facing=west,powered=false,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall", + "y": 90 + }, + "facing=west,powered=false,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor", + "y": 90 + }, + "facing=west,powered=false,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall", + "y": 90 + }, + "facing=west,powered=false,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor", + "y": 90 + }, + "facing=west,powered=false,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall", + "y": 90 + }, + "facing=west,powered=false,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor", + "y": 90 + }, + "facing=west,powered=false,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall", + "y": 90 + }, + "facing=west,powered=false,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor", + "y": 90 + }, + "facing=west,powered=false,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall", + "y": 90 + }, + "facing=west,powered=true,size=huge,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_floor_powered", + "y": 90 + }, + "facing=west,powered=true,size=huge,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_huge_wall_powered", + "y": 90 + }, + "facing=west,powered=true,size=large,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_floor_powered", + "y": 90 + }, + "facing=west,powered=true,size=large,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_large_wall_powered", + "y": 90 + }, + "facing=west,powered=true,size=medium,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_floor_powered", + "y": 90 + }, + "facing=west,powered=true,size=medium,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_medium_wall_powered", + "y": 90 + }, + "facing=west,powered=true,size=small,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_floor_powered", + "y": 90 + }, + "facing=west,powered=true,size=small,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_small_wall_powered", + "y": 90 + }, + "facing=west,powered=true,size=tiny,wall=false": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_floor_powered", + "y": 90 + }, + "facing=west,powered=true,size=tiny,wall=true": { + "model": "sound_of_flesh:block/voicebox/voicebox_tiny_wall_powered", + "y": 90 "": { "model": "sound_of_flesh:block/voicebox" } diff --git a/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox_extension.json b/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox_extension.json index d04efe3..f280bed 100644 --- a/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox_extension.json +++ b/src/generated/resources/assets/sound_of_flesh/blockstates/voicebox_extension.json @@ -1,5 +1,49 @@ { "variants": { + "shape=double,size=huge": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_huge_double" + }, + "shape=double,size=large": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_large_double" + }, + "shape=double,size=medium": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_medium_double" + }, + "shape=double,size=small": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_small_double" + }, + "shape=double,size=tiny": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_tiny_double" + }, + "shape=double_connected,size=huge": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_huge_double_connected" + }, + "shape=double_connected,size=large": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_large_double_connected" + }, + "shape=double_connected,size=medium": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_medium_double_connected" + }, + "shape=double_connected,size=small": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_small_double_connected" + }, + "shape=double_connected,size=tiny": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_tiny_double_connected" + }, + "shape=single,size=huge": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_huge_single" + }, + "shape=single,size=large": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_large_single" + }, + "shape=single,size=medium": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_medium_single" + }, + "shape=single,size=small": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_small_single" + }, + "shape=single,size=tiny": { + "model": "sound_of_flesh:block/voicebox/extension/voicebox_tiny_single" "": { "model": "sound_of_flesh:block/voicebox_extension" } diff --git a/src/generated/resources/assets/sound_of_flesh/lang/en_us.json b/src/generated/resources/assets/sound_of_flesh/lang/en_us.json index d51419e..b478211 100644 --- a/src/generated/resources/assets/sound_of_flesh/lang/en_us.json +++ b/src/generated/resources/assets/sound_of_flesh/lang/en_us.json @@ -1,4 +1,7 @@ { + "sound_of_flesh.creativetab.main": "Sound of Flesh", + + "block.sound_of_flesh.voicebox": "Voicebox" "block.sound_of_flesh.lung_block": "Lung Block", "block.sound_of_flesh.trachea": "Trachea", "block.sound_of_flesh.voicebox": "Voicebox", diff --git a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxBlock.java b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxBlock.java index 115cd6e..140eca3 100644 --- a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxBlock.java +++ b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxBlock.java @@ -1,5 +1,7 @@ package xyz.anonym.sound_of_flesh.content.pipes.voicebox; +import com.finchy.pipeorgans.content.windchest.WindchestBlock; +import com.github.elenterius.biomancy.init.ModSoundEvents; import com.simibubi.create.content.decoration.steamWhistle.WhistleBlock; import com.simibubi.create.content.equipment.wrench.IWrenchable; import com.simibubi.create.content.fluids.tank.FluidTankBlock; @@ -36,10 +38,12 @@ import net.minecraft.world.phys.BlockHitResult; import net.minecraft.world.phys.shapes.CollisionContext; import net.minecraft.world.phys.shapes.VoxelShape; +import xyz.anonym.sound_of_flesh.content.generic.trachea.TracheaBlock; import xyz.anonym.sound_of_flesh.init.AllBlockEntities; import xyz.anonym.sound_of_flesh.init.AllBlocks; import xyz.anonym.sound_of_flesh.init.AllShapes; +import static com.finchy.pipeorgans.content.pipes.generic.GenericPipeBlock.getAttachedDirection; import static xyz.anonym.sound_of_flesh.content.pipes.voicebox.VoiceboxExtensionBlock.VoiceboxExtenderShape.SINGLE; public class VoiceboxBlock extends Block implements IBE, IWrenchable { @@ -75,13 +79,11 @@ public void setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEn @Override public boolean canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) { - Direction facing = WhistleBlock.getAttachedDirection(pState); - BlockState attached = pLevel.getBlockState(pPos.relative(facing)); + BlockState attachedState = pLevel.getBlockState(pPos.relative(getAttachedDirection(pState))); - if (attached.getBlock().getClass().getName().equals("com.finchy.pipeorgans.content.windchest.WindchestBlock")) - return true; - - return FluidTankBlock.isTank(pLevel.getBlockState(pPos.relative(WhistleBlock.getAttachedDirection(pState)))); + return (FluidTankBlock.isTank(attachedState) + || attachedState.getBlock() instanceof WindchestBlock + ); //Or whatever you want the windchest to be } @Override @@ -140,16 +142,14 @@ public static void incrementSize(LevelAccessor pLevel, BlockPos pPos) { for (int i = 1; i <= 6; i++) { BlockState blockState = pLevel.getBlockState(currentPos); float pVolume = (soundtype.getVolume() + 1.0F) / 2.0F; - SoundEvent growSound = SoundEvents.NOTE_BLOCK_XYLOPHONE.value(); - SoundEvent hitSound = soundtype.getHitSound(); + SoundEvent growSound = ModSoundEvents.FLESH_BLOCK_PLACE.get(); if (AllBlocks.VOICEBOX_EXTENSION.has(blockState)) { if (blockState.getValue(VoiceboxExtensionBlock.SHAPE) == SINGLE) { pLevel.setBlock(currentPos, blockState.setValue(VoiceboxExtensionBlock.SHAPE, VoiceboxExtensionBlock.VoiceboxExtenderShape.DOUBLE), 3); float pPitch = (float) Math.pow(2, -(i * 2) / 12.0); if (soundtype != null) { - pLevel.playSound(null, currentPos, growSound, SoundSource.BLOCKS, pVolume / 4f, pPitch); - pLevel.playSound(null, currentPos, hitSound, SoundSource.BLOCKS, pVolume, pPitch); + pLevel.playSound(null, currentPos, growSound, SoundSource.BLOCKS, pVolume / 4f, pPitch); return; } } @@ -164,7 +164,6 @@ public static void incrementSize(LevelAccessor pLevel, BlockPos pPos) { .setValue(SIZE, size), 3); float pPitch = (float) Math.pow(2, -(i * 2 - 1) / 12.0); pLevel.playSound(null, currentPos, growSound, SoundSource.BLOCKS, pVolume / 4f, pPitch); - pLevel.playSound(null, currentPos, hitSound, SoundSource.BLOCKS, pVolume, pPitch); return; } } diff --git a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxRenderer.java b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxRenderer.java index ec96cb4..fabf38b 100644 --- a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxRenderer.java +++ b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxRenderer.java @@ -24,6 +24,10 @@ public VoiceboxRenderer(BlockEntityRendererProvider.Context context) {} @Override protected void renderSafe(VoiceboxBlockEntity be, float partialTicks, PoseStack ms, MultiBufferSource bufferSource, int light, int overlay) { + //This file can probably be removed but just haven't yet + + //MJ says he doesn't want a mouth on the voicebox pipe +/* BlockState blockState = be.getBlockState(); if (!(blockState.getBlock() instanceof VoiceboxBlock)) return; @@ -53,5 +57,7 @@ protected void renderSafe(VoiceboxBlockEntity be, float partialTicks, PoseStack .light(light) .renderInto(ms, bufferSource.getBuffer(RenderType.solid())); + */ + } } \ No newline at end of file diff --git a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxSoundInstance.java b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxSoundInstance.java index 649e7f3..aa9dcbb 100644 --- a/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxSoundInstance.java +++ b/src/main/java/xyz/anonym/sound_of_flesh/content/pipes/voicebox/VoiceboxSoundInstance.java @@ -17,14 +17,16 @@ public class VoiceboxSoundInstance extends AbstractTickableSoundInstance { private final VoiceboxBlock.VoiceboxSize size; public VoiceboxSoundInstance(VoiceboxBlock.VoiceboxSize size, BlockPos worldPosition) { - super((size == TINY ? VOICEBOX_SUPERHIGH + super(( + size == MICRO ? VOICEBOX_SUPERDUPERHIGH + : size == TINY ? VOICEBOX_SUPERHIGH : size == SMALL ? VOICEBOX_HIGH : size == MEDIUM ? VOICEBOX_MEDIUM - : size == LARGE ? VOICEBOX_LOW : - VOICEBOX_DEEP) + : size == LARGE ? VOICEBOX_LOW + : size == HUGE ? VOICEBOX_DEEP + : VOICEBOX_SUPERDEEP) .get(), SoundSource.RECORDS, SoundInstance.createUnseededRandom()); - //TODO the .get could cause issues this.size = size; looping = true; active = true; diff --git a/src/main/java/xyz/anonym/sound_of_flesh/init/AllSoundEvents.java b/src/main/java/xyz/anonym/sound_of_flesh/init/AllSoundEvents.java index f69bc55..df889bc 100644 --- a/src/main/java/xyz/anonym/sound_of_flesh/init/AllSoundEvents.java +++ b/src/main/java/xyz/anonym/sound_of_flesh/init/AllSoundEvents.java @@ -16,7 +16,7 @@ public class AllSoundEvents { // declare sounds here public static final RegistryObject - VOICEBOX_SUPERSUPERHIGH = registerSoundEvent("voicebox_supersuperhigh"), + VOICEBOX_SUPERDUPERHIGH = registerSoundEvent("voicebox_superduperhigh"), VOICEBOX_SUPERHIGH = registerSoundEvent("voicebox_superhigh"), VOICEBOX_HIGH = registerSoundEvent("voicebox_high"), VOICEBOX_MEDIUM = registerSoundEvent("voicebox_medium"), diff --git a/src/main/java/xyz/anonym/sound_of_flesh/init/AllTabs.java b/src/main/java/xyz/anonym/sound_of_flesh/init/AllTabs.java index 143a21d..a7a4f74 100644 --- a/src/main/java/xyz/anonym/sound_of_flesh/init/AllTabs.java +++ b/src/main/java/xyz/anonym/sound_of_flesh/init/AllTabs.java @@ -10,7 +10,7 @@ public class AllTabs { public static final DeferredRegister CREATIVE_MODE_TABS = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, SoundOfFlesh.MODID); - public static final RegistryObject MAIN_TAB = CREATIVE_MODE_TABS.register("main_tab", () -> CreativeModeTab.builder().icon(() -> new ItemStack(AllBlocks.VOICEBOX.get())).displayItems((parameters, output) -> { + public static final RegistryObject MAIN_TAB = CREATIVE_MODE_TABS.register("main", () -> CreativeModeTab.builder().icon(() -> new ItemStack(AllBlocks.VOICEBOX.get())).displayItems((parameters, output) -> { output.accept(AllBlocks.TRACHEA.asItem()); output.accept(AllBlocks.LUNG_BLOCK.asItem()); output.accept(AllBlocks.VOICEBOX.asItem()); diff --git a/src/main/resources/assets/sound_of_flesh/lang/default/en_us_base.json b/src/main/resources/assets/sound_of_flesh/lang/default/en_us_base.json new file mode 100644 index 0000000..1582466 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/lang/default/en_us_base.json @@ -0,0 +1,3 @@ +{ + "sound_of_flesh.creativetab.main": "Sound of Flesh" +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/flesh_base.json b/src/main/resources/assets/sound_of_flesh/models/block/flesh_base.json new file mode 100644 index 0000000..d72cd37 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/flesh_base.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "3": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#3"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#3"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#3"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#3"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#3"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#3"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#3"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#3"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#3"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#3"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#3"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/flesh_wall.json b/src/main/resources/assets/sound_of_flesh/models/block/flesh_wall.json new file mode 100644 index 0000000..aaca9fa --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/flesh_wall.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 13], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 16]}, + "faces": { + "north": {"uv": [0.5, 8.5, 7.5, 15.5], "rotation": 180, "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 90, "texture": "#0"}, + "south": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 270, "texture": "#0"}, + "up": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "down": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "from": [5, 2, 5], + "to": [11, 4, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [7, 2, 11]}, + "faces": { + "north": {"uv": [2, 2, 5, 3], "texture": "#0"}, + "east": {"uv": [6, 6.5, 2, 7.5], "texture": "#0"}, + "south": {"uv": [0, 0, 6, 2], "texture": "#0"}, + "west": {"uv": [2, 6.5, 6, 7.5], "texture": "#0"}, + "up": {"uv": [2, 4.5, 6, 7.5], "rotation": 270, "texture": "#0"}, + "down": {"uv": [2, 4.5, 6, 7.5], "rotation": 270, "texture": "#0"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/lung_block/item.json b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/item.json index bf327bf..8ba6170 100644 --- a/src/main/resources/assets/sound_of_flesh/models/block/lung_block/item.json +++ b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/item.json @@ -3,8 +3,8 @@ "credit": "Made with Blockbench", "texture_size": [32, 32], "textures": { - "0": "block/lung_block", - "particle": "block/lung_block" + "0": "sound_of_flesh:block/lung_block", + "particle": "sound_of_flesh:block/lung_block" }, "elements": [ { diff --git a/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block - Copy.json b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block - Copy.json new file mode 100644 index 0000000..f6e9ee9 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block - Copy.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/lung_block", + "particle": "sound_of_flesh:block/lung_block" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, -135, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, -135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block.json b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block.json new file mode 100644 index 0000000..f6e9ee9 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/lung_block/lung_block.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/lung_block", + "particle": "sound_of_flesh:block/lung_block" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, -135, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, -135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/trachea/item.json b/src/main/resources/assets/sound_of_flesh/models/block/trachea/item.json index e69de29..a838a97 100644 --- a/src/main/resources/assets/sound_of_flesh/models/block/trachea/item.json +++ b/src/main/resources/assets/sound_of_flesh/models/block/trachea/item.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "sound_of_flesh:block/trachea", + "particle": "sound_of_flesh:block/trachea" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 8, 4, 12], "texture": "#0"}, + "east": {"uv": [4, 0, 0, 4], "texture": "#0"}, + "south": {"uv": [0, 8, 4, 12], "texture": "#0"}, + "west": {"uv": [0, 0, 4, 4], "texture": "#0"}, + "up": {"uv": [0, 4, 4, 8], "texture": "#0"}, + "down": {"uv": [0, 4, 4, 8], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, -135, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, -135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea.json b/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea.json new file mode 100644 index 0000000..85ace8b --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "sound_of_flesh:block/trachea", + "particle": "sound_of_flesh:block/trachea" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 8, 4, 12], "texture": "#0"}, + "east": {"uv": [4, 0, 0, 4], "texture": "#0"}, + "south": {"uv": [0, 8, 4, 12], "texture": "#0"}, + "west": {"uv": [0, 0, 4, 4], "texture": "#0"}, + "up": {"uv": [0, 4, 4, 8], "texture": "#0"}, + "down": {"uv": [0, 4, 4, 8], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea_powered.json b/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea_powered.json new file mode 100644 index 0000000..3b6aa99 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/trachea/trachea_powered.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "sound_of_flesh:block/trachea", + "particle": "sound_of_flesh:block/trachea" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [4, 8, 8, 12], "texture": "#0"}, + "east": {"uv": [8, 0, 4, 4], "texture": "#0"}, + "south": {"uv": [4, 8, 8, 12], "texture": "#0"}, + "west": {"uv": [4, 0, 8, 4], "texture": "#0"}, + "up": {"uv": [4, 4, 8, 8], "texture": "#0"}, + "down": {"uv": [4, 4, 8, 8], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double.json new file mode 100644 index 0000000..23bfa1e --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/voicebox" + }, + "elements": [ + { + "from": [4, 0, 4], + "to": [12, 8, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 0, 5]}, + "faces": { + "north": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "east": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "south": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "west": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#0"} + } + }, + { + "from": [4, 8, 4], + "to": [12, 16, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 5]}, + "faces": { + "north": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "east": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "south": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "west": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#0"} + } + }, + { + "from": [5, 16, 5], + "to": [11, 17, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 16, 4]}, + "faces": { + "north": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "east": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "south": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "west": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "up": {"uv": [6.625, 6.625, 7.375, 7.375], "texture": "#0", "cullface": "up"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double_connected.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double_connected.json new file mode 100644 index 0000000..28b212f --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_double_connected.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/voicebox" + }, + "elements": [ + { + "from": [4, 0, 4], + "to": [12, 8, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 0, 5]}, + "faces": { + "north": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "east": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "south": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "west": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"} + } + }, + { + "from": [4, 8, 4], + "to": [12, 16, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 5]}, + "faces": { + "north": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "east": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "south": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"}, + "west": {"uv": [6.5, 8, 7.5, 9], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_single.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_single.json new file mode 100644 index 0000000..a25672e --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/extension/voicebox_medium_single.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/voicebox" + }, + "elements": [ + { + "from": [4, 0, 4], + "to": [12, 8, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 0, 5]}, + "faces": { + "north": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "east": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "south": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "west": {"uv": [6.5, 9, 7.5, 10], "texture": "#0"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#0"} + } + }, + { + "from": [5, 8, 5], + "to": [11, 9, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 4]}, + "faces": { + "north": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "east": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "south": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "west": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#0", "cullface": "up"}, + "up": {"uv": [6.625, 6.625, 7.375, 7.375], "texture": "#0", "cullface": "up"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/item.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/item.json index e69de29..159a8b9 100644 --- a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/item.json +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/item.json @@ -0,0 +1,344 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "2": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [5, 14, 5], + "to": [11, 15, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 14, 4]}, + "faces": { + "north": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "east": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "south": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "west": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"} + } + }, + { + "from": [4, 15, 4], + "to": [12, 16, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 15, 4]}, + "faces": { + "north": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "east": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "south": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "west": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2"} + } + }, + { + "from": [4, 16, 4], + "to": [12, 17, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 16, 4]}, + "faces": { + "north": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "east": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "south": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "west": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2", "cullface": "up"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2", "cullface": "up"} + } + }, + { + "from": [5, 17, 5], + "to": [11, 18, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 17, 4]}, + "faces": { + "north": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "east": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "south": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "west": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "up": {"uv": [6.625, 6.625, 7.375, 7.375], "texture": "#2", "cullface": "up"} + } + }, + { + "from": [4, 4, 4], + "to": [12, 14, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [6.5, 12.625, 7.5, 13.875], "texture": "#2"}, + "east": {"uv": [7.5, 14.625, 6.5, 15.875], "texture": "#2"}, + "south": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#2"}, + "west": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#2"}, + "up": {"uv": [6.5, 12.625, 7.5, 13.875], "texture": "#2"} + } + }, + { + "from": [3, 5, 3], + "to": [5, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"} + } + }, + { + "from": [5, 7, 12], + "to": [7, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [5, 9, 12], + "to": [7, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [5, 11, 12], + "to": [7, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 5, 12], + "to": [11, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 11, 12], + "to": [11, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 9, 12], + "to": [11, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 7, 12], + "to": [11, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [3, 7, 3], + "to": [5, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"} + } + }, + { + "from": [11, 7, 3], + "to": [13, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"} + } + }, + { + "from": [11, 5, 3], + "to": [13, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"} + } + }, + { + "from": [5, 5, 12], + "to": [7, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [3, 9, 6], + "to": [5, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"} + } + }, + { + "from": [11, 11, 9], + "to": [13, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"} + } + }, + { + "from": [11, 9, 6], + "to": [13, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"} + } + }, + { + "from": [3, 11, 9], + "to": [5, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"} + } + }, + { + "from": [7, 4, 11], + "to": [9, 13, 13.1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 4, 11]}, + "faces": { + "east": {"uv": [7, 4.625, 7.125, 5.75], "texture": "#2"}, + "south": {"uv": [6.875, 4.625, 7.125, 5.75], "texture": "#2"}, + "west": {"uv": [6.875, 4.625, 7, 5.75], "texture": "#2"}, + "up": {"uv": [6.875, 4.5, 7.125, 4.625], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, -135, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, -135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "translation": [0, 12.75, 0], + "scale": [0.8, 0.8, 0.8] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + }, + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + { + "name": "pipe", + "origin": [4, 14, 4], + "color": 0, + "children": [2, 3, 4, 5, 6] + }, + { + "name": "ribby bois", + "origin": [3, 4, 2], + "color": 0, + "children": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_giant_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_giant_floor.json new file mode 100644 index 0000000..de8b9f8 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_giant_floor.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "1": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [1, 4, 1], + "to": [15, 16, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [0.125, 12.375, 1.875, 13.875], "texture": "#1"}, + "east": {"uv": [0.125, 10.375, 1.875, 11.875], "texture": "#1"}, + "south": {"uv": [0.125, 10.375, 1.875, 11.875], "texture": "#1"}, + "west": {"uv": [0.125, 10.375, 1.875, 11.875], "texture": "#1"}, + "up": {"uv": [0.125, 6.125, 1.875, 7.875], "texture": "#1"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_huge_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_huge_floor.json new file mode 100644 index 0000000..14d9273 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_huge_floor.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "1": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [2, 4, 2], + "to": [14, 16, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [2.25, 12.375, 3.75, 13.875], "texture": "#1"}, + "east": {"uv": [2.25, 10.375, 3.75, 11.875], "texture": "#1"}, + "south": {"uv": [2.25, 10.375, 3.75, 11.875], "texture": "#1"}, + "west": {"uv": [2.25, 10.375, 3.75, 11.875], "texture": "#1"}, + "up": {"uv": [2.25, 6.25, 3.75, 7.75], "texture": "#1"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_large_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_large_floor.json new file mode 100644 index 0000000..094f5db --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_large_floor.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "1": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [3, 4, 3], + "to": [13, 16, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [4.375, 12.375, 5.625, 13.875], "texture": "#1"}, + "east": {"uv": [4.375, 10.375, 5.625, 11.875], "texture": "#1"}, + "south": {"uv": [4.375, 10.375, 5.625, 11.875], "texture": "#1"}, + "west": {"uv": [4.375, 10.375, 5.625, 11.875], "texture": "#1"}, + "up": {"uv": [4.375, 6.375, 5.625, 7.625], "texture": "#1"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_floor.json new file mode 100644 index 0000000..159a8b9 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_floor.json @@ -0,0 +1,344 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "2": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [5, 14, 5], + "to": [11, 15, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 14, 4]}, + "faces": { + "north": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "east": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "south": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"}, + "west": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#2"} + } + }, + { + "from": [4, 15, 4], + "to": [12, 16, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 15, 4]}, + "faces": { + "north": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "east": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "south": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "west": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#2"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2"} + } + }, + { + "from": [4, 16, 4], + "to": [12, 17, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 16, 4]}, + "faces": { + "north": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "east": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "south": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "west": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#2", "cullface": "up"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2", "cullface": "up"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#2", "cullface": "up"} + } + }, + { + "from": [5, 17, 5], + "to": [11, 18, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 17, 4]}, + "faces": { + "north": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "east": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "south": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "west": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#2", "cullface": "up"}, + "up": {"uv": [6.625, 6.625, 7.375, 7.375], "texture": "#2", "cullface": "up"} + } + }, + { + "from": [4, 4, 4], + "to": [12, 14, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [6.5, 12.625, 7.5, 13.875], "texture": "#2"}, + "east": {"uv": [7.5, 14.625, 6.5, 15.875], "texture": "#2"}, + "south": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#2"}, + "west": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#2"}, + "up": {"uv": [6.5, 12.625, 7.5, 13.875], "texture": "#2"} + } + }, + { + "from": [3, 5, 3], + "to": [5, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"} + } + }, + { + "from": [5, 7, 12], + "to": [7, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [5, 9, 12], + "to": [7, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [5, 11, 12], + "to": [7, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 5, 12], + "to": [11, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 11, 12], + "to": [11, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 9, 12], + "to": [11, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [9, 7, 12], + "to": [11, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [3, 7, 3], + "to": [5, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#2"} + } + }, + { + "from": [11, 7, 3], + "to": [13, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"} + } + }, + { + "from": [11, 5, 3], + "to": [13, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#2"} + } + }, + { + "from": [5, 5, 12], + "to": [7, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"} + } + }, + { + "from": [3, 9, 6], + "to": [5, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"} + } + }, + { + "from": [11, 11, 9], + "to": [13, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"} + } + }, + { + "from": [11, 9, 6], + "to": [13, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "east": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#2"} + } + }, + { + "from": [3, 11, 9], + "to": [5, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#2"}, + "west": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#2"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#2"} + } + }, + { + "from": [7, 4, 11], + "to": [9, 13, 13.1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 4, 11]}, + "faces": { + "east": {"uv": [7, 4.625, 7.125, 5.75], "texture": "#2"}, + "south": {"uv": [6.875, 4.625, 7.125, 5.75], "texture": "#2"}, + "west": {"uv": [6.875, 4.625, 7, 5.75], "texture": "#2"}, + "up": {"uv": [6.875, 4.5, 7.125, 4.625], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, -135, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, -135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "translation": [0, 12.75, 0], + "scale": [0.8, 0.8, 0.8] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + }, + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + { + "name": "pipe", + "origin": [4, 14, 4], + "color": 0, + "children": [2, 3, 4, 5, 6] + }, + { + "name": "ribby bois", + "origin": [3, 4, 2], + "color": 0, + "children": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_wall.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_wall.json new file mode 100644 index 0000000..29fbc9a --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_medium_wall.json @@ -0,0 +1,311 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "1": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 13], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 16]}, + "faces": { + "north": {"uv": [0.5, 8.5, 7.5, 15.5], "rotation": 180, "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 90, "texture": "#0"}, + "south": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 270, "texture": "#0"}, + "up": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "down": {"uv": [8.5, 6.5, 15.5, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "from": [5, 2, 5], + "to": [11, 4, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [7, 2, 11]}, + "faces": { + "north": {"uv": [2, 2, 5, 3], "texture": "#0"}, + "east": {"uv": [6, 6.5, 2, 7.5], "texture": "#0"}, + "south": {"uv": [0, 0, 6, 2], "texture": "#0"}, + "west": {"uv": [2, 6.5, 6, 7.5], "texture": "#0"}, + "up": {"uv": [2, 4.5, 6, 7.5], "rotation": 270, "texture": "#0"}, + "down": {"uv": [2, 4.5, 6, 7.5], "rotation": 270, "texture": "#0"} + } + }, + { + "from": [5, 14, 5], + "to": [11, 15, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 14, 4]}, + "faces": { + "north": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#1"}, + "east": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#1"}, + "south": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#1"}, + "west": {"uv": [6.625, 12.5, 7.375, 12.625], "texture": "#1"} + } + }, + { + "from": [4, 15, 4], + "to": [12, 16, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 15, 4]}, + "faces": { + "north": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#1"}, + "east": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#1"}, + "south": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#1"}, + "west": {"uv": [6.5, 12.375, 7.5, 12.5], "texture": "#1"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1"} + } + }, + { + "from": [4, 16, 4], + "to": [12, 17, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 16, 4]}, + "faces": { + "north": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#1", "cullface": "up"}, + "east": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#1", "cullface": "up"}, + "south": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#1", "cullface": "up"}, + "west": {"uv": [6.5, 12.25, 7.5, 12.375], "texture": "#1", "cullface": "up"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1", "cullface": "up"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1", "cullface": "up"} + } + }, + { + "from": [5, 17, 5], + "to": [11, 18, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 17, 4]}, + "faces": { + "north": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#1", "cullface": "up"}, + "east": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#1", "cullface": "up"}, + "south": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#1", "cullface": "up"}, + "west": {"uv": [6.625, 12.375, 7.375, 12.5], "texture": "#1", "cullface": "up"}, + "up": {"uv": [6.625, 6.625, 7.375, 7.375], "texture": "#1", "cullface": "up"} + } + }, + { + "from": [4, 4, 4], + "to": [12, 14, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [6.5, 12.625, 7.5, 13.875], "texture": "#1"}, + "east": {"uv": [7.5, 14.625, 6.5, 15.875], "texture": "#1"}, + "south": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#1"}, + "west": {"uv": [6.5, 14.625, 7.5, 15.875], "texture": "#1"}, + "up": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1"}, + "down": {"uv": [6.5, 6.5, 7.5, 7.5], "texture": "#1"} + } + }, + { + "from": [3, 5, 3], + "to": [5, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#1"} + } + }, + { + "from": [5, 7, 12], + "to": [7, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [5, 9, 12], + "to": [7, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [5, 11, 12], + "to": [7, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [9, 5, 12], + "to": [11, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [9, 11, 12], + "to": [11, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 10, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [9, 9, 12], + "to": [11, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 8, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [9, 7, 12], + "to": [11, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 6, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [3, 7, 3], + "to": [5, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.75], "texture": "#1"} + } + }, + { + "from": [11, 7, 3], + "to": [13, 8, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 6, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#1"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#1"} + } + }, + { + "from": [11, 5, 3], + "to": [13, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 4, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [6.5, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#1"}, + "down": {"uv": [6.375, 4.5, 6.625, 5.75], "texture": "#1"} + } + }, + { + "from": [5, 5, 12], + "to": [7, 6, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 4, 11]}, + "faces": { + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "down": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"} + } + }, + { + "from": [3, 9, 6], + "to": [5, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#1"} + } + }, + { + "from": [11, 11, 9], + "to": [13, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#1"} + } + }, + { + "from": [11, 9, 6], + "to": [13, 10, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 8, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "east": {"uv": [6.875, 4, 7.75, 4.125], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5.375], "texture": "#1"} + } + }, + { + "from": [3, 11, 9], + "to": [5, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 10, 2]}, + "faces": { + "north": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "south": {"uv": [6, 4.375, 6.25, 4.5], "texture": "#1"}, + "west": {"uv": [7.25, 4, 7.75, 4.125], "texture": "#1"}, + "up": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#1"}, + "down": {"uv": [7.5, 4.5, 7.75, 5], "texture": "#1"} + } + }, + { + "from": [7, 4, 11], + "to": [9, 13, 13.1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 4, 11]}, + "faces": { + "east": {"uv": [7, 4.625, 7.125, 5.75], "texture": "#1"}, + "south": {"uv": [6.875, 4.625, 7.125, 5.75], "texture": "#1"}, + "west": {"uv": [6.875, 4.625, 7, 5.75], "texture": "#1"}, + "up": {"uv": [6.875, 4.5, 7.125, 4.625], "texture": "#1"} + } + } + ], + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + { + "name": "pipe", + "origin": [4, 14, 4], + "color": 0, + "children": [2, 3, 4, 5, 6] + }, + { + "name": "ribby bois", + "origin": [3, 4, 2], + "color": 0, + "children": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_micro_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_micro_floor.json new file mode 100644 index 0000000..f0ea6ac --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_micro_floor.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "2": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [7, 4, 7], + "to": [9, 16, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [12.875, 12.375, 13.125, 13.875], "texture": "#2"}, + "east": {"uv": [12.875, 10.375, 13.125, 11.875], "texture": "#2"}, + "south": {"uv": [12.875, 10.375, 13.125, 11.875], "texture": "#2"}, + "west": {"uv": [12.875, 10.375, 13.125, 11.875], "texture": "#2"}, + "up": {"uv": [12.875, 6.875, 13.125, 7.125], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + } + }, + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_small_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_small_floor.json new file mode 100644 index 0000000..bda5989 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_small_floor.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "2": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [5, 4, 5], + "to": [11, 16, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [8.625, 12.375, 9.375, 13.875], "texture": "#2"}, + "east": {"uv": [8.625, 10.375, 9.375, 11.875], "texture": "#2"}, + "south": {"uv": [8.625, 10.375, 9.375, 11.875], "texture": "#2"}, + "west": {"uv": [8.625, 10.375, 9.375, 11.875], "texture": "#2"}, + "up": {"uv": [8.625, 6.625, 9.375, 7.375], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + } + }, + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_tiny_floor.json b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_tiny_floor.json new file mode 100644 index 0000000..bf3e552 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/models/block/voicebox/voicebox_tiny_floor.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.21.6", + "credit": "Made with Blockbench", + "textures": { + "0": "sound_of_flesh:block/flesh_base", + "2": "sound_of_flesh:block/voicebox", + "particle": "sound_of_flesh:block/flesh_base" + }, + "elements": [ + { + "name": "blegh (top bit)", + "from": [1, 3, 1], + "to": [15, 4, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 3, 0]}, + "faces": { + "north": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "east": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "south": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "west": {"uv": [9, 6, 15, 6.5], "texture": "#0"}, + "up": {"uv": [1, 9, 7, 15], "texture": "#0"} + } + }, + { + "name": "fleshy_boney_bottom_bit", + "from": [0, 0, 0], + "to": [16, 3, 16], + "faces": { + "north": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "east": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "south": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "west": {"uv": [8.5, 6.5, 15.5, 8], "texture": "#0"}, + "up": {"uv": [0.5, 8.5, 7.5, 15.5], "texture": "#0"}, + "down": {"uv": [8.5, 8.5, 15.5, 15.5], "texture": "#0"} + } + }, + { + "from": [6, 4, 6], + "to": [10, 16, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 4, 4]}, + "faces": { + "north": {"uv": [10.75, 12.375, 11.25, 13.875], "texture": "#2"}, + "east": {"uv": [10.75, 10.375, 11.25, 11.875], "texture": "#2"}, + "south": {"uv": [10.75, 10.375, 11.25, 11.875], "texture": "#2"}, + "west": {"uv": [10.75, 10.375, 11.25, 11.875], "texture": "#2"}, + "up": {"uv": [10.75, 6.75, 11.25, 7.25], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + } + }, + "groups": [ + { + "name": "base", + "origin": [0, 3, 0], + "color": 0, + "children": [0, 1] + }, + 2 + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/sound.json b/src/main/resources/assets/sound_of_flesh/sound.json new file mode 100644 index 0000000..4800d60 --- /dev/null +++ b/src/main/resources/assets/sound_of_flesh/sound.json @@ -0,0 +1,65 @@ +{ + "voicebox_superduperhigh": { + "subtitles": "sounds.sound_of_flesh.voicebox_superduperhigh", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_superduperhigh", + "attenuation_distance": 64 + } + ] + }, + "voicebox_superhigh": { + "subtitles": "sounds.sound_of_flesh.voicebox_superhigh", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_superhigh", + "attenuation_distance": 64 + } + ] + }, + "voicebox_high": { + "subtitles": "sounds.sound_of_flesh.voicebox_high", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_high", + "attenuation_distance": 64 + } + ] + }, + "voicebox_medium": { + "subtitles": "sounds.sound_of_flesh.voicebox_medium", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_medium", + "attenuation_distance": 64 + } + ] + }, + "voicebox_low": { + "subtitles": "sounds.sound_of_flesh.voicebox_low", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_low", + "attenuation_distance": 64 + } + ] + }, + "voicebox_deep": { + "subtitles": "sounds.sound_of_flesh.voicebox_deep", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_deep", + "attenuation_distance": 64 + } + ] + }, + "voicebox_superdeep": { + "subtitles": "sounds.sound_of_flesh.voicebox_superdeep", + "sounds": [ + { + "name": "sound_of_flesh:voicebox_superdeep", + "attenuation_distance": 64 + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sound_of_flesh/textures/block/flesh_base.png b/src/main/resources/assets/sound_of_flesh/textures/block/flesh_base.png new file mode 100644 index 0000000..67ab327 Binary files /dev/null and b/src/main/resources/assets/sound_of_flesh/textures/block/flesh_base.png differ diff --git a/src/main/resources/assets/sound_of_flesh/textures/block/voicebox.png b/src/main/resources/assets/sound_of_flesh/textures/block/voicebox.png index e69de29..5dc89c0 100644 Binary files a/src/main/resources/assets/sound_of_flesh/textures/block/voicebox.png and b/src/main/resources/assets/sound_of_flesh/textures/block/voicebox.png differ diff --git a/src/main/resources/assets/sound_of_flesh/textures/block/voicebox_extension.png b/src/main/resources/assets/sound_of_flesh/textures/block/voicebox_extension.png deleted file mode 100644 index e69de29..0000000