rename to "Enhanced Explosives"
This commit is contained in:
88 files changed
+212
-218
No files matched your search
+2
-2
@@ -32,9 +32,9 @@ mapping_channel=parchment
|
||||
mapping_version=1.20.1
|
||||
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
|
||||
# Must match the String constant located in the main mod class annotated with @Mod.
|
||||
mod_id=compressedtnt
|
||||
mod_id=enhancedexplosives
|
||||
# The human-readable display name for the mod.
|
||||
mod_name=Compressed TNT
|
||||
mod_name=Enhanced Explosives
|
||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=All Rights Reserved
|
||||
# The mod version. See https://semver.org/
|
||||
|
||||
+1
-1
@@ -13,4 +13,4 @@ plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||
}
|
||||
|
||||
rootProject.name = 'compressedtnt'
|
||||
rootProject.name = 'enhancedexplosives'
|
||||
+8
-8
@@ -1,8 +1,8 @@
|
||||
package com.jenny.compressedtnt;
|
||||
package com.jenny.enhancedexplosives;
|
||||
|
||||
import com.jenny.compressedtnt.blocks.blocks;
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import com.jenny.enhancedexplosives.blocks.blocks;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
import com.mojang.logging.LogUtils;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
@@ -16,15 +16,15 @@ import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
// The value here should match an entry in the META-INF/mods.toml file
|
||||
@Mod(Compressedtnt.MODID)
|
||||
public class Compressedtnt {
|
||||
@Mod(EnhancedExplosives.MODID)
|
||||
public class EnhancedExplosives {
|
||||
|
||||
// Define mod id in a common place for everything to reference
|
||||
public static final String MODID = "compressedtnt";
|
||||
public static final String MODID = "enhancedexplosives";
|
||||
// Directly reference a slf4j logger
|
||||
private static final Logger LOGGER = LogUtils.getLogger();
|
||||
|
||||
public Compressedtnt() {
|
||||
public EnhancedExplosives() {
|
||||
IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
|
||||
|
||||
modEventBus.addListener(this::commonSetup);
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.ClusterPrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.ClusterPrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.blackHolePrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.blackHolePrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.items.BlockItemTooltip;
|
||||
import com.jenny.enhancedexplosives.items.BlockItemTooltip;
|
||||
|
||||
import net.minecraft.world.item.BlockItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
@@ -12,7 +11,7 @@ import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class blocks {
|
||||
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, MODID);
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.claymorePrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.claymorePrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.homingPrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.homingPrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.selectivePrimedTNT;
|
||||
import com.jenny.compressedtnt.entities.tnt.StrongerPrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.selectivePrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.blocks;
|
||||
package com.jenny.enhancedexplosives.blocks;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.StrongerPrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.StrongerPrimedTNT;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
+6
-6
@@ -1,7 +1,7 @@
|
||||
package com.jenny.compressedtnt;
|
||||
package com.jenny.enhancedexplosives;
|
||||
|
||||
import com.jenny.compressedtnt.blocks.blocks;
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import com.jenny.enhancedexplosives.blocks.blocks;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
|
||||
import net.minecraft.core.registries.Registries;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -11,11 +11,11 @@ import net.minecraftforge.eventbus.api.IEventBus;
|
||||
import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class creativeTab {
|
||||
public static final DeferredRegister<CreativeModeTab> CREATIVE_MODE_TABS = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, MODID);
|
||||
public static final RegistryObject<CreativeModeTab> CREATIVE_TAB = CREATIVE_MODE_TABS.register("compressedtnt", () -> CreativeModeTab.builder().withTabsBefore(CreativeModeTabs.COMBAT).icon(() -> blocks.TNT_8_ITEM.get().getDefaultInstance()).displayItems((parameters, output) -> {
|
||||
public static final RegistryObject<CreativeModeTab> CREATIVE_TAB = CREATIVE_MODE_TABS.register("enhancedexplosives", () -> CreativeModeTab.builder().withTabsBefore(CreativeModeTabs.COMBAT).icon(() -> blocks.TNT_8_ITEM.get().getDefaultInstance()).displayItems((parameters, output) -> {
|
||||
output.accept(blocks.TNT_8.get());
|
||||
output.accept(blocks.TNT_16.get());
|
||||
output.accept(blocks.TNT_32.get());
|
||||
@@ -32,7 +32,7 @@ public class creativeTab {
|
||||
output.accept(items.CONCUSSIVE_ARROW.get());
|
||||
output.accept(items.CARPET_ARROW.get());
|
||||
output.accept(items.DYNAMITE.get());
|
||||
}).title(Component.literal("Compressed TNT")).build());
|
||||
}).title(Component.literal("Enhanced Explosives")).build());
|
||||
|
||||
public static void register(IEventBus bus) {
|
||||
CREATIVE_MODE_TABS.register(bus);
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.datagen;
|
||||
package com.jenny.enhancedexplosives.datagen;
|
||||
|
||||
import net.minecraft.core.HolderLookup;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
@@ -10,7 +10,7 @@ import net.minecraftforge.fml.common.Mod;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
@Mod.EventBusSubscriber(modid = MODID, bus = Mod.EventBusSubscriber.Bus.MOD)
|
||||
public class DataGenerators {
|
||||
+3
-4
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.datagen;
|
||||
package com.jenny.enhancedexplosives.datagen;
|
||||
|
||||
import com.jenny.compressedtnt.blocks.blocks;
|
||||
import com.jenny.enhancedexplosives.blocks.blocks;
|
||||
|
||||
import net.minecraft.data.PackOutput;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
@@ -11,9 +11,8 @@ import net.minecraftforge.common.data.ExistingFileHelper;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
import net.minecraftforge.client.model.generators.ModelFile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class ModBlockStateProvider extends BlockStateProvider {
|
||||
public ModBlockStateProvider(PackOutput output, ExistingFileHelper exFileHelper) {
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.datagen;
|
||||
package com.jenny.enhancedexplosives.datagen;
|
||||
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
|
||||
import net.minecraft.data.PackOutput;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
@@ -10,7 +10,7 @@ import net.minecraftforge.client.model.generators.ItemModelProvider;
|
||||
import net.minecraftforge.common.data.ExistingFileHelper;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class ModItemModelProvider extends ItemModelProvider {
|
||||
public ModItemModelProvider(PackOutput output, ExistingFileHelper existingFileHelper) {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.entities.arrows;
|
||||
package com.jenny.enhancedexplosives.entities.arrows;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.jenny.compressedtnt.entities.arrows;
|
||||
package com.jenny.enhancedexplosives.entities.arrows;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.util.RandomSource;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
+3
-6
@@ -1,10 +1,7 @@
|
||||
package com.jenny.compressedtnt.entities.arrows;
|
||||
package com.jenny.enhancedexplosives.entities.arrows;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import net.minecraft.client.particle.Particle;
|
||||
import net.minecraft.core.particles.ParticleOptions;
|
||||
import net.minecraft.core.particles.ParticleType;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.jenny.compressedtnt.entities.arrows;
|
||||
package com.jenny.enhancedexplosives.entities.arrows;
|
||||
|
||||
import com.jenny.compressedtnt.items.items;
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.items.items;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.jenny.compressedtnt.entities.client;
|
||||
package com.jenny.enhancedexplosives.entities.client;
|
||||
|
||||
import com.jenny.compressedtnt.blocks.blocks;
|
||||
import com.jenny.compressedtnt.entities.tnt.basePrimedTNT;
|
||||
import com.jenny.enhancedexplosives.blocks.blocks;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.basePrimedTNT;
|
||||
import com.mojang.blaze3d.vertex.PoseStack;
|
||||
import com.mojang.math.Axis;
|
||||
import net.minecraft.client.renderer.MultiBufferSource;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.client;
|
||||
package com.jenny.enhancedexplosives.entities.client;
|
||||
|
||||
import com.jenny.compressedtnt.entities.arrows.baseArrow;
|
||||
import com.jenny.enhancedexplosives.entities.arrows.baseArrow;
|
||||
import com.mojang.blaze3d.vertex.PoseStack;
|
||||
import com.mojang.math.Axis;
|
||||
import net.minecraft.client.renderer.MultiBufferSource;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.client;
|
||||
package com.jenny.enhancedexplosives.entities.client;
|
||||
|
||||
import com.jenny.compressedtnt.entities.tnt.basePrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.basePrimedTNT;
|
||||
import com.mojang.blaze3d.vertex.PoseStack;
|
||||
import com.mojang.math.Axis;
|
||||
import net.minecraft.client.renderer.MultiBufferSource;
|
||||
+8
-8
@@ -1,11 +1,11 @@
|
||||
package com.jenny.compressedtnt.entities;
|
||||
package com.jenny.enhancedexplosives.entities;
|
||||
|
||||
import com.jenny.compressedtnt.entities.arrows.*;
|
||||
import com.jenny.compressedtnt.entities.client.BaseTNTRenderer;
|
||||
import com.jenny.compressedtnt.entities.client.TNTArrowRenderer;
|
||||
import com.jenny.compressedtnt.entities.client.clusterTNTRenderer;
|
||||
import com.jenny.compressedtnt.entities.throwable.dynamite;
|
||||
import com.jenny.compressedtnt.entities.tnt.*;
|
||||
import com.jenny.enhancedexplosives.entities.arrows.*;
|
||||
import com.jenny.enhancedexplosives.entities.client.BaseTNTRenderer;
|
||||
import com.jenny.enhancedexplosives.entities.client.TNTArrowRenderer;
|
||||
import com.jenny.enhancedexplosives.entities.client.clusterTNTRenderer;
|
||||
import com.jenny.enhancedexplosives.entities.throwable.dynamite;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.*;
|
||||
|
||||
import net.minecraft.client.renderer.entity.EntityRenderers;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
@@ -15,7 +15,7 @@ import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class entities {
|
||||
public static final DeferredRegister<EntityType<?>> ENTITY_TYPES =
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.jenny.compressedtnt.entities.throwable;
|
||||
package com.jenny.enhancedexplosives.entities.throwable;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.compressedtnt.entities.tnt.basePrimedTNT;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.tnt.basePrimedTNT;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.util.Mth;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.level.Level;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.level.Level;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import net.minecraft.network.syncher.EntityDataAccessor;
|
||||
import net.minecraft.network.syncher.EntityDataSerializers;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import net.minecraft.network.syncher.EntityDataAccessor;
|
||||
import net.minecraft.network.syncher.EntityDataSerializers;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import net.minecraft.network.syncher.EntityDataAccessor;
|
||||
import net.minecraft.network.syncher.EntityDataSerializers;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.entities.tnt;
|
||||
package com.jenny.enhancedexplosives.entities.tnt;
|
||||
|
||||
import com.jenny.compressedtnt.entities.entities;
|
||||
import com.jenny.enhancedexplosives.entities.entities;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public abstract class ArrowAbstract extends ArrowItem {
|
||||
public ArrowAbstract(Item.Properties properties){
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import com.jenny.compressedtnt.entities.arrows.carpetArrow;
|
||||
import com.jenny.enhancedexplosives.entities.arrows.carpetArrow;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.projectile.AbstractArrow;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import com.jenny.compressedtnt.entities.arrows.concussiveArrow;
|
||||
import com.jenny.enhancedexplosives.entities.arrows.concussiveArrow;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.projectile.AbstractArrow;
|
||||
import net.minecraft.world.item.Item;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import com.jenny.compressedtnt.entities.arrows.tntArrow;
|
||||
import com.jenny.enhancedexplosives.entities.arrows.tntArrow;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.projectile.AbstractArrow;
|
||||
import net.minecraft.world.item.Item;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -14,7 +14,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class BlockItemTooltip extends BlockItem {
|
||||
public BlockItemTooltip(Block pBlock, Item.Properties pProperties){
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import com.jenny.compressedtnt.entities.throwable.dynamite;
|
||||
import com.jenny.enhancedexplosives.entities.throwable.dynamite;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.network.chat.MutableComponent;
|
||||
@@ -17,7 +17,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class Dynamite extends Item {
|
||||
public Dynamite(Item.Properties pProperties) {
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.jenny.compressedtnt.items;
|
||||
package com.jenny.enhancedexplosives.items;
|
||||
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraftforge.eventbus.api.IEventBus;
|
||||
@@ -6,7 +6,7 @@ import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
import static com.jenny.compressedtnt.Compressedtnt.MODID;
|
||||
import static com.jenny.enhancedexplosives.EnhancedExplosives.MODID;
|
||||
|
||||
public class items {
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, MODID);
|
||||
@@ -26,7 +26,7 @@ displayName = "${mod_name}" #mandatory
|
||||
# A URL for the "homepage" for this mod, displayed in the mod UI
|
||||
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional
|
||||
# A file name (in the root of the mod JAR) containing a logo for display
|
||||
#logoFile="compressedtnt.png" #optional
|
||||
#logoFile="enhancedexplosives.png" #optional
|
||||
# A text field displayed in the mod UI
|
||||
#credits="Thanks for this example mod goes to Java" #optional
|
||||
# A text field displayed in the mod UI
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"block.compressedtnt.tnt_8": "Compressed TNT",
|
||||
"block.compressedtnt.tnt_16": "Double Compressed TNT",
|
||||
"block.compressedtnt.tnt_32": "Triple Compressed TNT",
|
||||
"block.compressedtnt.tnt_64": "Quadruple Compressed TNT",
|
||||
"block.compressedtnt.tnt_128": "Quintuple Compressed TNT",
|
||||
"block.compressedtnt.tnt_cluster_2": "2× TNT Cluster",
|
||||
"block.compressedtnt.tnt_cluster_4": "4× TNT Cluster",
|
||||
"block.compressedtnt.tnt_cluster_8": "8× TNT Cluster",
|
||||
"block.compressedtnt.tnt_homing": "Homing TNT",
|
||||
"block.compressedtnt.tnt_black_hole": "Black Hole TNT",
|
||||
"block.compressedtnt.tnt_claymore": "Claymore TNT",
|
||||
"block.compressedtnt.tnt_selective": "Selective TNT",
|
||||
|
||||
"item.compressedtnt.arrow_tnt": "TNT Arrow",
|
||||
"item.compressedtnt.arrow_concussive": "Concussive Arrow",
|
||||
"item.compressedtnt.arrow_carpet": "Carpet Bombing Arrow",
|
||||
"item.compressedtnt.dynamite": "Dynamite",
|
||||
|
||||
"tooltip.compressedtnt.tnt_cluster_2": "splits into 2 small TNTs",
|
||||
"tooltip.compressedtnt.tnt_cluster_4": "splits into 4 small TNTs",
|
||||
"tooltip.compressedtnt.tnt_cluster_8": "splits into 8 small TNTs",
|
||||
"tooltip.compressedtnt.tnt_homing": "follows the closest entity",
|
||||
"tooltip.compressedtnt.tnt_black_hole": "pulls all entities towards itself",
|
||||
"tooltip.compressedtnt.tnt_claymore": "throws arrows into all direcctions upon explosion",
|
||||
"tooltip.compressedtnt.tnt_selective": "only destroys the type of block it explodes on",
|
||||
|
||||
"tooltip.compressedtnt.arrow_tnt": "explodes on impact",
|
||||
"tooltip.compressedtnt.arrow_concussive": "explodes on impact without block damage",
|
||||
"tooltip.compressedtnt.arrow_carpet": "splits into multiple TNT arrows when it starts falling",
|
||||
"tooltip.compressedtnt.dynamite": "TNT, but throwable"
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"block.enhancedexplosives.tnt_8": "Compressed TNT",
|
||||
"block.enhancedexplosives.tnt_16": "Double Compressed TNT",
|
||||
"block.enhancedexplosives.tnt_32": "Triple Compressed TNT",
|
||||
"block.enhancedexplosives.tnt_64": "Quadruple Compressed TNT",
|
||||
"block.enhancedexplosives.tnt_128": "Quintuple Compressed TNT",
|
||||
"block.enhancedexplosives.tnt_cluster_2": "2× TNT Cluster",
|
||||
"block.enhancedexplosives.tnt_cluster_4": "4× TNT Cluster",
|
||||
"block.enhancedexplosives.tnt_cluster_8": "8× TNT Cluster",
|
||||
"block.enhancedexplosives.tnt_homing": "Homing TNT",
|
||||
"block.enhancedexplosives.tnt_black_hole": "Black Hole TNT",
|
||||
"block.enhancedexplosives.tnt_claymore": "Claymore TNT",
|
||||
"block.enhancedexplosives.tnt_selective": "Selective TNT",
|
||||
|
||||
"item.enhancedexplosives.arrow_tnt": "TNT Arrow",
|
||||
"item.enhancedexplosives.arrow_concussive": "Concussive Arrow",
|
||||
"item.enhancedexplosives.arrow_carpet": "Carpet Bombing Arrow",
|
||||
"item.enhancedexplosives.dynamite": "Dynamite",
|
||||
|
||||
"tooltip.enhancedexplosives.tnt_cluster_2": "splits into 2 small TNTs",
|
||||
"tooltip.enhancedexplosives.tnt_cluster_4": "splits into 4 small TNTs",
|
||||
"tooltip.enhancedexplosives.tnt_cluster_8": "splits into 8 small TNTs",
|
||||
"tooltip.enhancedexplosives.tnt_homing": "follows the closest entity",
|
||||
"tooltip.enhancedexplosives.tnt_black_hole": "pulls all entities towards itself",
|
||||
"tooltip.enhancedexplosives.tnt_claymore": "throws arrows into all direcctions upon explosion",
|
||||
"tooltip.enhancedexplosives.tnt_selective": "only destroys the type of block it explodes on",
|
||||
|
||||
"tooltip.enhancedexplosives.arrow_tnt": "explodes on impact",
|
||||
"tooltip.enhancedexplosives.arrow_concussive": "explodes on impact without block damage",
|
||||
"tooltip.enhancedexplosives.arrow_carpet": "splits into multiple TNT arrows when it starts falling",
|
||||
"tooltip.enhancedexplosives.dynamite": "TNT, but throwable"
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_4"
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_8"
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_4"
|
||||
},
|
||||
{
|
||||
"item": "compressedtnt:tnt_cluster_4"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_8"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_128"
|
||||
"name": "enhancedexplosives:tnt_128"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_16"
|
||||
"name": "enhancedexplosives:tnt_16"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_32"
|
||||
"name": "enhancedexplosives:tnt_32"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_64"
|
||||
"name": "enhancedexplosives:tnt_64"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_8"
|
||||
"name": "enhancedexplosives:tnt_8"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_black_hole"
|
||||
"name": "enhancedexplosives:tnt_black_hole"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_cluster_2"
|
||||
"name": "enhancedexplosives:tnt_cluster_2"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_cluster_4"
|
||||
"name": "enhancedexplosives:tnt_cluster_4"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_cluster_8"
|
||||
"name": "enhancedexplosives:tnt_cluster_8"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "compressedtnt:tnt_homing"
|
||||
"name": "enhancedexplosives:tnt_homing"
|
||||
}
|
||||
]
|
||||
}
|
||||
+2
-2
@@ -3,13 +3,13 @@
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "compressedtnt:arrow_tnt"
|
||||
"item": "enhancedexplosives:arrow_tnt"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:water_bucket"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:arrow_tnt"
|
||||
"item": "enhancedexplosives:arrow_tnt"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,6 +10,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:arrow_tnt"
|
||||
"item": "enhancedexplosives:arrow_tnt"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -8,10 +8,10 @@
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "compressedtnt:tnt_64"
|
||||
"item": "enhancedexplosives:tnt_64"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_128"
|
||||
"item": "enhancedexplosives:tnt_128"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -8,10 +8,10 @@
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "compressedtnt:tnt_8"
|
||||
"item": "enhancedexplosives:tnt_8"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_16"
|
||||
"item": "enhancedexplosives:tnt_16"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -8,10 +8,10 @@
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "compressedtnt:tnt_16"
|
||||
"item": "enhancedexplosives:tnt_16"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_32"
|
||||
"item": "enhancedexplosives:tnt_32"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -8,10 +8,10 @@
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "compressedtnt:tnt_32"
|
||||
"item": "enhancedexplosives:tnt_32"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_64"
|
||||
"item": "enhancedexplosives:tnt_64"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -12,6 +12,6 @@
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_8"
|
||||
"item": "enhancedexplosives:tnt_8"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,6 +10,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_black_hole"
|
||||
"item": "enhancedexplosives:tnt_black_hole"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -31,6 +31,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_claymore"
|
||||
"item": "enhancedexplosives:tnt_claymore"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,6 +10,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_2"
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -16,6 +16,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_4"
|
||||
"item": "enhancedexplosives:tnt_cluster_4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "enhancedexplosives:tnt_cluster_4"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -28,6 +28,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_cluster_8"
|
||||
"item": "enhancedexplosives:tnt_cluster_8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
},
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_2"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "enhancedexplosives:tnt_cluster_8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "redstone",
|
||||
"ingredients":[
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_4"
|
||||
},
|
||||
{
|
||||
"item": "enhancedexplosives:tnt_cluster_4"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "enhancedexplosives:tnt_cluster_8"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,6 +10,6 @@
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "compressedtnt:tnt_homing"
|
||||
"item": "enhancedexplosives:tnt_homing"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"values": [
|
||||
"compressedtnt:arrow_tnt",
|
||||
"compressedtnt:arrow_concussive",
|
||||
"compressedtnt:arrow_carpet"
|
||||
"enhancedexplosives:arrow_tnt",
|
||||
"enhancedexplosives:arrow_concussive",
|
||||
"enhancedexplosives:arrow_carpet"
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "compressedtnt resources",
|
||||
"description": "enhancedexplosives resources",
|
||||
"pack_format": 15
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user