Jump to content

TheGamerCailo

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by TheGamerCailo

  1. To anyone wondering, this is what I'm looking for. https://www.mediafire.com/file/plj2itx4izbvoaf/fire_trail.particle.json/file It's listed as "particles_add"
  2. Okay, so I'm trying to make a fireball in my mod, out of particles, not the vanilla Minecraft fireball. I was convinced that the program Snowstorm could make this work for me, and it did. It gave it this neatly shaded glowing effect... However, I didn't realize that Snowstorm was for Bedrock edition, so I was told that there's no way to put that in the game. So, if I can't put that directly in the game, I want to still give the particles that glowing/shaded effect, which was referred to as the "Additive" material type for 1.19.6+. It basically gives a glowing darker shade and then as the trail goes on, a lighter shade, which makes it actually look like a fireball. Does anyone know if this is possible? And if so, how would I do so? Which file would I put it in, the particle's .json file or the particle's .java file? Thank you so much in advance!
  3. Now, I have inspected someone else's code for this process, changing things as I see fit so that I'm not just literally copying it over into my workspace. However, this has led to a series of problems. Some of which I have been able to fix, but a lot, I'm not experienced enough to fix. So I'm just going to share one of the errors that I got, and since a lot of the errors are similar to this one, I'm going to hope that the answers I get will give me enough knowledge to fix the others. Basically, the error says that it can't detect a symbol that I believe is there. C:\Users\******.********\anime_showdown_mod\src\main\java\net\animeshowdownmod\block\BlockGravityControl.java:32: error: cannot find symbol import net.minecraft.state.IProperty; ^ symbol: class IProperty location: package net.minecraft.state If you'll notice, it says that it cannot find the symbol of the period in between "state", and "Iproperty". And then there's something with the symbol below, saying "class Iproperty". Not sure what it's telling me. It seems like it should be obvious. I feel like it will be very obvious, something in front of my face, but whenever I try anything, it fails, so I'm coming to the forums. Of course, you'll probably want to see the actual code. Its pretty immense, so I'll just share the actual imports since that seems to be where the error is coming from, and if you need to see anything else, I can show you later. package net.animeshowdownmod.block; import net.minecraft.state.properties.BlockStateProperties; import java.util.TimerTask; import java.util.Timer; import net.minecraft.world.IWorldReader; import net.minecraft.world.IWorld; import net.minecraft.util.Direction; import net.animeshowdownmod.common.GamePlayer; import java.util.Iterator; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.animeshowdownmod.common.PlayerManager; import net.minecraft.entity.player.ServerPlayerEntity; import java.util.Random; import net.minecraft.world.server.ServerWorld; import net.minecraft.util.SoundCategory; import net.minecraft.util.SoundEvents; import net.minecraft.util.ActionResultType; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.Hand; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.util.text.StringTextComponent; import net.minecraft.util.text.ITextComponent; import net.minecraft.state.StateContainer; import net.minecraft.state.IProperty; import net.minecraft.block.BlockState; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.material.MaterialColor; import net.minecraft.state.BooleanProperty; import net.minecraft.block.Block; There's the code, and the actual error is 7 lines up from the bottom, where it says "import net. state.IProperty". I really don't understand, and this is hindering me from being able to develop my mod any further, so if anyone could help, that would be great!
  4. I know 1.16.5 is not fully supported, but I am working on a mod and am too scared to start coding for 1.18 or 19. Besides, I am not good at coding, so I have just been inspecting someone's code and using the parts that I like for it. Regardless, I've made a certain block, with imports and all, and I get this strange error. I don't know what it means. How can I fix it? Do I have to add another import? (Also Do not pay attention to the Mcreator, I'm simply using it as a basis for editing my mods since I do not want to go through the lengthy process of installing Eclipse.) package net.mcreator.animeshowdownmod.block; import net.minecraft.state.properties.BlockStateProperties; import java.util.TimerTask; import java.util.Timer; import net.minecraft.world.IWorldReader; import net.minecraft.world.IWorld; import net.minecraft.util.Direction; import net.mcreator.animeshowdownmod.common.GamePlayer; import java.util.Iterator; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.mcreator.animeshowdownmod.common.PlayerManager; import net.minecraft.entity.player.ServerPlayerEntity; import java.util.Random; import net.minecraft.world.server.ServerWorld; import net.minecraft.util.SoundCategory; import net.minecraft.util.SoundEvents; import net.minecraft.util.ActionResultType; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.Hand; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.util.text.StringTextComponent; import net.minecraft.util.text.ITextComponent; import net.minecraft.state.StateContainer; import net.minecraft.state.IProperty; import net.minecraft.block.BlockState; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.material.MaterialColor; import net.minecraft.state.BooleanProperty; import net.minecraft.block.Block; And here is the error: \animeshowdownmod\block\BlockGravityControl.java:32: error: cannot find symbol import net.minecraft.state.IProperty; ^ symbol: class IProperty location: package net.minecraft.state
  5. You said you never found anything similar to the Nen Aura from Hunter x Hunter? Well, Dragon Block C is a perfect example. They made a literal aura around the player. But, it's for 1.7.10, and I don't know what version you're making for it. The code probably wouldn't work for any other version.
  6. Does anyone remember back in the day, when magic mods were a thing? The magic wands would create this cool lightning that wasn’t 2D or, on the surface level, particle effects. Something like Thaumcraft's lightning, or Lich's 3D Wands lightning. It was as if it was a 3D projectile, but it was animated and coursed like lightning. My uses for it are to summon lightning with the press of a key bind (not from a wand) or to get it to come off of things like an actual particle effect. The problem is, I've peeked at the source code from those mods, but the code is so old that when I try to replicate it, it gives me TONS of errors. That, and I don't know where to put all of the code. Do I put it under a certain code piece? Like in a block? Or where else? If someone could help, that would be great! https://www.curseforge.com/minecraft/texture-packs/lichs-3d-wands
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.