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
  • RobinCirex

RobinCirex

Members
 View Profile  See their activity
  • Content Count

    109
  • Joined

    January 12, 2020
  • Last visited

    Friday at 08:44 AM

Community Reputation

3 Neutral

About RobinCirex

  • Rank
    Creeper Killer

Recent Profile Visitors

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

  1. RobinCirex started following [1.15.2] Commands, [1.16] Make mob break blocks, [1.16] Overwrite player and and 4 others Wednesday at 09:14 PM
  2. RobinCirex

    [1.16] Make mob break blocks

    RobinCirex posted a topic in Modder Support

    Hey, I want to make monsters be able to break blocks that are in the way of their path. How would I detect those blocks? I've looked through all the AIs but didn't really find much. How would you guys recommend me to do it?
    • Wednesday at 09:14 PM
  3. RobinCirex

    [1.16] Overwrite player

    RobinCirex replied to RobinCirex's topic in Modder Support

    Okay, thank you
    • February 28
    • 2 replies
  4. RobinCirex

    [1.16] Overwrite player

    RobinCirex posted a topic in Modder Support

    Hey, I'm trying to make an animated player model using GeckoLib. For that, the player has to implement the interface "IAnimatable". How do I overwrite the player class so I can implement it? This is what I've tried package me.cirex.titans.entity; import com.mojang.authlib.GameProfile; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import software.bernie.geckolib3.core.IAnimatable; import software.bernie.geckolib3.core.manager.AnimationData; import software.bernie.geckolib3.core.manager.AnimationFactory; public class CustomPlayerEntity extends PlayerEntity implements IAnimatable { public CustomPlayerEntity(World p_i241920_1_, BlockPos p_i241920_2_, float p_i241920_3_, GameProfile p_i241920_4_) { super(p_i241920_1_, p_i241920_2_, p_i241920_3_, p_i241920_4_); System.out.println("Player was created"); } @Override public boolean isSpectator() { return false; } @Override public boolean isCreative() { return false; } @Override public void tick() { System.out.println("test"); super.tick(); } @Override public void registerControllers(AnimationData data) { } @Override public AnimationFactory getFactory() { return null; } } package me.cirex.titans.registry; import me.cirex.titans.entity.CustomPlayerEntity; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; public class TitanRegistry { public static final EntityType<?> playerType = EntityType.Builder .<CustomPlayerEntity>create(EntityClassification.MISC).disableSerialization().disableSummoning() .size(0.6F, 1.8F).trackingRange(32).func_233608_b_(2).build("minecraft:player").setRegistryName("minecraft:player"); @SubscribeEvent public void onRegisterEntity(RegistryEvent.Register<EntityType<?>> event) { if(event.getName().getPath().equalsIgnoreCase("player")) { event.setCanceled(true); } event.getRegistry().register(playerType); } }
    • February 27
    • 2 replies
  5. RobinCirex

    [1.16.5] Player transforming into a mob

    RobinCirex posted a topic in Modder Support

    Hey, I want to make a mod where the player transforms into a monster that has special abilities. I have the model, textures and animations (using geckolib) made and I wanted to ask you guys for an opinion: How would I go on about this? I'm thinking of 2 options: Either override the PlayerRenderer and add the special abilities to the player or make the player invisible and kind of make the monster follow him around constantly. What do you guys think?
    • February 21
    • 1 reply
  6. RobinCirex

    [1.16.5] Set custom model resourcelocation for item

    RobinCirex replied to RobinCirex's topic in Modder Support

    So, if I have spawneggs that are all supposed to use the same model, I have to copy it like 20 times?
    • February 16
    • 3 replies
  7. RobinCirex

    [1.16.5] Set custom model resourcelocation for item

    RobinCirex posted a topic in Modder Support

    Hey, I'm trying to assign a custom model. I've looked at the documentary and it says that I have to use ModelLoader.setCustomModelResourceLocation, though that doesn't exist. Can anyone help?
    • February 16
    • 3 replies
  8. RobinCirex

    How to properly texture a 3D Line?

    RobinCirex replied to RobinCirex's topic in Modder Support

    okay thanks
    • November 18, 2020
    • 4 replies
  9. RobinCirex

    How to properly texture a 3D Line?

    RobinCirex replied to RobinCirex's topic in Modder Support

    okay, how would I be doing it then? Just using a rect?
    • November 18, 2020
    • 4 replies
  10. RobinCirex

    How to properly texture a 3D Line?

    RobinCirex posted a topic in Modder Support

    Hey, I want to make a laser and I'm rendering a 3D line. However, I want to add a texture to it but I'm not quite sure how to do it. Can someone tell me what I have to put in the tex method? This is my code public void fillTex(Matrix4f matrix, Matrix4f matrix2) { BufferBuilder bufferbuilder = Tessellator.getInstance().getBuffer(); RenderSystem.enableBlend(); RenderSystem.enableTexture(); RenderSystem.defaultBlendFunc(); GL11.glLineWidth(5); Minecraft.getInstance().getTextureManager().bindTexture(laserTexture); bufferbuilder.begin(2, DefaultVertexFormats.POSITION_TEX); bufferbuilder.pos(matrix, (float) 0, (float) 0, (float) 0).tex(0, 0).endVertex(); bufferbuilder.pos(matrix2, (float) 0, (float) 0, (float) 0).tex(100, 100).endVertex(); bufferbuilder.finishDrawing(); WorldVertexBufferUploader.draw(bufferbuilder); RenderSystem.disableTexture(); RenderSystem.disableBlend(); }
    • November 18, 2020
    • 4 replies
  11. RobinCirex

    [1.15.2] Remove particles

    RobinCirex replied to RobinCirex's topic in Modder Support

    thank you very much
    • October 29, 2020
    • 2 replies
  12. RobinCirex

    [1.15.2] Remove particles

    RobinCirex posted a topic in Modder Support

    Hey, I want to remove the particles that are displayed below a player when running. Does someone have an idea on how to do that?
    • October 28, 2020
    • 2 replies
  13. RobinCirex

    [1.15.2] Commands

    RobinCirex replied to RobinCirex's topic in Modder Support

    Thank you very much
    • October 24, 2020
    • 5 replies
  14. RobinCirex

    [1.15.2] Commands

    RobinCirex replied to RobinCirex's topic in Modder Support

    well, still doesn't work
    • October 24, 2020
    • 5 replies
  15. RobinCirex

    [1.15.2] Commands

    RobinCirex replied to RobinCirex's topic in Modder Support

    oh, that was dumb
    • October 24, 2020
    • 5 replies
  16. RobinCirex

    [1.15.2] Commands

    RobinCirex posted a topic in Modder Support

    Hey, I'm trying to make a command using this code public static void register(CommandDispatcher<CommandSource> dispatcher) { dispatcher.register(Commands.literal("picture").executes(source -> { return command(source.getSource(), source.getSource().asPlayer()); }).then(Commands.argument("link", StringArgumentType.string()).argument("width", IntegerArgumentType.integer()) .argument("height", IntegerArgumentType.integer())).executes(source -> { return command(source.getSource(), source.getSource().asPlayer(), StringArgumentType.getString(source, "controlled"), IntegerArgumentType.getInteger(source, "width"), IntegerArgumentType.getInteger(source, "height")); })); } private static int command(CommandSource source, PlayerEntity player) { return 1; } private static int command(CommandSource source, PlayerEntity player, String controlled, int width, int height) { return 1; } However, everytime I try to use it, I get the error "An unexpected error occurred trying to execute that command" and nothing happens. Can someone tell me what I'm doing wrong?
    • October 23, 2020
    • 5 replies
  • All Activity
  • Home
  • RobinCirex
  • Theme

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