Jump to content

WiNeTel

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by WiNeTel

  1. Hello and thanks for your hard work! but i have a problem, i don´t get it to work, OK, bukkitforge work, but when put worldedit or/and essentials in plugins and reload start creating all the files and folders but no more cant use anything! then i look in the log and i see this: 15.01 16:35:40 [server] INFO [bukkitForge] Going to load perms file: permissions.yml 15.01 16:35:40 [server] INFO [Minecraft] Essentials: Using GroupManager based permissions. 15.01 16:35:40 [server] INFO [Minecraft] 1.4.5-R0.2 15.01 16:35:40 [server] INFO [Minecraft] git-BukkitForge-1.4.5-R1.0-b3000 jnks (Really: BukkitForge for MC 1.4.7) 15.01 16:35:40 [server] INFO [Minecraft] Bukkit version format changed. Version not checked. 15.01 16:35:40 [server] INFO [com.earth2me.essentials.Essentials] [Essentials] Enabling Essentials v${build.number} 15.01 16:35:40 [server] INFO [sTDOUT] Fake Permissions version 3.1.6 is enabled! 15.01 16:35:40 [server] INFO [com.nijikokun.bukkit.Permissions.Permissions] [Permissions] Enabling Permissions v3.1.6 15.01 16:35:40 [server] INFO [com.sk89q.worldedit.bukkit.WorldEditPlugin] [WorldEdit] Enabling WorldEdit v5.4.5 15.01 16:35:40 [server] INFO [sTDOUT] GroupManager version ${GMVer} (${build.number}) (Phoenix) is enabled! 15.01 16:35:40 [server] INFO [org.anjocaido.groupmanager.GroupManager] [GroupManager] Enabling GroupManager v${GMVer} (${build.number}) (Phoenix) 15.01 16:35:40 [server] INFO [com.earth2me.essentials.Essentials] [Essentials] Loading Essentials v${build.number} 15.01 16:35:40 [server] INFO [com.nijikokun.bukkit.Permissions.Permissions] [Permissions] Loading Permissions v3.1.6 15.01 16:35:40 [server] INFO [com.sk89q.worldedit.bukkit.WorldEditPlugin] [WorldEdit] Loading WorldEdit v5.4.5 15.01 16:35:40 [server] INFO [org.anjocaido.groupmanager.GroupManager] [GroupManager] Loading GroupManager v${GMVer} (${build.number}) (Phoenix) 15.01 16:35:40 [server] INFO [bukkitForge] Plugins are being loaded... 15.01 16:35:40 [server] INFO [sTDOUT] GroupManager version ${GMVer} (${build.number}) (Phoenix) is disabled! 15.01 16:35:40 [server] INFO [org.anjocaido.groupmanager.GroupManager] [GroupManager] Disabling GroupManager v${GMVer} (${build.number}) (Phoenix) 15.01 16:35:40 [server] INFO [com.sk89q.worldedit.bukkit.WorldEditPlugin] [WorldEdit] Disabling WorldEdit v5.4.5 15.01 16:35:40 [server] INFO [sTDOUT] Fake Permissions version 3.1.6 is disabled! 15.01 16:35:40 [server] INFO [com.nijikokun.bukkit.Permissions.Permissions] [Permissions] Disabling Permissions v3.1.6 15.01 16:35:40 [server] INFO [com.earth2me.essentials.Essentials] [Essentials] Disabling Essentials v${build.number} any idea? what i do wrong? thanks
  2. You make a few mistakes, 1. When you use multiBlocks it use the Metadata to store the 16 diff Blocks, Crops, Stairs & Fences use the Metadata to store the direction, so it will not work. 2. in your Block Class: public MultiFence(int par1, int texture) { super(par1, Material.wood); this.blockIndexInTexture= texture //super(par1, 0, Material.wood); setBlockName("multiFence"); this.setCreativeTab(CreativeTabs.tabDeco); } Then you give the texture ID in the Block declaration. then in : @Override public int getBlockTextureFromSideAndMetadata (int side, int metadata) { return blockIndexInTexture + metadata; } but how i told you multi Blocks never work when the Block use the Metadata The render in the Inventory not work, i think it´s because you render the Fence not a normal Block, you must say him how to render this in the Inventory. i hope this is correct, but think you must use some code like you do with custom Render Blocks
  3. Hello. i have a customBlock all rendering work good, in the tileEntity have 2 parts 1. part get called over "onBlockActivated" depend the Item i use i change a few Variables stored in the tileEntity and depend the Variable changing the Texture, here work all good! 2. part, get called over "updateTick" here start a process that counts the Variables up and down, the packetHandler work, but the textures are not changing, i get the variables in the renderBlock.class with "tile.getVariablex()" how to say him to update the texture ? when change code in the renderBlock.class to get the variable from "blockx.getVariableX()" and the block get it from the TileEntity then the blockrender work and update the textures, but then have the problem that the variableX is private static and all blocks use the same value!
  4. look your code of packetHandler! and let you print out the variables so you can see what happen. System.out.println(" test : " + yourVariable); was fighting with the same Problem! and your other problem with white Block look in the tutorials there is one that explain, how to render the Block in the Inventory!
  5. Thanks for the try, but not help. Found the Error in my old code i use: public boolean tryPlaceIntoWorld(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10) only for seeds work but not more for ItemDamage. must change it to "onItemUse"
  6. after update to forge 4.2.5 build 303, have a small problem, OK changing the ItemsSeeds to the new IPlantable, but now the ItemDamage not work. normaly use this: par1ItemStack.damageItem(1, par2EntityPlayer); There are more changes in 4.2.5?
  7. Again having Problems, now try my first Block that can do something! i have a Block, TileEntity in the TileEntity want to store something like Water so i make a Variable waterLevel ItemStack var10 = par5EntityPlayer.inventory.getCurrentItem(); if (var10.itemID == Item.bucketWater.shiftedIndex) { par5EntityPlayer.inventory.setInventorySlotContents(par5EntityPlayer.inventory.currentItem, new ItemStack(Item.bucketEmpty)); if(waterLevel < 10) { waterLevel = 10; } } The variable waterLevel change the texture of the Block, this work so variable change like i want. But the Item not change to BucketEmpty! and when leave the game and come back the watellevel is again 0; i use NBT tags to store the waterLevel, and i know that i need PacketHandler, but what sending from server to client and from client to server. have look in the Tutorials but not help me alot. Please can someone me explain it! special how update item in the Hand Thanks
  8. Hope someone can explain me this message. Starting my first experiments with GUI, the Gui not open. It´s all from the Gui tutorial in the WIKI hope someone can help me without posting all the code
  9. Thanks will look in it. It´s my problem, too the BlockItems
  10. OK example, i want to make a view stairs all with 1 Block ID, in original the StairBlock store the direction in the Metadata. So the question is now, when all understand correct i have 2 ways to do it: 1. i use the metadata to store the Direction and use the tileEntity only for the different Stairs or 2. rewrite all, don´t use the metadata and store the direction directly in the TileEntity. But what is the best way, thinking in complex of coding and compatibility for fututre changes? think to store in on Block 20 - 30 Blocks
  11. I´am not sure how work in 1.3.2 but in 1.2.5 was a method i found a try 1 time: in modfile was something with public boolean renderWorldBlock(RenderBlocks var1, IBlockAccess var2, int var3, int var4, int var5, Block var6, int var7) { . . . . .getBlockTileEntity . . . var1.overrideBlockTexture = texture; something like this, sorry not remember verry good, it´s month ago, that was playing around with it
  12. The minecraft-server.jar you download seperate and put in the jar folder.
  13. Thanks for the fast answer. OK, then must now only find the differences for render, from 1.2.5 to 1.3.2, because until now my customRenderBlocks not work!
  14. Have look around a lot but not found Info. My mod has alltogether more then 1500 Blocks. the normal Blocks i can use the Metadata to save BlockID´s, but only 16 So how i can use 1 BlockID for more then 1 Block when this blocks needs the Metadata for other informations. I know it´s possible, because Eloraam us it in RP2, have ask a few Persons but nobody can explain me how.
  15. Hope someone can help me. i have a block where i use the renderType6 (Crops). now i want to change the BlockBound to get the texture displayed higher then the Block is. Example when use a normal Block with RederType 0, and i use this: " this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.9375F, 1.0F); " i get the texture displayed near 2 Blocks high, but the Block is Physical 1.0F high. but with Type 6, it´s not working, when look correct in RenderBlocks, there are only the first 3 Variables. Forge have a way to change it or i must make my own renderBlock? When the only way is own renderBlock, where are the changes from 1.2.5 to 1.3.2, because until now don´t found why my other CustomRenderBlock not work? I´am updating my mod from 1.2.5 Hope someone can help
  16. I have already looked into the halfslabs/doubeslabs and that wont really help me, the way those work is, they store metadata to keep track of if it's single/double, etc... And so with those blocks, it's not really two blocks when you put a second one down, it just reads the metadata, makes the block bigger, and changes the texture. Sorry, no dice :-( Sorry my english is not so good, i was thinking in using the idea of the slabs, not the code. you use BlockContainer, so you place a block over your plate, then store which block is placed over your block in your container, and make that your plate looks like the placedBlock, not replace with it. When you give signal to your Block change back to plate Block and let flip the stored block up. Hope you understand my Idea. you can store so many things in the BlockContainer so must be possible. only switch the rendering when it´s your placed plate or with placed Block.
  17. You have look in the block halfSlab/doubleSlab? Just changing a little, to check that place block on top, then store the placed block data, remove it and let change your plate to the block. think must be possible.
  18. Have a small Problem, helping someone Port his mod from ModloaderMP to forge I use the Forgebuild 4.0.0.204 OK i make all the changes, the mod works, but when Start MC with Eclipse i get this Message: [sEVERE] [ForgeModLoader] The mod Slodominator appears to have an invalid method annotation Init. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLInitializationEvent] -it will not be called. Any Idea where to search?
  19. Hello, I have a small problem, that let me get crazy. I have play around with EntityItem, now get a problem when i register the Entity with: "ModLoader.registerEntityID(EntityTest.class, "testing", ModLoader.getUniqueEntityId());" the mod work in SP, but in SMP place the entityItem but i don´t can see it(it´s invisible), but when i register the Entity with forge: "MinecraftForge.registerEntity(EntityTest.class, this, 127, 20, 2, true); I can see the entityItem in SMP, but it don´t save the Data and the entity is gone after reconnect in SP and SMP. i use 95% of the code from EntityPainting the rest is the option to change the Image, with rightclick. any Idea. Thanks WineTel
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.