Compare commits
7 Commits
main
...
suspicious
Author | SHA1 | Date |
---|---|---|
Paula | 816f2bbcd0 | |
Paula | 8d79df62a3 | |
Paula | a072d525a5 | |
Paula | e8fadaa2d5 | |
Paula | 6214c2c6b7 | |
Paula | c8cdce2c06 | |
Paula | 25ff4d1bc4 |
|
@ -0,0 +1,11 @@
|
|||
package modchest.block.custom.gridBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class gridBlock extends Block{
|
||||
|
||||
public gridBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class suspiciousBlock extends Block {
|
||||
//beim rechtsklick mit einer schüssel kriegt man suspicious stew und der block wird kleiner -> siehe useBlockCallback
|
||||
public suspiciousBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusDrei extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusDrei(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusEins extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusEins(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusFuenf extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusFuenf(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusSechs extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusSechs(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusSieben extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusSieben(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusVier extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusVier(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package modchest.block.custom.suspiciousBlocks;
|
||||
|
||||
public class suspiciousBlockMinusZwei extends suspiciousBlock {
|
||||
//siehe suspiciousBlock
|
||||
public suspiciousBlockMinusZwei(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
package modchest.block;
|
||||
|
||||
import modchest.block.custom.steeringWheelBlock;
|
||||
import modchest.block.custom.suspiciousBlocks.suspiciousBlock;
|
||||
import modchest.item.modItemGroup;
|
||||
import modchest.REServerMod;
|
||||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
|
@ -15,12 +16,59 @@ import net.minecraft.util.registry.Registry;
|
|||
//setzt die blöcke auf
|
||||
public class modBlocks {
|
||||
public static Block steering_wheel; // Block wird erstellt
|
||||
public static Block suspicious_block;
|
||||
public static Block suspicious_block_minus_eins;
|
||||
public static Block suspicious_block_minus_zwei;
|
||||
public static Block suspicious_block_minus_drei;
|
||||
public static Block suspicious_block_minus_vier;
|
||||
public static Block suspicious_block_minus_fuenf;
|
||||
public static Block suspicious_block_minus_sechs;
|
||||
public static Block suspicious_block_minus_sieben;
|
||||
|
||||
public static void setBlocks() {// Block wird definiert
|
||||
steering_wheel = registerBlock("steering_wheel",
|
||||
new steeringWheelBlock(FabricBlockSettings.of(Material.WOOD).strength(1.0f).requiresTool()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block = registerBlock("suspicious_block",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_eins = registerBlock("suspicious_block_minus_eins",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_zwei = registerBlock("suspicious_block_minus_zwei",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_drei = registerBlock("suspicious_block_minus_drei",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_vier = registerBlock("suspicious_block_minus_vier",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_fuenf = registerBlock("suspicious_block_minus_fuenf",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_sechs = registerBlock("suspicious_block_minus_sechs",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block_minus_sieben = registerBlock("suspicious_block_minus_sieben",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()
|
||||
.nonOpaque()),
|
||||
modItemGroup.modchest);
|
||||
}
|
||||
|
||||
private static Block registerBlock(String name, Block block, ItemGroup group) { // Nicht verändern! Fügt die oben
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
package modchest.event;
|
||||
|
||||
import modchest.block.custom.suspiciousBlocks.suspiciousBlock;
|
||||
import net.fabricmc.fabric.api.event.player.UseBlockCallback;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.entity.effect.StatusEffect;
|
||||
import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.util.ActionResult;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.minecraft.util.hit.BlockHitResult;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class useBlockCallback implements UseBlockCallback {
|
||||
@Override
|
||||
public ActionResult interact(PlayerEntity player, World world, Hand hand, BlockHitResult hitResult) {
|
||||
BlockPos pos = hitResult.getBlockPos();
|
||||
BlockState state = world.getBlockState(hitResult.getBlockPos());
|
||||
String hitResultString = state.getBlock().toString();
|
||||
StatusEffect[] statusArray = {
|
||||
StatusEffects.ABSORPTION, StatusEffects.BAD_OMEN, StatusEffects.BLINDNESS,
|
||||
StatusEffects.CONDUIT_POWER, StatusEffects.DARKNESS, StatusEffects.DOLPHINS_GRACE,
|
||||
StatusEffects.FIRE_RESISTANCE, StatusEffects.GLOWING, StatusEffects.HASTE, StatusEffects.HEALTH_BOOST,
|
||||
StatusEffects.HERO_OF_THE_VILLAGE, StatusEffects.HUNGER, StatusEffects.INSTANT_DAMAGE,
|
||||
StatusEffects.INSTANT_HEALTH, StatusEffects.INVISIBILITY, StatusEffects.JUMP_BOOST,
|
||||
StatusEffects.LEVITATION, StatusEffects.LUCK, StatusEffects.MINING_FATIGUE, StatusEffects.NAUSEA,
|
||||
StatusEffects.NIGHT_VISION, StatusEffects.POISON, StatusEffects.REGENERATION, StatusEffects.RESISTANCE,
|
||||
StatusEffects.SATURATION, StatusEffects.SLOWNESS, StatusEffects.SLOW_FALLING, StatusEffects.SPEED,
|
||||
StatusEffects.STRENGTH, StatusEffects.UNLUCK, StatusEffects.WATER_BREATHING, StatusEffects.WEAKNESS,
|
||||
StatusEffects.WITHER};
|
||||
|
||||
int randomNumber = (int)(Math.random() * 33);
|
||||
StatusEffectInstance effect = new StatusEffectInstance(statusArray[randomNumber]);
|
||||
//Random random = new Random(statusArray.length);
|
||||
if (player.getMainHandStack().getItem().equals(Items.BOWL)) {
|
||||
if (hitResultString.equals("Block{modchest:suspicious_block}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_eins}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_zwei}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_zwei}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_drei}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_vier}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_fuenf}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_sechs}") ||
|
||||
hitResultString.equals("Block{modchest:suspicious_block_minus_sieben}")) {
|
||||
player.getMainHandStack().decrement(1); // sonst unendlich viel Schüsseln, auch nicht schlecht
|
||||
ItemStack stewStack = Items.SUSPICIOUS_STEW.getDefaultStack();
|
||||
player.giveItemStack(stewStack);
|
||||
//player.addStatusEffect(StatusEffectInstance.class.cast(/*statusArray[randomNumber]*/StatusEffects.ABSORPTION));
|
||||
player.addStatusEffect(effect);
|
||||
world.setBlockState(pos, suspiciousBlock
|
||||
.getStateFromRawId(suspiciousBlock.getRawIdFromState(state) + 1)); // sorgt dafür, dass
|
||||
// der suspicious
|
||||
// Block um eins
|
||||
// kleiner wird wenn
|
||||
// man ihn mit der
|
||||
// Schüssel benutzt
|
||||
return ActionResult.SUCCESS;
|
||||
}
|
||||
}
|
||||
return ActionResult.PASS;
|
||||
}
|
||||
}
|
|
@ -3,10 +3,12 @@ package modchest.util;
|
|||
import modchest.block.entity.modBlockEntities;
|
||||
import modchest.block.modBlocks;
|
||||
import modchest.event.playerAfterRespawnEvent;
|
||||
import modchest.event.useBlockCallback;
|
||||
import modchest.item.modItemGroup;
|
||||
import modchest.item.modItems;
|
||||
import modchest.networking.modNetworkingServer;
|
||||
import net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents;
|
||||
import net.fabricmc.fabric.api.event.player.UseBlockCallback;
|
||||
|
||||
public class initializer {
|
||||
public static void itemGroups() {
|
||||
|
@ -22,6 +24,7 @@ public class initializer {
|
|||
|
||||
public static void events() { //Events, bei denen custom Code ausgefuehrt wird, werden eingefuehrt
|
||||
ServerPlayerEvents.AFTER_RESPAWN.register(new playerAfterRespawnEvent());
|
||||
UseBlockCallback.EVENT.register(new useBlockCallback());
|
||||
}
|
||||
|
||||
public static void networking() { //Identifier unter denen der Server zuhoert werden registriert
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_drei"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_eins"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_fuenf"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_sechs"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_sieben"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_vier"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block_minus_zwei"}
|
||||
}
|
||||
}
|
|
@ -2,6 +2,14 @@
|
|||
"item.modchest.shipblock": "Schiffsblock",
|
||||
"item.modchest.pirates_coin": "OP Piraten ding zum Testen",
|
||||
"block.modchest.steering_wheel": "Lenkrad",
|
||||
"block.modchest.suspicious_block": "verdächtiger Block :)",
|
||||
"block.modchest.suspicious_block_minus_eins": "durchaus verdächtiger Block",
|
||||
"block.modchest.suspicious_block_minus_zwei": "sehr verdächtiger Block ",
|
||||
"block.modchest.suspicious_block_minus_drei": "überaus verdächtiger Block",
|
||||
"block.modchest.suspicious_block_minus_vier": "äußerst verdächtiger Block",
|
||||
"block.modchest.suspicious_block_minus_fuenf": "seeeeeeeehr verdächtiger Block",
|
||||
"block.modchest.suspicious_block_minus_sechs": "unglaublich verdächtiger Block",
|
||||
"block.modchest.suspicious_block_minus_sieben": "unschlagbar verdächtiger Block",
|
||||
"itemGroup.modchest.itemlist1": "Malte's Mod",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Scheint so, als wäre das Bett zerstört worden!",
|
||||
|
|
|
@ -2,6 +2,14 @@
|
|||
"item.modchest.shipblock": "Hanno, änder die Sprache!",
|
||||
"item.modchest.pirates_coin": "Ya coin for tha pirrrrrates!",
|
||||
"block.modchest.steering_wheel": "Ne, du kriegst keine hilfreichen Angaben mit der Sprache!",
|
||||
"block.modchest.suspicious_block": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_eins": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_zwei": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_drei": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_vier": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_fuenf": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_sechs": "somethin' fishy with this block",
|
||||
"block.modchest.suspicious_block_minus_sieben": "somethin' fishy with this block",
|
||||
"itemGroup.modchest.itemlist1": "Änder doch endlich die Sprache...",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Sorry, mate! Looks like that cap'n doesn't like you",
|
||||
|
|
|
@ -2,6 +2,14 @@
|
|||
"item.modchest.shipblock": "Shipblock",
|
||||
"item.modchest.pirates_coin": "Pirate's Coin",
|
||||
"block.modchest.steering_wheel": "Steering Wheel",
|
||||
"block.modchest.suspicious_block": "sus",
|
||||
"block.modchest.suspicious_block_minus_eins": "sus",
|
||||
"block.modchest.suspicious_block_minus_zwei": "sus",
|
||||
"block.modchest.suspicious_block_minus_drei": "sus",
|
||||
"block.modchest.suspicious_block_minus_vier": "sus",
|
||||
"block.modchest.suspicious_block_minus_fuenf": "sus",
|
||||
"block.modchest.suspicious_block_minus_sechs": "ssus",
|
||||
"block.modchest.suspicious_block_minus_sieben": "sus",
|
||||
"itemGroup.modchest.itemlist1": "new blocks",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Oh shit! Looks like that bed got destroyed!",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "modchest:block/suspicious_block_texture"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 10, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 10], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 10], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 10], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 10], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 14, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 14], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 14], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 14], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 14], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 6, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 6], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 6], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 6], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 6], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 4, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 4], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 4], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 4], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 4], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 2, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 2], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 2], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 2], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 2], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 8, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 8], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 8], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 8], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 8], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"0": "modchest:block/suspicious_block_texture",
|
||||
"particle": "modchest:block/suspicious_block_texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 12, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 12], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 16, 12], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 16, 12], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 16, 12], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_drei"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_eins"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_fuenf"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_sechs"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_sieben"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_vier"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block_minus_zwei"
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 377 B |
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"MMM",
|
||||
"M#M",
|
||||
"MMM"
|
||||
],
|
||||
"key": {
|
||||
"M":{
|
||||
"item": "minecraft:honeycomb_block"
|
||||
},
|
||||
"#":{
|
||||
"item": "minecraft:water_bucket"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "modchest:suspicious_block",
|
||||
"count": 8
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue