Everything posted by TheRPGAdventurer
-
[1.12] Player control riding custom entity
Does your entity carry 2 entities or just one.
-
OptiFine development
If I guess correctly, what Optifine does is make minecraft use multiple cores to minimize the lag.
-
Need Help Making A Tamable Mob
Jabelar's tutorial once stated that sometmes he just use these kind of software just to "visualize" his model and always end up coding his model piece by piece.
-
1.12 How do I make the third person zoom farther when riding my custom entity, my dragon is kind of big.
My tameable dragon is kind of big, that's why when I watch it via third person, its kinda "zoomed in" a bit closer, how do I make it zoom out? In older versions the EntityRenderer used a "double field" called EntityRenderer.thirdPersonDistance, since it was protected we used reflection helpers to access it and change it's values. since it was removed we cant access it so now I need alternate methods. ReflectionClass: https://github.com/TheRPGAdventurer/dragonmounts2-1.12/blob/master/src/main/java/com/TheRPGAdventurer/ROTD/util/PrivateFields.java EntityTameableDragon usage: https://github.com/TheRPGAdventurer/dragonmounts2-1.12/blame/master/src/main/java/com/TheRPGAdventurer/ROTD/server/entity/EntityTameableDragon.java try { ReflectionHelper.setPrivateValue(EntityLiving.class, this, new DragonLookHelper(this), PrivateFields.ENTITYLIVING_LOOKHELPER); } catch (Exception ex) { L.warn("Can't override EntityLookHelper", ex); } I onced issued it here:
-
[1.12.2] Giving Status Effects on Spawn
Hmmm, try using world.worldInfo.spawnX, spawnY, spawnZ.
-
I want my mod to use a dependecy in the main class using the forge version I coded it.
@Mod( dependencies = "required-after:llibrary@[" + RealmOfTheDragons.LLIBRARY_VERSION + ",)", modid = RealmOfTheDragons.MODID, name = RealmOfTheDragons.NAME, version = RealmOfTheDragons.VERSION, useMetadata = true, guiFactory = RealmOfTheDragons.GUI_FACTORY ) I want to use two dependencies one for llibrary and one for the forge version I am using. How do I call the forge version I coded my mod? People just keep complaining about their game crashing and it turns out they just didnt update their forge yet.
-
adfoc.us
Since forge uses it to monetize their links? Can I use it too, is it safe? is it a scam?
-
Have a modblock break faster with shears, like wool?
What kind of block is it? You can try to extend your custom block with wool block
-
Crash with keybindings.
Main Class(RealmOfTheDragons.java) @EventHandler public void Initialization(FMLInitializationEvent event) { proxy.Initialization(event); proxy.render(); GameRegistry.registerWorldGenerator(new RealmOfTheDragonsWorldGenerator(), 0); NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); } ServerProxy public void render() {} package com.TheRPGAdventurer.ROTD.client.initialization; import org.lwjgl.input.Keyboard; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ModKeys { public static final String KEY_CATEGORY = "key.categories.gameplay"; public static KeyBinding KEY_BREATH; public static void init() { KEY_BREATH = new KeyBinding("key.dragon.breath", Keyboard.KEY_R, KEY_CATEGORY); ClientRegistry.registerKeyBinding(KEY_BREATH); } } ClientProxy @SideOnly(Side.CLIENT) @Override public void render() {ModKeys.init();} CRASH REPORT: https://pastebin.com/b953r3Ja
-
Spawning Particles on LivingHurtEvent?
Use setdead
-
[1.12.2] Render Texture Overlay on Animated Block
You can check at magma blocks on how they are made, they are animated BTW.
-
How do I decide which color my INSTANT_SPELL Particle is. The default is white how do I turn it brown.
/** if the hitDensity is high enough, manipulate the block (eg set fire to it) * @param world * @param blockPosition the world [x,y,z] of the block * @param currentHitDensity * @return the updated block hit density */ public BreathAffectedBlock affectBlock(World world, Vec3i blockPosition, BreathAffectedBlock currentHitDensity) { checkNotNull(world); checkNotNull(blockPosition); checkNotNull(currentHitDensity); BlockPos blockPos = new BlockPos(blockPosition); IBlockState iBlockState = world.getBlockState(blockPos); Block block = iBlockState.getBlock(); Random rand = new Random(); if (!world.isRemote) { EntityAreaEffectCloud entityareaeffectcloud = new EntityAreaEffectCloud(world, blockPos.getX(), blockPos.getY(), blockPos.getZ()); entityareaeffectcloud.setOwner(this.dragon); entityareaeffectcloud.setParticle(EnumParticleTypes.SPELL_INSTANT); entityareaeffectcloud.setRadius(1.0F); entityareaeffectcloud.setDuration(600); entityareaeffectcloud.setRadiusPerTick((1.0F - entityareaeffectcloud.getRadius()) / (float)entityareaeffectcloud.getDuration()); entityareaeffectcloud.addEffect(new PotionEffect(MobEffects.WITHER, 500, 1)); entityareaeffectcloud.setPosition(blockPos.getX(), blockPos.getY(), blockPos.getZ()); int i = rand.nextInt(10000); if(i < 13) { world.spawnEntity(entityareaeffectcloud); } } return new BreathAffectedBlock(); // reset to zero } My problem is that when Particle INSTANT_SPELL spawns it spawn only the white color the default, I want it to change to brown just like INSTANT_DAMAGE
-
Having trouble with keybindings descriptions
I think you should tell Hypixel to update, the combat might seem bad at first but you should get used to it. In fact it might the issue with players that use autoclick hacks.
-
Please reuse the field EntityRenderer.thirdpersonDistance because we modders use them if we are riding huge entities
thirdpersonDistance is the distance of your camera when in third person, it has a default value of 4.0F, it is private but with reflections we can utilize it. In older versions we used double d3 = (double)(this.thirdPersonDistancePrev + (thirdPersonDistance - this.thirdPersonDistancePrev) * partialTicks); Now we use double d3 = (double)(this.thirdPersonDistancePrev + (4.0F - this.thirdPersonDistancePrev) * partialTicks);
-
1.12, dragon firebreath entity texture wont render help.
So I recently made my dragon be ableto breathfire and I have to fix it's rendering issues cause the texture wont render. FlameBreathFX: https://pastebin.com/z8g57Pw2 RenderFlameBreathFX: https://pastebin.com/rvfhqx6z The trouble is that its supposed to be an entityFX, but it was changed to particle which is no longer an entity, but I need it to be an entity so i based it as a projectile.
-
Minecraft Texture doesnt work
use github.
-
Created a deobfuscator.
This? http://jd.benow.ca/
-
Google Ads for Fake Forge Site
I was fooled by them once when my computer is really laggy
-
[1.12.2] Add effects if full armor is equipped[SOLVED]
Yeah it was used with 1.13 turtle shell helmet. now players dont have "fart" particles when having water breathing when wearing it
-
how do I make a limit on how many times my structure spawn in a world just like how strongholds only spawn 3 of them in the worl
How do I count them? How do I keep track of them?
-
how do I make a limit on how many times my structure spawn in a world just like how strongholds only spawn 3 of them in the worl
public void generateNestAtNether(World world, Random random, int chunkX, int chunkZ) { if (RealmOfTheDragonsConfig.canSpawnNetherNest) { int x = (chunkX * RealmOfTheDragonsConfig.netherNestRarerityInX) + random.nextInt(RealmOfTheDragonsConfig.netherNestRarerityInX); int z = (chunkZ * RealmOfTheDragonsConfig.netherNestRarerityInZ) + random.nextInt(RealmOfTheDragonsConfig.netherNestRarerityInZ); for (int y = 85; y >= 5; y--) { if ((world.getBlockState(new BlockPos(x,y,z)).isBlockNormalCube()) && (world.isAirBlock(new BlockPos(x,y,z)))) { if((random.nextInt() * RealmOfTheDragonsConfig.netherNestRarity) <= 1) { boolean place = true; if(place) { dragonNestNether.generate(world, new BlockPos(x,y,z), random); Utils.getLogger().info("Nether Nest here at: " + new BlockPos(x,y,z)); } } } } } } I would like to limit them because they cause too much lag
-
Crash Report Help
[13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.step Value: net.minecraft.util.SoundEvent@6b00eaae [13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.breathe Value: net.minecraft.util.SoundEvent@480f1b59 [13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.death Value: net.minecraft.util.SoundEvent@2a28bf25 [13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.growl Value: net.minecraft.util.SoundEvent@35a7c477 [13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.nethergrowl Value: net.minecraft.util.SoundEvent@591e1df7 [13:14:01] [main/WARN] [FML]: Registry SoundEvent: Override did not have an associated owner object. Name: rotd:mob.dragon.skeletongrowl Value: net.minecraft.util.SoundEvent@697b105e I think that is the cause of the crash I just cant figure out what the "associate owner object means"
-
Crash Report Help
https://pastebin.com/tpSnKdee
-
I need help with worldrenderer
worldRenderer.startDrawing() is called bufferbuider.begin I think.
-
I need help with worldrenderer
WorldRenderer is called BufferBuilder now.
IPS spam blocked by CleanTalk.