Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About <Gl33p_0r4nge>

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi I have one problem I dont know why but for some reason I cant change blockstate. Here is the LeadCoating.java: package me.gleep.oreganized.blocks; import me.gleep.oreganized.util.RegistryHandler; import net.minecraft.block.*; import net.minecraft.block.material.Material; import net.minecraft.entity.LivingEntity; import net.minecraft.item.ItemStack; import net.minecraft.state.BooleanProperty; import net.minecraft.state.IntegerProperty; import net.minecraft.state.StateContainer; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IWorld; import net.minecraft.world.
  2. yes thanks now it works. But I have another problem it spawns but its not animated. it always spawns the first particle in the list EDIT: nevermind I solved it i just had to do it manualy in the tick. again thanks for help
  3. Hi I have a little problem. Im trying to replace potion particles with my custom. So I looked on how to do this. I have the Particle class: package me.gleep.oreganized.particles; import net.minecraft.client.particle.*; import net.minecraft.client.world.ClientWorld; import net.minecraft.particles.BasicParticleType; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.Random; public class DawnShineParticle extends SpriteTexturedParticle { private static final Random RANDOM = new Random(); private final IAnimatedSprite spr
  4. Yes thanks it works now: BTW in console I got this: [09:44:59] [Render thread/ERROR] [minecraft/Util]: No data fixer registered for shrapnel_tnt is it something I should worry about?
  5. So I have the following: ShrapnelTNTEntity: package me.gleep.oreganized.entities; import me.gleep.oreganized.util.RegistryHandler; import net.minecraft.entity.*; import net.minecraft.nbt.CompoundNBT; import net.minecraft.network.IPacket; import net.minecraft.network.datasync.DataParameter; import net.minecraft.network.datasync.DataSerializers; import net.minecraft.network.datasync.EntityDataManager; import net.minecraft.network.play.server.SSpawnObjectPacket; import net.minecraft.particles.ParticleTypes; import net.minecraft.world.Explosion; import net.minecraft.world.World; i
  6. Okay I see that no one probably know how but can you at least tell me where should I get the rendered player view?
  7. I have no idea how to do some screen rendering nor did something like this before. But I want to make something like nausea effect but little bit more than just portal effect. I want to do something that will get the actuall player view and make it flipped and mirror it and blend it with the players view so it will look something like this: And yes I want it to shake. plus I would like to render the particles like every effect should render. Thanks for any help
  8. Okay I know that what I did is horible but I look at it and rework it so now Im using the ObfuscationReflectionHelper and it works fine. But for the static final, I need to call it only once each time enitity spawns (or the world loads) so I think its not neccessary.
  9. OMG it works but not completly. It will probably be something with my code bcs I have never used predicates or reflections but I somehow managed to make it work (and Im proud of it 😆). So now I have problem with that when it is not "angry" on me and I have the armor its okay he don't even notice me but while he is targeting me and I equip the armor he is still following me and is trying to hit me. Here is the code: @SubscribeEvent public static void onEntityJoin(EntityJoinWorldEvent event){ if (event.getEntity().isLiving()) { LivingEntity living = (Livin
  10. Hi maybe Im super dumb but I just cant find where to change/cancel what entity should be the mob attacking (I mean the thing when for example zombie follows you and attacks you) can someone tell me where can I find this and how to change the value to null or cancel the tracking? I just want to make mob neutral when Im wearing my custom mod armor. Thanks for any help.
  11. Nice now it is working that when I right click it changes to my cauldron and when I get the item out again by right clicking with bare hand it pops out and changing back to the vanilla cauldron. And my question is how can I check for source of fire under the cauldron (I maybe have idea just when event is fired on block (campfire) is placed) and how to change the content of the cauldron after some ticks (I have never worked with ticks and other related stuff)?
  12. Like if I put in lead block (which is from my mod) then put campfire/some source of fire under it, it melts. Like water it will have 3 "levels" that means that it will change texture from basic block to melted stage and to completly melted then the player could get it from the cauldron with bucket recieving lead bucket which I haven't created yet and tbh maybe you right about it not overriding the cauldron because with this I override the water colors which is controlled somwhere else as I guess.
  13. But I need interaction so I think It's better for me to create new Cauldron
  14. I looked in the forum and yeah it looks like forge really dont like overriding vanilla items/blocks with custom block states so I need to create my cauldron anyway: [10:22:41] [Render thread/ERROR] [ne.mi.re.GameData/REGISTRIES]: Registry replacements for vanilla block 'minecraft:cauldron' must not change the number or order of blockstates. Old: level={0,1,2,3} New: content={0,1,2};level={0,1,2,3} but still happy that I made it like this so it could actually work. Maybe in 1.17 there will be more support to adding custom fluids to cauldron as they add lava and other to cauldron
  15. ohhh, allright now I understatnd thats Registry: package me.gleep.oreexpansion.util; import me.gleep.oreexpansion.OreExpansion; import me.gleep.oreexpansion.armors.STAMaterial; import me.gleep.oreexpansion.armors.ArmorBase; import me.gleep.oreexpansion.blocks.*; import me.gleep.oreexpansion.blocks.tileentities.SilverBlockTileEntity; import me.gleep.oreexpansion.items.ItemBase; import me.gleep.oreexpansion.tools.STSMaterial; import me.gleep.oreexpansion.tools.STSBase; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.inventory.Equi
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.