Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • rcrosbyti

rcrosbyti

Members
 View Profile  See their activity
  • Content Count

    7
  • Joined

    January 12, 2020
  • Last visited

    March 3, 2020

Community Reputation

0 Neutral

About rcrosbyti

  • Rank
    Tree Puncher
  1. rcrosbyti

    1.15.2 Issue with mappings

    rcrosbyti replied to Crazzy4999's topic in Modder Support

    That didn't work for me. What worked for me was installing a more up to date version of eclipse and then redoing the import of the gradle project. Now I can see all of the minecraft source files in eclipse instead of just some of them.
    • March 2, 2020
    • 3 replies
  2. rcrosbyti

    1.15.2 Issue with mappings

    rcrosbyti replied to Crazzy4999's topic in Modder Support

    I'm having the same problem. Lots of minecraft source files are not found in eclipse. For example, net.minecraft.client.Minecraft.class shows the source, but net.minecraft.client.MinecraftGame.class says "source not found". I'm using 1.15.2-31.1.0.
    • March 1, 2020
    • 3 replies
  3. rcrosbyti

    [SOLVED][1.14.4] Projectile entity not being rendered

    rcrosbyti replied to rcrosbyti's topic in Modder Support

    I was not handling the spawn correctly by communicating with the client side. This fixed it for me: https://www.minecraftforge.net/forum/topic/72657-solved-1143-entity-renderer-not-rendering/page/2/
    • January 27, 2020
    • 2 replies
  4. rcrosbyti

    [SOLVED][1.14.4] Projectile entity not being rendered

    rcrosbyti posted a topic in Modder Support

    I am making a custom fireball projectile entity. Everything seems to be working except I don't see the projectile in flight - it is not being rendered. It seems to be following the correct flight path and the explosion occurs at the correct time and place, but I don't see the projectile. @EventBusSubscriber(modid = GearProgression.MOD_ID, bus = EventBusSubscriber.Bus.MOD) public class ClientModEventSubscriber { // Directly reference a log4j logger. private static final Logger LOGGER = LogManager.getLogger(); @SubscribeEvent public static void onFMLClientSetupEvent(final FMLClientSetupEvent event) { RenderingRegistry.registerEntityRenderingHandler(RubyFireballEntity.class, new IRenderFactory<RubyFireballEntity>() { @Override public EntityRenderer<? super RubyFireballEntity> createRenderFor(EntityRendererManager manager) { return new SpriteRenderer<RubyFireballEntity>(manager, Minecraft.getInstance().getItemRenderer()); } }); LOGGER.debug("Registered Renderers"); } } public class GearEntityTypes { public static final DeferredRegister<EntityType<?>> ENTITIES = new DeferredRegister<>(ForgeRegistries.ENTITIES, GearProgression.MOD_ID); public static final RegistryObject<EntityType<RubyFireballEntity>> RUBY_FIREBALL = ENTITIES.register("ruby_fireball", () -> EntityType.Builder.create(RubyFireballEntity::new, EntityClassification.MISC).size(0.6F, 0.6F).build("ruby_fireball")); } public class RubyFireballEntity extends AbstractFireballEntity { public RubyFireballEntity(EntityType<? extends RubyFireballEntity> type, World worldIn) { super(type, worldIn); } public void shoot(LivingEntity shooter, double accelX, double accelY, double accelZ) { this.shootingEntity = shooter; this.setLocationAndAngles(shooter.posX, shooter.posY, shooter.posZ, shooter.rotationYaw, shooter.rotationPitch); this.setPosition(this.posX, this.posY, this.posZ); this.setMotion(Vec3d.ZERO); double d0 = (double)MathHelper.sqrt(accelX * accelX + accelY * accelY + accelZ * accelZ); this.accelerationX = accelX / d0 * 0.1D; this.accelerationY = accelY / d0 * 0.1D; this.accelerationZ = accelZ / d0 * 0.1D; } protected void onImpact(RayTraceResult result) { if (!this.world.isRemote) { if (result.getType() == RayTraceResult.Type.ENTITY) { Entity entity = ((EntityRayTraceResult)result).getEntity(); if (!entity.isImmuneToFire()) { int i = entity.func_223314_ad(); entity.setFire(5); boolean flag = entity.attackEntityFrom(DamageSource.causeFireballDamage(this, this.shootingEntity), 6.0F); if (flag) { this.applyEnchantments(this.shootingEntity, entity); } else { entity.func_223308_g(i); } } } this.world.createExplosion((Entity)null, this.posX, this.posY, this.posZ, 1.0F, false, Explosion.Mode.NONE); this.remove(); } } public boolean canBeCollidedWith() { return false; } public boolean attackEntityFrom(DamageSource source, float amount) { return false; } }
    • January 26, 2020
    • 2 replies
  5. rcrosbyti

    [1.14.4] New recommended release?

    rcrosbyti posted a topic in General Discussion

    Are there any plans to make a new recommended release for 1.14.4? Being able to have a config gui for a mod seems like a pretty basic feature, so having it broken in the recommended release is problematic.
    • January 15, 2020
    • 1 reply
  6. rcrosbyti

    [SOLVED][1.14.4] Not getting ClientTickEvent

    rcrosbyti replied to rcrosbyti's topic in Modder Support

    You are correct. Thank you!
    • January 13, 2020
    • 2 replies
  7. rcrosbyti

    [SOLVED][1.14.4] Not getting ClientTickEvent

    rcrosbyti posted a topic in Modder Support

    I'm not sure what I am doing wrong. I am receiving the FMLClientSetupEvent but not the ClientTickEvent: package com.tinyinsight.examplemod.client; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.event.TickEvent.ClientTickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.tinyinsight.examplemod.ExampleMod; @EventBusSubscriber(modid = ExampleMod.MOD_ID, bus = EventBusSubscriber.Bus.MOD, value = Dist.CLIENT) public class ClientModEventSubscriber { private static final Logger LOGGER = LogManager.getLogger(ExampleMod.MOD_ID + " Client Mod Event Subscriber"); @SubscribeEvent public static void onFMLClientSetupEvent(final FMLClientSetupEvent event) { LOGGER.debug("example client setup event"); } @SubscribeEvent public static void onClientTickEvent(final ClientTickEvent event) { LOGGER.debug("example client tick event"); } }
    • January 12, 2020
    • 2 replies
  • All Activity
  • Home
  • rcrosbyti
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community