Mcreator



  1. Mcreator

ENTITY LAYER MCREATOR. Not a member of Pastebin yet? Sign Up, it unlocks many cool features! Raw download clone embed print report /. This mod element is always locked. Enter your code in the methods below. If you don't need some of these methods, you can remove them as they. Download MCreator apk 1.0 for Android. If you've got the time, we've got the meme creator.

Jun 19th, 2020
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. * This mod element is always locked. Enter your code in the methods below.
  2. * If you don't need some of these methods, you can remove them as they
  3. * are overrides of the base class ArgonianModelModElements.ModElement.
  4. * You can register new events in this class too.
  5. * As this class is loaded into mod element list, it NEEDS to extend
  6. * ModElement class. If you remove this extend statement or remove the
  7. *
  8. * If you want to make a plain independent class, create it in
  9. *
  10. * If you change workspace package, modid or prefix, you will need
  11. * to manually adapt this file to these changes or remake it.
  12. packagenet.mcreator.argonianmodel;
  13. importnet.minecraftforge.fml.event.server.FMLServerStartingEvent;
  14. importnet.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
  15. importcom.mojang.blaze3d.matrix.MatrixStack;
  16. importnet.minecraft.client.renderer.entity.model.AgeableModel;
  17. importnet.minecraft.client.renderer.model.ModelRenderer;
  18. importcom.mojang.blaze3d.matrix.MatrixStack;
  19. importnet.minecraft.client.entity.player.AbstractClientPlayerEntity;
  20. importnet.minecraft.client.renderer.IRenderTypeBuffer;
  21. importnet.minecraft.client.renderer.ItemRenderer;
  22. importnet.minecraft.client.renderer.entity.IEntityRenderer;
  23. importnet.minecraft.client.renderer.entity.layers.LayerRenderer;
  24. importnet.minecraft.client.renderer.entity.model.EntityModel;
  25. importnet.minecraft.client.renderer.texture.OverlayTexture;
  26. importnet.minecraft.entity.player.PlayerEntity;
  27. importnet.minecraftforge.common.MinecraftForge;
  28. importnet.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
  29. importnet.minecraftforge.eventbus.api.SubscribeEvent;
  30. importnet.minecraft.client.renderer.entity.model.PlayerModel;
  31. importnet.minecraftforge.fml.common.ObfuscationReflectionHelper;
  32. importjava.util.Map;
  33. importnet.minecraftforge.fml.common.Mod;
  34. importnet.minecraftforge.api.distmarker.Dist;
  35. @Mod.EventBusSubscriber(modid ='argonian_model', bus = Mod.EventBusSubscriber.Bus.MOD)
  36. publicclass Argonian extends ArgonianModelModElements.ModElement{
  37. * Do not remove this constructor
  38. public Argonian(ArgonianModelModElements instance){
  39. }
  40. @Override
  41. }
  42. @OnlyIn(Dist.CLIENT)
  43. publicvoid clientLoad(FMLClientSetupEvent event)
  44. Map<String, PlayerRenderer> playerSkinMap = Minecraft.getInstance().getRenderManager().getSkinMap();
  45. Argonian.addPlayerLayers(playerSkinMap.get('default'));
  46. Argonian.addPlayerLayers(playerSkinMap.get('slim'));
  47. publicvoid init(FMLCommonSetupEvent event){
  48. publicvoid serverLoad(FMLServerStartingEvent event){
  49. publicstaticvoid addPlayerLayers(PlayerRenderer renderer)
  50. List<LayerRenderer<AbstractClientPlayerEntity, PlayerModel<AbstractClientPlayerEntity>>> layers = ObfuscationReflectionHelper.getPrivateValue(LivingRenderer.class, renderer, 'field_177097_h');
  51. {
  52. }
  53. publicstaticclass player<T extends LivingEntity>extends AgeableModel<T>{
  54. privatefinal ModelRenderer snout;
  55. textureWidth =64;
  56. snout.setRotationPoint(0.0F, 0.0F, 0.0F);
  57. snout.setTextureOffset(24, 2).addBox(-3.0F, -4.0F, -7.0F, 6.0F, 3.0F, 3.0F, 0.0F, false);
  58. snout.setTextureOffset(0, 5).addBox(-1.0F, -5.0F, -6.0F, 2.0F, 1.0F, 2.0F, 0.0F, false);
  59. tail =new ModelRenderer(this);
  60. setRotationAngle(tail, -45.0F, 0.0F, 0.0F);
  61. tail.setTextureOffset(56, 21).addBox(-1.0F, 7.0F, -7.0F, 2.0F, 9.0F, 2.0F, 0.0F, false);
  62. publicvoid setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){
  63. this.snout.rotateAngleY= netHeadYaw *((float)Math.PI/ 180F);
  64. this.tail.rotateAngleX= 0.7854F;//MathHelper.cos(limbSwing * 9.6662F + (float)Math.PI) * 2.0F * limbSwingAmount * 2.5F
  65. this.snout.rotateAngleX= headPitch *((float)Math.PI/ 180F);
  66. if(entityIn.isCrouching()){
  67. this.tail.rotateAngleX= 1.2854F;
  68. }else{
  69. this.tail.rotateAngleX= 0.7854F;
  70. }
  71. }
  72. @Override
  73. return ImmutableList.of(this.snout);
  74. protected Iterable<ModelRenderer> getBodyParts(){
  75. }
  76. publicvoid setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z){
  77. modelRenderer.rotateAngleY= y;
  78. }
  79. publicstaticclass playerlayer<T extends LivingEntity, M extends EntityModel<T>>extends LayerRenderer<T, M>{
  80. privatestatic ResourceLocation resource =new ResourceLocation('argonian_model', 'textures/steve.png');
  81. public playerlayer(IEntityRenderer<T, M> entityRendererIn){
  82. }
  83. @Override
  84. publicvoid render(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn, T entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch){
  85. if(entitylivingbaseIn instanceof AbstractClientPlayerEntity){
  86. this.getEntityModel().copyModelAttributesTo(this.model);
  87. this.model.setRotationAngles(entitylivingbaseIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch);
  88. IVertexBuilder ivertexbuilder = ItemRenderer.getBuffer(bufferIn, this.model.getRenderType(((AbstractClientPlayerEntity) entitylivingbaseIn).getLocationSkin()), false, false);
  89. this.model.render(matrixStackIn, ivertexbuilder, packedLightIn, OverlayTexture.NO_OVERLAY, 1.0F, 1.0F, 1.0F, 1.0F);
  90. }
  91. }
  92. }
RAW Paste Data
Pylo – Shareware – AndroidWindows

Overview

MCreator is a Shareware software in the category Miscellaneous developed by Pylo.

It was checked for updates 94 times by the users of our client application UpdateStar during the last month.

Mcreator plug-ins

The latest version of MCreator is currently unknown. It was initially added to our database on 11/07/2016.

MCreator runs on the following operating systems: Android/Windows.

MCreator has not been rated by our users yet.

Write a review for MCreator!

94 users of UpdateStar had MCreator installed last month.
04/25/2021 Dirf 2017 - Declaração do Imposto sobre a Renda Retido na Fonte 1
04/25/2021 Kate's Video Toolkit 8.388
04/25/2021 BackUpTime 1.7.4092
04/25/2021 Disk Redactor 2.1.378
04/25/2021 Kate's Video Joiner (free) 5.388
04/23/2021 Update for Chromium-based browser Vivaldi to 3.7.2218.58
04/23/2021 The best popular free image viewers in 2021
04/20/2021 Thunderbird 78.10.0 update fixes nine vulnerabilities
04/19/2021 Firefox 88 available for download
04/16/2021 Security updates for Chromium-based Brave, Vivaldi and Edge

Mcreator

  • » mcreator download free
  • » telecharger mcreator 2021
  • » mcreator download italiano
  • » m creator
  • » mcreator tiếng việt
  • » mcreator pylo
  • » mcreator downloads
  • » mcreator 中文
  • » mcreator télécharger
  • » mc creater