Finally added endtopy blocks and made the raw entropy block have a consistant name
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "acesbs:block/raw_endtropy_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "acesbs:block/stable_endtropy_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "acesbs:block/raw_endtropy_block"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "acesbs:block/stable_endtropy_block"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "acesbs:block/raw_endtropy_block"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "acesbs:block/stable_endtropy_block"
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_raw_endtropy_block": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "acesbs:raw_endtropy_block"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "acesbs:raw_endtropy"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_raw_endtropy_block"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"acesbs:raw_endtropy"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_entropy_block": {
|
||||
"has_raw_entropy_block": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "acesbs:entropy_block"
|
||||
"items": "acesbs:raw_entropy_block"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -21,7 +21,7 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_entropy_block"
|
||||
"has_raw_entropy_block"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_stable_endtropy_block": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "acesbs:stable_endtropy_block"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "acesbs:stable_endtropy"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_stable_endtropy_block"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"acesbs:stable_endtropy"
|
||||
]
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_raw_endtropy": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "acesbs:raw_endtropy"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "acesbs:raw_endtropy_block"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_raw_endtropy"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"acesbs:raw_endtropy_block"
|
||||
]
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "acesbs:entropy_block"
|
||||
"recipe": "acesbs:raw_entropy_block"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"acesbs:entropy_block"
|
||||
"acesbs:raw_entropy_block"
|
||||
]
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_stable_endtropy": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "acesbs:stable_endtropy"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "acesbs:stable_endtropy_block"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_stable_endtropy"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"acesbs:stable_endtropy_block"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"bonus_rolls": 0.0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "acesbs:raw_endtropy_block"
|
||||
}
|
||||
],
|
||||
"rolls": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "acesbs:entropy_block"
|
||||
"name": "acesbs:raw_entropy_block"
|
||||
}
|
||||
],
|
||||
"rolls": 1.0
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"bonus_rolls": 0.0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "acesbs:stable_endtropy_block"
|
||||
}
|
||||
],
|
||||
"rolls": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "building",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "acesbs:raw_endtropy_block"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"count": 9,
|
||||
"id": "acesbs:raw_endtropy"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "acesbs:raw_endtropy"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
"###",
|
||||
"###",
|
||||
"###"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "acesbs:raw_endtropy_block"
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"category": "building",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "acesbs:entropy_block"
|
||||
"item": "acesbs:raw_entropy_block"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
|
||||
+1
-1
@@ -13,6 +13,6 @@
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "acesbs:entropy_block"
|
||||
"id": "acesbs:raw_entropy_block"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "building",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "acesbs:stable_endtropy_block"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"count": 9,
|
||||
"id": "acesbs:stable_endtropy"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "acesbs:stable_endtropy"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
"###",
|
||||
"###",
|
||||
"###"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "acesbs:stable_endtropy_block"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"values": [
|
||||
"acesbs:entropy_block",
|
||||
"acesbs:raw_entropy_block",
|
||||
"acesbs:stable_entropy_block",
|
||||
"acesbs:raw_endtropy_block",
|
||||
"acesbs:stable_endtropy_block",
|
||||
"acesbs:prisma_steel_block",
|
||||
"acesbs:entropy_ore",
|
||||
"acesbs:deepslate_entropy_ore",
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
"acesbs:entropy_ore",
|
||||
"acesbs:deepslate_entropy_ore",
|
||||
"acesbs:endtropy_ore",
|
||||
"acesbs:entropy_block",
|
||||
"acesbs:raw_entropy_block",
|
||||
"acesbs:stable_entropy_block",
|
||||
"acesbs:raw_endtropy_block",
|
||||
"acesbs:stable_endtropy_block",
|
||||
"acesbs:prisma_steel_block",
|
||||
"acesbs:entropic_stabilizer",
|
||||
"acesbs:entropic_eviscerator",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Resources
|
||||
X Infernal Ashes
|
||||
- Raw End-tropy
|
||||
- Stable End-tropy
|
||||
X Raw End-tropy
|
||||
X Stable End-tropy
|
||||
- Mote of Order
|
||||
- Dust of Order
|
||||
- Ingot of Order
|
||||
@@ -140,6 +140,9 @@ Music Disk
|
||||
X Crab Rave
|
||||
X Lizard
|
||||
|
||||
Advancements
|
||||
Statistics
|
||||
|
||||
|
||||
Next Mod
|
||||
Aces Mysteries
|
||||
|
||||
@@ -23,11 +23,24 @@ import static net.minecraft.block.Blocks.createFlowerPotBlock;
|
||||
|
||||
public class ModBlocks {
|
||||
|
||||
public static final Block ENTROPY_BLOCK = registerBlock("entropy_block",
|
||||
new EntropyBlock(AbstractBlock.Settings.create()
|
||||
public static final Block RAW_ENTROPY_BLOCK = registerBlock("raw_entropy_block",
|
||||
new RawEntropyBlock(AbstractBlock.Settings.create()
|
||||
.strength(3f)
|
||||
.requiresTool()
|
||||
.sounds(BlockSoundGroup.AMETHYST_BLOCK)));
|
||||
|
||||
public static final Block STABLE_ENTROPY_BLOCK = registerBlock("stable_entropy_block",
|
||||
new StableEntropyBlock(AbstractBlock.Settings.create()
|
||||
.strength(5f)
|
||||
.luminance(new ToIntFunction<BlockState>() {
|
||||
@Override
|
||||
public int applyAsInt(BlockState value) {
|
||||
return 7;
|
||||
}
|
||||
})
|
||||
.requiresTool()
|
||||
.sounds(BlockSoundGroup.LODESTONE)));
|
||||
|
||||
public static final Block ENTROPY_ORE = registerBlock("entropy_ore",
|
||||
new ExperienceDroppingBlock(UniformIntProvider.create(3, 7),
|
||||
AbstractBlock.Settings.create()
|
||||
@@ -51,6 +64,18 @@ public class ModBlocks {
|
||||
.requiresTool()
|
||||
.strength(3.0F, 9.0F)));
|
||||
|
||||
public static final Block RAW_ENDTROPY_BLOCK = registerBlock("raw_endtropy_block",
|
||||
new RawEndtropyBlock(AbstractBlock.Settings.create()
|
||||
.strength(3f)
|
||||
.requiresTool()
|
||||
.sounds(BlockSoundGroup.AMETHYST_BLOCK)));
|
||||
|
||||
public static final Block STABLE_ENDTROPY_BLOCK = registerBlock("stable_endtropy_block",
|
||||
new StableEndtropyBlock(AbstractBlock.Settings.create()
|
||||
.strength(3f)
|
||||
.requiresTool()
|
||||
.sounds(BlockSoundGroup.AMETHYST_BLOCK)));
|
||||
|
||||
public static final Block INFERNAL_ASHES_ORE = registerBlock("infernal_ashes_ore",
|
||||
new ExperienceDroppingBlock(
|
||||
UniformIntProvider.create(0, 1),
|
||||
@@ -60,18 +85,6 @@ public class ModBlocks {
|
||||
.strength(3.0F, 3.0F)
|
||||
.sounds(BlockSoundGroup.NETHER_GOLD_ORE)));
|
||||
|
||||
public static final Block STABLE_ENTROPY_BLOCK = registerBlock("stable_entropy_block",
|
||||
new StableEntropyBlock(AbstractBlock.Settings.create()
|
||||
.strength(5f)
|
||||
.luminance(new ToIntFunction<BlockState>() {
|
||||
@Override
|
||||
public int applyAsInt(BlockState value) {
|
||||
return 7;
|
||||
}
|
||||
})
|
||||
.requiresTool()
|
||||
.sounds(BlockSoundGroup.LODESTONE)));
|
||||
|
||||
public static final Block ENTROPIC_STABILIZER = registerBlock("entropic_stabilizer",
|
||||
new EntropicStabilizer(
|
||||
AbstractBlock.Settings.create()
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.acethewildfire.acesbs.block.custom;
|
||||
|
||||
import com.acethewildfire.acesbs.AcesBS;
|
||||
import com.acethewildfire.acesbs.effect.ModEffects;
|
||||
import com.acethewildfire.acesbs.util.ModTags;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.ItemEntity;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.tooltip.TooltipType;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.sound.SoundCategory;
|
||||
import net.minecraft.sound.SoundEvents;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class RawEndtropyBlock extends Block {
|
||||
public RawEndtropyBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
Random r = new Random();
|
||||
|
||||
// @Override
|
||||
// protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) {
|
||||
// world.playSound(player, pos, SoundEvents.BLOCK_AMETHYST_BLOCK_CHIME, SoundCategory.BLOCKS, 1f, 1f);
|
||||
// return ActionResult.SUCCESS;
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) {
|
||||
|
||||
if (entity instanceof LivingEntity){
|
||||
((LivingEntity) entity).addStatusEffect(new StatusEffectInstance(
|
||||
StatusEffects.LEVITATION,
|
||||
20 * 5,
|
||||
0
|
||||
));
|
||||
}
|
||||
|
||||
// if (entity instanceof PlayerEntity){
|
||||
// world.playSound(entity, pos, SoundEvents.ENTITY_ENDERMAN_HURT, SoundCategory.BLOCKS, 1f, 0.4f);
|
||||
// }
|
||||
|
||||
|
||||
super.onSteppedOn(world, pos, state, entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) {
|
||||
// Never take fall damage
|
||||
if (entity.bypassesLandingEffects()) {
|
||||
super.onLandedUpon(world, state, pos, entity, 0);
|
||||
} else {
|
||||
entity.handleFallDamage(fallDistance, 0.0F, world.getDamageSources().fall());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) {
|
||||
tooltip.add(Text.translatable("tooltip.acesbs.endtropy_block.tooltip"));
|
||||
super.appendTooltip(stack, context, tooltip, options);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -21,8 +21,8 @@ import net.minecraft.world.World;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class EntropyBlock extends Block {
|
||||
public EntropyBlock(Settings settings) {
|
||||
public class RawEntropyBlock extends Block {
|
||||
public RawEntropyBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.acethewildfire.acesbs.block.custom;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.tooltip.TooltipType;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class StableEndtropyBlock extends Block {
|
||||
public StableEndtropyBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
Random r = new Random();
|
||||
|
||||
// @Override
|
||||
// protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) {
|
||||
// world.playSound(player, pos, SoundEvents.BLOCK_AMETHYST_BLOCK_CHIME, SoundCategory.BLOCKS, 1f, 1f);
|
||||
// return ActionResult.SUCCESS;
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) {
|
||||
|
||||
if (entity instanceof LivingEntity){
|
||||
((LivingEntity) entity).addStatusEffect(new StatusEffectInstance(
|
||||
StatusEffects.LEVITATION,
|
||||
20 * 5,
|
||||
2
|
||||
));
|
||||
}
|
||||
|
||||
// if (entity instanceof PlayerEntity){
|
||||
// world.playSound(entity, pos, SoundEvents.ENTITY_ENDERMAN_HURT, SoundCategory.BLOCKS, 1f, 0.4f);
|
||||
// }
|
||||
|
||||
|
||||
super.onSteppedOn(world, pos, state, entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) {
|
||||
// Never take fall damage
|
||||
if (entity.bypassesLandingEffects()) {
|
||||
super.onLandedUpon(world, state, pos, entity, 0);
|
||||
} else {
|
||||
entity.handleFallDamage(fallDistance, 0.0F, world.getDamageSources().fall());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) {
|
||||
tooltip.add(Text.translatable("tooltip.acesbs.stable_endtropy_block.tooltip"));
|
||||
super.appendTooltip(stack, context, tooltip, options);
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,10 @@ public class ModBlockTagProvider extends FabricTagProvider.BlockTagProvider {
|
||||
@Override
|
||||
protected void configure(RegistryWrapper.WrapperLookup wrapperLookup) {
|
||||
getOrCreateTagBuilder(BlockTags.PICKAXE_MINEABLE)
|
||||
.add(ModBlocks.ENTROPY_BLOCK)
|
||||
.add(ModBlocks.RAW_ENTROPY_BLOCK)
|
||||
.add(ModBlocks.STABLE_ENTROPY_BLOCK)
|
||||
.add(ModBlocks.RAW_ENDTROPY_BLOCK)
|
||||
.add(ModBlocks.STABLE_ENDTROPY_BLOCK)
|
||||
.add(ModBlocks.PRISMA_STEEL_BLOCK)
|
||||
.add(ModBlocks.ENTROPY_ORE)
|
||||
.add(ModBlocks.DEEPSLATE_ENTROPY_ORE)
|
||||
@@ -33,8 +35,10 @@ public class ModBlockTagProvider extends FabricTagProvider.BlockTagProvider {
|
||||
.add(ModBlocks.ENTROPY_ORE)
|
||||
.add(ModBlocks.DEEPSLATE_ENTROPY_ORE)
|
||||
.add(ModBlocks.ENDTROPY_ORE)
|
||||
.add(ModBlocks.ENTROPY_BLOCK)
|
||||
.add(ModBlocks.RAW_ENTROPY_BLOCK)
|
||||
.add(ModBlocks.STABLE_ENTROPY_BLOCK)
|
||||
.add(ModBlocks.RAW_ENDTROPY_BLOCK)
|
||||
.add(ModBlocks.STABLE_ENDTROPY_BLOCK)
|
||||
.add(ModBlocks.PRISMA_STEEL_BLOCK)
|
||||
.add(ModBlocks.ENTROPIC_STABILIZER)
|
||||
.add(ModBlocks.ENTROPIC_EVISCERATOR)
|
||||
|
||||
@@ -51,9 +51,11 @@ public class ModLootTableProvider extends FabricBlockLootTableProvider {
|
||||
|
||||
@Override
|
||||
public void generate() {
|
||||
addDrop(ModBlocks.ENTROPY_BLOCK);
|
||||
addDrop(ModBlocks.RAW_ENTROPY_BLOCK);
|
||||
addDrop(ModBlocks.INFERNAL_ASHES_BLOCK);
|
||||
addDrop(ModBlocks.STABLE_ENTROPY_BLOCK);
|
||||
addDrop(ModBlocks.RAW_ENDTROPY_BLOCK);
|
||||
addDrop(ModBlocks.STABLE_ENDTROPY_BLOCK);
|
||||
addDrop(ModBlocks.PRISMA_STEEL_BLOCK);
|
||||
addDrop(ModBlocks.ENTROPIC_STABILIZER);
|
||||
addDrop(ModBlocks.ENTROPIC_EVISCERATOR);
|
||||
|
||||
@@ -28,6 +28,8 @@ public class ModModelProvider extends FabricModelProvider {
|
||||
// blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.ENTROPY_BLOCK);
|
||||
// Has a complex texture, use the default blockbench method.
|
||||
blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.STABLE_ENTROPY_BLOCK);
|
||||
blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.STABLE_ENDTROPY_BLOCK);
|
||||
blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.RAW_ENDTROPY_BLOCK);
|
||||
blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.PRISMA_STEEL_BLOCK);
|
||||
blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.INFERNAL_ASHES_BLOCK);
|
||||
|
||||
|
||||
@@ -33,8 +33,10 @@ public class ModRecipeProvider extends FabricRecipeProvider {
|
||||
// offerBlasting(recipeExporter, ENTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENTROPY, 0.5f, 2000, "stable_entropy");
|
||||
// offerBlasting(recipeExporter, ENDTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENDTROPY, 0.5f, 2000, "stable_endtropy");
|
||||
|
||||
offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.RAW_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.ENTROPY_BLOCK);
|
||||
offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.RAW_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.RAW_ENTROPY_BLOCK);
|
||||
offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.STABLE_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.STABLE_ENTROPY_BLOCK);
|
||||
offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.RAW_ENDTROPY, RecipeCategory.DECORATIONS, ModBlocks.RAW_ENDTROPY_BLOCK);
|
||||
offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.STABLE_ENDTROPY, RecipeCategory.DECORATIONS, ModBlocks.STABLE_ENDTROPY_BLOCK);
|
||||
// ENDTROPY BLOCKS
|
||||
// offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.RAW_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.ENDTROPY_BLOCK);
|
||||
// offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.STABLE_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.STABLE_ENDTROPY_BLOCK);
|
||||
|
||||
@@ -43,16 +43,18 @@ public class ModItemGroups {
|
||||
|
||||
public static final ItemGroup ACES_BS_BLOCKS =
|
||||
FabricItemGroup.builder()
|
||||
.icon(() -> new ItemStack(ModBlocks.ENTROPY_BLOCK))
|
||||
.icon(() -> new ItemStack(ModBlocks.RAW_ENTROPY_BLOCK))
|
||||
.displayName(Text.translatable("itemgroup.acesbs.1_blocks"))
|
||||
.entries((displayContext, entries) -> {
|
||||
entries.add(ModBlocks.ENTROPY_ORE);
|
||||
entries.add(ModBlocks.DEEPSLATE_ENTROPY_ORE);
|
||||
entries.add(ModBlocks.ENTROPY_BLOCK);
|
||||
entries.add(ModBlocks.RAW_ENTROPY_BLOCK);
|
||||
entries.add(ModBlocks.STABLE_ENTROPY_BLOCK);
|
||||
entries.add(ModBlocks.INFERNAL_ASHES_ORE);
|
||||
entries.add(ModBlocks.INFERNAL_ASHES_BLOCK);
|
||||
entries.add(ModBlocks.ENDTROPY_ORE);
|
||||
entries.add(ModBlocks.RAW_ENDTROPY_BLOCK);
|
||||
entries.add(ModBlocks.STABLE_ENDTROPY_BLOCK);
|
||||
|
||||
entries.add(ModBlocks.PRISMA_STEEL_BLOCK);
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "acesbs:block/entropy_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "acesbs:block/raw_entropy_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,8 @@
|
||||
"trim_material.acesbs.prisma_steel": "Prisma Steel Material",
|
||||
"trim_pattern.acesbs.prisma": "Prisma Armor Pattern",
|
||||
|
||||
"block.acesbs.entropy_block": "Block of Raw Entropy",
|
||||
"block.acesbs.raw_entropy_block": "Block of Raw Entropy",
|
||||
"block.acesbs.raw_endtropy_block": "Block of Raw Endtropy",
|
||||
"block.acesbs.infernal_ashes_block": "Block of Infernal Ashes",
|
||||
"block.acesbs.prisma_steel_block": "Block of Prisma Steel",
|
||||
"block.acesbs.entropy_ore": "Entropic Ore",
|
||||
@@ -107,6 +108,7 @@
|
||||
"block.acesbs.infernal_ashes_ore": "Infernal Ashes Ore",
|
||||
"block.acesbs.endtropy_ore": "Endtropic Ore",
|
||||
"block.acesbs.stable_entropy_block": "Block of Stabilized Entropy",
|
||||
"block.acesbs.stable_endtropy_block": "Block of Stabilized Endtropy",
|
||||
"block.acesbs.entropic_stabilizer": "Entropic Stabilizer",
|
||||
"block.acesbs.entropic_eviscerator": "Entropic Eviscerator",
|
||||
"block.acesbs.entropic_entangler": "Entropic Entangler",
|
||||
@@ -148,6 +150,8 @@
|
||||
|
||||
"tooltip.acesbs.entropy_block.tooltip": "Exerts an §o§4uncertain force§r when stepped on.",
|
||||
"tooltip.acesbs.stable_entropy_block.tooltip": "Exerts an §o§2upward force§r of 4.5 blocks when stepped on.",
|
||||
"tooltip.acesbs.endtropy_block.tooltip": "Inflicts §o§dLevitation§r for 5 seconds when stepped on.",
|
||||
"tooltip.acesbs.stable_endtropy_block.tooltip": "Inflicts §o§dLevitation III§r for 5 seconds when stepped on.",
|
||||
"tooltip.acesbs.green_bricks": "§o§7Useless Item§r",
|
||||
"tooltip.acesbs.entropy_block.tooltip2": "Has a 1/20 chance of turning an apple into a lemon.",
|
||||
"tooltip.acesbs.wand": "Changes blocks using Entropy",
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
"credit": "Made by AceTheWildfire with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"1": "acesbs:block/entropy_block",
|
||||
"particle": "acesbs:block/entropy_block"
|
||||
"1": "acesbs:block/raw_entropy_block",
|
||||
"particle": "acesbs:block/raw_entropy_block"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"parent": "acesbs:block/entropy_block"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "acesbs:block/raw_entropy_block"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 972 B |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 631 B |
Reference in New Issue
Block a user