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.
- * 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
- * are overrides of the base class ArgonianModelModElements.ModElement.
- * You can register new events in this class too.
- * As this class is loaded into mod element list, it NEEDS to extend
- * ModElement class. If you remove this extend statement or remove the
- *
- * If you want to make a plain independent class, create it in
- *
- * If you change workspace package, modid or prefix, you will need
- * to manually adapt this file to these changes or remake it.
- packagenet.mcreator.argonianmodel;
- importnet.minecraftforge.fml.event.server.FMLServerStartingEvent;
- importnet.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
- importcom.mojang.blaze3d.matrix.MatrixStack;
- importnet.minecraft.client.renderer.entity.model.AgeableModel;
- importnet.minecraft.client.renderer.model.ModelRenderer;
- importcom.mojang.blaze3d.matrix.MatrixStack;
- importnet.minecraft.client.entity.player.AbstractClientPlayerEntity;
- importnet.minecraft.client.renderer.IRenderTypeBuffer;
- importnet.minecraft.client.renderer.ItemRenderer;
- importnet.minecraft.client.renderer.entity.IEntityRenderer;
- importnet.minecraft.client.renderer.entity.layers.LayerRenderer;
- importnet.minecraft.client.renderer.entity.model.EntityModel;
- importnet.minecraft.client.renderer.texture.OverlayTexture;
- importnet.minecraft.entity.player.PlayerEntity;
- importnet.minecraftforge.common.MinecraftForge;
- importnet.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
- importnet.minecraftforge.eventbus.api.SubscribeEvent;
- importnet.minecraft.client.renderer.entity.model.PlayerModel;
- importnet.minecraftforge.fml.common.ObfuscationReflectionHelper;
- importjava.util.Map;
- importnet.minecraftforge.fml.common.Mod;
- importnet.minecraftforge.api.distmarker.Dist;
- @Mod.EventBusSubscriber(modid ='argonian_model', bus = Mod.EventBusSubscriber.Bus.MOD)
- publicclass Argonian extends ArgonianModelModElements.ModElement{
- * Do not remove this constructor
- public Argonian(ArgonianModelModElements instance){
- }
- @Override
- }
- @OnlyIn(Dist.CLIENT)
- publicvoid clientLoad(FMLClientSetupEvent event)
- Map<String, PlayerRenderer> playerSkinMap = Minecraft.getInstance().getRenderManager().getSkinMap();
- Argonian.addPlayerLayers(playerSkinMap.get('default'));
- Argonian.addPlayerLayers(playerSkinMap.get('slim'));
- publicvoid init(FMLCommonSetupEvent event){
- publicvoid serverLoad(FMLServerStartingEvent event){
- publicstaticvoid addPlayerLayers(PlayerRenderer renderer)
- List<LayerRenderer<AbstractClientPlayerEntity, PlayerModel<AbstractClientPlayerEntity>>> layers = ObfuscationReflectionHelper.getPrivateValue(LivingRenderer.class, renderer, 'field_177097_h');
- {
- }
- publicstaticclass player<T extends LivingEntity>extends AgeableModel<T>{
- privatefinal ModelRenderer snout;
- textureWidth =64;
- snout.setRotationPoint(0.0F, 0.0F, 0.0F);
- snout.setTextureOffset(24, 2).addBox(-3.0F, -4.0F, -7.0F, 6.0F, 3.0F, 3.0F, 0.0F, false);
- snout.setTextureOffset(0, 5).addBox(-1.0F, -5.0F, -6.0F, 2.0F, 1.0F, 2.0F, 0.0F, false);
- tail =new ModelRenderer(this);
- setRotationAngle(tail, -45.0F, 0.0F, 0.0F);
- tail.setTextureOffset(56, 21).addBox(-1.0F, 7.0F, -7.0F, 2.0F, 9.0F, 2.0F, 0.0F, false);
- publicvoid setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){
- this.snout.rotateAngleY= netHeadYaw *((float)Math.PI/ 180F);
- this.tail.rotateAngleX= 0.7854F;//MathHelper.cos(limbSwing * 9.6662F + (float)Math.PI) * 2.0F * limbSwingAmount * 2.5F
- this.snout.rotateAngleX= headPitch *((float)Math.PI/ 180F);
- if(entityIn.isCrouching()){
- this.tail.rotateAngleX= 1.2854F;
- }else{
- this.tail.rotateAngleX= 0.7854F;
- }
- }
- @Override
- return ImmutableList.of(this.snout);
- protected Iterable<ModelRenderer> getBodyParts(){
- }
- publicvoid setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z){
- modelRenderer.rotateAngleY= y;
- }
- publicstaticclass playerlayer<T extends LivingEntity, M extends EntityModel<T>>extends LayerRenderer<T, M>{
- privatestatic ResourceLocation resource =new ResourceLocation('argonian_model', 'textures/steve.png');
- public playerlayer(IEntityRenderer<T, M> entityRendererIn){
- }
- @Override
- publicvoid render(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn, T entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch){
- if(entitylivingbaseIn instanceof AbstractClientPlayerEntity){
- this.getEntityModel().copyModelAttributesTo(this.model);
- this.model.setRotationAngles(entitylivingbaseIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch);
- IVertexBuilder ivertexbuilder = ItemRenderer.getBuffer(bufferIn, this.model.getRenderType(((AbstractClientPlayerEntity) entitylivingbaseIn).getLocationSkin()), false, false);
- this.model.render(matrixStackIn, ivertexbuilder, packedLightIn, OverlayTexture.NO_OVERLAY, 1.0F, 1.0F, 1.0F, 1.0F);
- }
- }
- }
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.
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!
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