Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/14/20 in all areas

  1. Listen for the BlockBreak event. Cancel it. event.setCanceled(true)
    1 point
  2. Events don't break blocks. The BlockBreakEvent is simply a notification that the block has been broken. You have to remove/break the adjacent blocks yourself (fire the event for each one, if it was cancelled, don't actually remove the block, be sure to avoid recursion!)
    1 point
  3. Hi I have exactly the same problem (in IntelliJ), I haven't spent the time to figure out exactly what the root cause is, but there is a workaround that you don't have to delete the cache for. If you go to Project Structure, Libraries, and select the mapped snapshot, you can manually unlink the older sources which are mapped to the class file. Eg see screenshot (after removing the extra/older source). It's not perfect because when you refresh the gradle task it puts the old ones back in again, but it's not a big hassle. -TGG
    1 point
  4. This has nothing to do with rendering. This is registering your EntityType. Please define "does not work". Nothing renders? A purple elephant in a minecart renders? Show what you have tried specifically where you register a RenderFactory for your entity.
    1 point
  5. In Photoshop and Gimp you can also do a pattern fill, i.e. you specify a pattern (small texture unit) that you want to fill an area with. -TGG
    1 point
  6. If you want to apply it to a model, just set the UV coordinates of each part of your model to point to the same texture coordinates.
    1 point
  7. You draw a few of them by yourself. After that copy/paste is your best friend. In both Gimp and Photoshop you'll simply need to rectangle select what you need and literally press ctrl+c and ctrl+v, then place the result where you want. Remove the excess with the appropriate eraser tool. Should take you a few minutes but surely less than an hour.
    1 point
  8. Currently, you need to create your own Feature implementation that does the same thing as OreFeature but can be configured to replace your desired block. If/when this pull request is merged, all you'll need to do is create a new FillerBlockType that matches the block you want to replace.
    1 point
×
×
  • Create New...

Important Information

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